neco k generovani machine ID
ext:004010B2 Get_Machine_ID proc near ; CODE XREF: start+43p
.text:004010B2 push offset SystemInfo ; lpSystemInfo
.text:004010B7 call GetSystemInfo
.text:004010BC mov eax, 0BAD0BABEh
.text:004010C1 xor ebx, ebx
.text:004010C3 mov ebx, SystemInfo.dwActiveProcessorMask
.text:004010C9 add eax, ebx
.text:004010CB rol eax, 4
.text:004010CE mov ebx, 0DECAFh
.text:004010D3 add eax, ebx
.text:004010D5 rol eax, 4
.text:004010D8 mov ebx, SystemInfo.dwProcessorType
.text:004010DE add eax, ebx
.text:004010E0 rol eax, 4
.text:004010E3 mov bx, SystemInfo.wProcessorLevel
.text:004010EA and ebx, 0FFFFh
.text:004010F0 add eax, ebx
.text:004010F2 rol eax, 4
.text:004010F5 mov bx, SystemInfo.wProcessorRevision
.text:004010FC add eax, ebx
.text:004010FE rol eax, 4
.text:00401101 mov proc_info_n, eax ; v eax cislo ziskane z informaci o procesoru
.text:00401106 push eax
.text:00401107 push offset aU ; "%u"
.text:0040110C push offset machine_id ; LPSTR
.text:00401111 call wsprintfA ; prevedem na integer a dostanem machine code
.text:00401116 add esp, 0Ch
.text:00401119 push 208h ; cchWideChar
.text:0040111E push offset machine_id ; lpMultiByteStr
.text:00401123 push offset machine_id_w ; lpWideCharStr
.text:00401128 call sub_401078 ; prevedem na widechar pro vypsani v HTML
.text:0040112D push offset tab1 ; ".\b"
.text:00401132 call lstrlenA ; delka od tab1
.text:00401137 mov lnght_tab1, eax ; je ... u me 7eh
.text:0040113C mov ecx, eax
.text:0040113E mov eax, proc_info_n
.text:00401143 xor edx, edx
.text:00401145 mov dx, ax
.text:00401148 shr eax, 10h
.text:0040114B xor dx, ax
.text:0040114E and dx, 1FFFh ; timhle budem xorovat od adresy tab1 odelce .. X
.text:00401153 lea eax, tab1 ; ".\b"
.text:00401159 xor ebx, ebx
.text:0040115B jmp short loc_401164
.text:0040115D ; ŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚŚ
.text:0040115D
.text:0040115D loc_40115D: ; CODE XREF: Get_Machine_ID+B4j
.text:0040115D xor [ebx+eax], dx ; xorujem tabulku
.text:00401161 add ebx, 2
.text:00401164
.text:00401164 loc_401164: ; CODE XREF: Get_Machine_ID+A9j
.text:00401164 cmp ebx, ecx
.text:00401166 jb short loc_40115D
.text:00401168 retn
.text:00401168 Get_Machine_ID endp
gdyby neco ptejte se ...