Function at 0x497080
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x3bc
mov eax, dword [0x5ac004]
xor eax, esp
mov dword [esp + 0x3b8], eax
mov eax, dword [0x56d084]
mov dword [esp + 0x174], eax
mov eax, dword [0x56d088]
mov dword [esp + 0x178], eax
mov eax, dword [0x56d08c]
push esi
mov dword [esp + 0x180], eax
mov eax, dword [0x56d090]
push 0x2e
mov dword [esp + 0x188], eax
lea eax, [esp + 0x18c]
push 0
push eax
call fcn.0051fd40
add esp, 0xc
cmp dword [0x5b35bc], 0
je 0x497104
cmp dword [0x5b3508], 0
je 0x497104
lea ecx, [esp + 0x20]
call fcn.00497a00
test al, al
je 0x497104
fld qword [esp + 0x20]
jmp 0x497126
mov eax, dword [0x5b35a0]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x49711e
fadd qword [0x59f118]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fdiv qword [0x59f0f0]
mov eax, 0x25
push 0
mov word [esp + 0x12c], ax
mov esi, 2
push 0x200
lea eax, [esp + 0x1c0]
mov dword [esp + 0x108], 0x4b
push eax
push esi
lea eax, [esp + 0x110]
mov word [esp + 0x114], si
push eax
mov dword [esp + 0x12c], 0
fstp qword [esp + 0x24]
fld dword [0x5b1d1c]
fadd dword [0x5b1d20]
fmul qword [0x59f0d0]
fstp qword [esp + 0x124]
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x4971a3
lea eax, [esp + 0x1b8]
jmp 0x4971cb
fld dword [0x5b1d1c]
sub esp, 8
fadd dword [0x5b1d20]
fmul qword [0x59f0d0]
fstp qword [esp]
push str._.2f__
call fcn.00401520
add esp, 0xc
mov eax, dword [eax + 4]
push eax
push 0
push 0xc
push dword [0x5b3588]
call dword [sym.imp.USER32.dll_SendMessageW]
fld qword [esp + 0x10]
mov eax, dword [0x5b350c]
mov dword [esp + 0x100], 0x4b
mov word [esp + 0x104], si
mov dword [esp + 0x118], 1
mov dword [esp + 0x128], 6
mov dword [esp + 0x12c], 0x57cb24
mov dword [esp + 0x130], 0x4b
fstp qword [esp + 0x110]
fild dword [0x5b350c]
test eax, eax
jns 0x49723b
fadd qword [0x59f118]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
lea eax, [esp + 0x1b8]
fdiv qword [0x59f0f0]
push 0
push 0x200
push eax
push 4
lea eax, [esp + 0x110]
mov word [esp + 0x144], si
push eax
mov dword [esp + 0x15c], 1
mov dword [esp + 0x16c], 8
mov dword [esp + 0x170], str._GHz
fstp qword [esp + 0x154]
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x4972a4
lea eax, [esp + 0x1b8]
jmp 0x4972e5
mov eax, dword [0x5b350c]
fild dword [0x5b350c]
test eax, eax
jns 0x4972b9
fadd qword [0x59f118]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
sub esp, 0x10
fdiv qword [0x59f0f0]
fstp qword [esp + 8]
fld qword [esp + 0x20]
fstp qword [esp]
push str._.2f____.2f_GHz
call fcn.00401520
add esp, 0x14
mov eax, dword [eax + 4]
push eax
push 0
push 0xc
push dword [0x5b35c0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5b1d2c]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], 0
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x497343
lea eax, [esp + 0x1b8]
jmp 0x497373
mov eax, dword [0x5b1d2c]
push 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push 1
push eax
mov dword [esp + 0x34], 0x10009
mov dword [esp + 0x48], 0
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 0
push 0xc
push dword [0x5b35f0]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5b1d34]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], 0
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x4973d3
lea eax, [esp + 0x1b8]
jmp 0x497408
mov eax, dword [0x5b1d34]
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x44]
push 1
push eax
mov dword [esp + 0x4c], 0x10009
mov dword [esp + 0x60], 0
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 0
push 0xc
push dword [0x5b3528]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5b1d30]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], 0
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x497466
lea eax, [esp + 0x1b8]
jmp 0x497496
mov eax, dword [0x5b1d30]
push 0
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x5c]
push 1
push eax
mov dword [esp + 0x64], 0x10009
mov dword [esp + 0x78], 0
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 0
push 0xc
push dword [0x5b34f4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x30
lea eax, [esp + 0xd8]
push eax
push 3
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x4974ee
mov edx, dword [esp + 0xd8]
sub edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xdc]
sbb eax, dword [esp + 0xd4]
push 0
push ecx
push eax
push edx
lea edx, [esp + 0x188]
mov ecx, esi
call fcn.004b8e80
lea eax, [esp + 0x178]
push eax
push 0
push 0xc
push dword [0x5b34fc]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5b358c], 1
jbe 0x49759b
mov eax, dword [0x5b3598]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], 0
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x497562
lea eax, ds:[esp + 0x1b8]
push eax
jmp 0x4975a0
mov eax, dword [0x5b3598]
push 0
mov dword [esp + 0x84], eax
lea eax, [esp + 0x74]
push 1
push eax
mov dword [esp + 0x7c], 0x10009
mov dword [esp + 0x90], 0
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
jmp 0x4975a0
push 0x57cb58
push 0
push 0xc
push dword [0x5b35a4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5b358c], 1
jbe 0x497651
mov eax, dword [0x5b3504]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], 0
call sym.ProcessHacker.exe_PhFormatToBuffer
lea ecx, [ecx]
test al, al
je 0x49760e
lea eax, [esp + 0x1b8]
push eax
jmp 0x497656
mov eax, dword [0x5b3504]
push 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x8c]
push 1
push eax
mov dword [esp + 0x94], 0x10009
mov dword [esp + 0xa8], 0
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
jmp 0x497656
push 0x57cb58
push 0
push 0xc
push dword [0x5b3520]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5b358c], 1
jbe 0x497704
mov eax, dword [0x5b35e8]
mov ecx, dword [0x5b35ec]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], ecx
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x4976c3
lea eax, [esp + 0x1b8]
push eax
jmp 0x497709
mov eax, dword [0x5b35e8]
mov ecx, dword [0x5b35ec]
push 0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa4]
push 1
push eax
mov dword [esp + 0xac], 0x10009
mov dword [esp + 0xc0], ecx
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
jmp 0x497709
push 0x57cb58
push 0
push 0xc
push dword [0x5b35b0]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x5b358c], 1
jbe 0x4977b3
mov eax, dword [0x5b35b8]
push 0
mov dword [esp + 0x114], eax
lea eax, [esp + 0x1bc]
push 0x200
push eax
push 1
lea eax, [esp + 0x110]
mov dword [esp + 0x110], 0x10009
push eax
mov dword [esp + 0x128], 0
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x497774
lea eax, [esp + 0x1b8]
push eax
jmp 0x4977b8
mov eax, dword [0x5b35b8]
push 0
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xbc]
push 1
push eax
mov dword [esp + 0xc4], 0x10009
mov dword [esp + 0xd8], 0
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
jmp 0x4977b8
push 0x57cb58
push 0
push 0xc
push dword [0x5b35f8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x3bc]
pop esi
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret