Function at 0x51b240
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x5dd19f
mov eax, dword fs:[0]
push eax
sub esp, 0x5dc
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x5d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x5f0]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
mov esi, dword [esp + 0x600]
xor ebx, ebx
push ebx
mov edi, 0xf
push 0x63a990
lea ecx, [esp + 0x1bc]
mov dword [esp + 0x1d4], edi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
call fcn.00408ea0
push ebx
push 0x63a990
lea ecx, [esp + 0x114]
mov dword [esp + 0x600], ebx
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
call fcn.00408ea0
push ebx
push 0x63a990
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x600], 1
mov dword [esp + 0x1f0], edi
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
call fcn.00408ea0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5f8], 2
call fcn.0059c1b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x5f8], 3
call fcn.0059c7d0
lea eax, [esp + 0x20]
push eax
push str.NumberOfCores
push str.Select__from_Win32_Processor
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.0059c0e0
lea ecx, [esp + 0x10c]
push ecx
push str.Manufacturer
push str.Select__from_Win32_Processor
lea ecx, [esp + 0x20]
call fcn.0059c2f0
push 1
push 2
lea ecx, [esp + 0x78]
call fcn.0040a750
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x74]
mov byte [esp + 0x5fc], 4
call fcn.0041c7c0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x74]
call fcn.00408c00
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x5f8], 5
jb 0x51b3ae
mov edx, dword [eax + 4]
jmp 0x51b3b1
lea edx, [eax + 4]
mov eax, edx
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x51b3b6
sub eax, ebp
push eax
push edx
lea ecx, [esp + 0x1bc]
call fcn.00408ea0
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0x5f8], 4
jb 0x51b3eb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005a1b1d
add esp, 4
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x1c0]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x1bc]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x1c4]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x1bc]
call fcn.004076f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x118]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x114]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x11c]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x114]
call fcn.004076f0
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x60]
mov dword [esi], eax
xor ebp, ebp
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.WS2_32.dll_bind
mov byte [esp + 0x60c], 6
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x51b525
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push str.PROCESSOR_ARCHITECTURE
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebp
call fcn.005166f0
test eax, eax
jne 0x51b514
lea eax, [esp + 0x1ec]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x51b4f4
sub eax, edx
push eax
lea ecx, [esp + 0x1f0]
push ecx
lea ecx, [esp + 0x1d8]
call fcn.00408ea0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x51b525
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
cmp ebp, ebx
mov byte [esp + 0x5f8], 4
je 0x51b538
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x24]
lea edx, [esi + 0x3c]
push edx
mov ecx, ebp
call fcn.005180c0
lea eax, [esi + 0x74]
push eax
mov ecx, ebp
call fcn.00518390
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1bc]
push ecx
lea ecx, [esi + 4]
call fcn.00407630
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x114]
push edx
lea ecx, [esi + 0x58]
call fcn.00407630
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1d8]
push eax
lea ecx, [esi + 0x20]
call fcn.00407630
push ebx
push 0x63a990
lea ecx, [esp + 0x14c]
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
call fcn.00408ea0
push ebx
push 0x63a990
lea ecx, [esp + 0x168]
mov byte [esp + 0x600], 7
mov dword [esp + 0x180], edi
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], bl
call fcn.00408ea0
push ebx
push 0x63a990
lea ecx, [esp + 0xf8]
mov byte [esp + 0x600], 8
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov byte [esp + 0xfc], bl
call fcn.00408ea0
lea ecx, [esp + 0x144]
push ecx
push str.SMBIOSBIOSVersion
push str.Select__from_Win32_BIOS
lea ecx, [esp + 0x20]
mov byte [esp + 0x604], 9
call fcn.0059c2f0
lea edx, [esp + 0x160]
push edx
push str.Manufacturer
push str.Select__from_Win32_BIOS
lea ecx, [esp + 0x20]
call fcn.0059c2f0
lea eax, [esp + 0xf0]
push eax
push str.ReleaseDate
push str.Select__from_Win32_BIOS
lea ecx, [esp + 0x20]
call fcn.0059c2f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x150]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x14c]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x154]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x14c]
call fcn.004076f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x16c]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x168]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x170]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x168]
call fcn.004076f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0xfc]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0xf8]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x100]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0xf8]
call fcn.004076f0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x14c]
push ecx
lea ecx, [esi + 0x90]
call fcn.00407630
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x168]
push edx
lea ecx, [esi + 0xac]
call fcn.00407630
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf8]
push eax
lea ecx, [esi + 0xc8]
call fcn.00407630
push ebx
push 0x63a990
lea ecx, [esp + 0x184]
mov dword [esp + 0x19c], edi
mov dword [esp + 0x198], ebx
mov byte [esp + 0x188], bl
call fcn.00408ea0
push ebx
mov byte [esp + 0x5fc], 0xa
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
push 0x63a990
lea ecx, [esp + 0x1a0]
call fcn.00408ea0
push ebx
push 0x63a990
lea ecx, [esp + 0x130]
mov byte [esp + 0x600], 0xb
mov dword [esp + 0x148], edi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
call fcn.00408ea0
lea ecx, [esp + 0x17c]
push ecx
push str.Product
push 0x602610
lea ecx, [esp + 0x20]
mov byte [esp + 0x604], 0xc
call fcn.0059c2f0
lea edx, [esp + 0x198]
push edx
push str.SerialNumber
push 0x602610
lea ecx, [esp + 0x20]
call fcn.0059c2f0
lea eax, [esp + 0x128]
push eax
push str.Manufacturer
push 0x602610
lea ecx, [esp + 0x20]
call fcn.0059c2f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x188]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x184]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x18c]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x184]
call fcn.004076f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x1a4]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x1a0]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x1a8]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x1a0]
call fcn.004076f0
push 4
push ebx
push str.__t_r_n
lea ecx, [esp + 0x134]
call fcn.004a2f90
push eax
push ebx
lea ecx, [esp + 0x130]
call fcn.004076f0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push str.__t_r_n
lea ecx, [esp + 0x138]
call fcn.004d0260
add eax, 1
push eax
lea ecx, [esp + 0x130]
call fcn.004076f0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esi + 0xe4]
call fcn.00407630
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1a0]
push edx
lea ecx, [esi + 0x100]
call fcn.00407630
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x130]
push eax
lea ecx, [esi + 0x11c]
call fcn.00407630
mov esi, 0x10
cmp dword [esp + 0x140], esi
jb 0x51b99f
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x1b0], esi
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
jb 0x51b9cd
mov edx, dword [esp + 0x19c]
push edx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x194], esi
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], bl
jb 0x51b9fb
mov eax, dword [esp + 0x180]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x108], esi
mov dword [esp + 0x194], edi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x51ba29
mov ecx, dword [esp + 0xf4]
push ecx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x178], esi
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x51ba57
mov edx, dword [esp + 0x164]
push edx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x15c], esi
mov dword [esp + 0x178], edi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
jb 0x51ba85
mov eax, dword [esp + 0x148]
push eax
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x15c], edi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
mov byte [esp + 0x5f8], 3
call fcn.00409510
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0xc0], vtable.std::ios_base.0
call fcn.005d9cc4
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x5f8], 2
je 0x51bae1
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x51baf1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1e8], esi
jb 0x51bb0a
mov eax, dword [esp + 0x1d4]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x124], esi
mov dword [esp + 0x1e8], edi
mov dword [esp + 0x1e4], ebx
mov byte [esp + 0x1d4], bl
jb 0x51bb38
mov ecx, dword [esp + 0x110]
push ecx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x1cc], esi
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x51bb66
mov edx, dword [esp + 0x1b8]
push edx
call fcn.005a1b1d
add esp, 4
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5d8]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x5e8
ret 4