Function at 0x472d40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58771b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 0xa8], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x5e9c40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x472dc0
push 0x59a83f
mov ecx, dword [ebp + 8]
call fcn.00406050
mov ecx, dword [ebp - 0xd8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
jmp 0x472fdc
push str.NtQuerySystemInformation
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x472e06
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x59a842
mov ecx, dword [ebp + 8]
call fcn.00406050
mov ecx, dword [ebp - 0xd8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
jmp 0x472fdc
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 2
jge 0x472fb3
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [ebp - 0x50]
push eax
push 0x30
lea ecx, [ebp - 0x94]
push ecx
push 8
call dword [ebp - 0x4c]
cmp dword [ebp - 0x40], 0
jl 0x472f6d
jg 0x472e7e
cmp dword [ebp - 0x44], 0
jbe 0x472f6d
mov edx, dword [ebp - 0x94]
sub edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x90]
sbb eax, dword [ebp - 0x38]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], eax
fild qword [ebp - 0xe4]
mov ecx, dword [ebp - 0x8c]
add ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x88]
adc edx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x44]
sbb edx, dword [ebp - 0x40]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe8], edx
fild qword [ebp - 0xec]
fdivp st(1)
fmul qword [0x607940]
fsubr qword [0x607940]
fstp qword [ebp - 0xd4]
mov byte [ebp - 0xcc], 0
xor eax, eax
mov dword [ebp - 0xcb], eax
mov word [ebp - 0xc7], ax
mov byte [ebp - 0xc5], al
sub esp, 8
fld qword [ebp - 0xd4]
fstp qword [esp]
push 0x5e9c68
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00561878
add esp, 0x10
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00406050
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406090
mov ecx, dword [ebp - 0xd8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.004060d0
mov eax, dword [ebp + 8]
jmp 0x472fdc
mov edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
adc eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x472e29
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x59a843
mov ecx, dword [ebp + 8]
call fcn.00406050
mov edx, dword [ebp - 0xd8]
or edx, 1
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0xa8]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret 4