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

Disassembly:
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 0x402f35
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 0x402fdb
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 0x40fd78
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 0x40300b
mov dword [0x410da8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2000
jmp 0x4030c3
lea ecx, [esp + 0x6c]
push 0x40fd5c
push ecx
call esi
add esp, 8
test eax, eax
je 0x403031
mov dword [0x410da8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_XP
jmp 0x4030c3
lea ecx, [esp + 0x6c]
push str.2003
push ecx
call esi
add esp, 8
test eax, eax
je 0x403058
mov dword [0x410da8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2003
jmp 0x4030c3
lea ecx, [esp + 0x6c]
push str.Vista
push ecx
call esi
add esp, 8
test eax, eax
je 0x40307b
mov dword [0x410da8], edi
lea edx, [ebp + 0x60]
mov edi, str.Windows_Vista
jmp 0x4030c3
lea ecx, [esp + 0x6c]
push str.2008
push ecx
call esi
add esp, 8
test eax, eax
je 0x4030a2
mov dword [0x410da8], 1
lea edx, [ebp + 0x60]
mov edi, str.Windows_2008
jmp 0x4030c3
lea ecx, [esp + 0x6c]
push 0x40fd04
push ecx
call esi
add esp, 8
test eax, eax
je 0x4030e0
mov dword [0x410da8], 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