Function at 0x46e9c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58171b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x615000]
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 0x5e3ad0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x46ea40
push 0x59481f
mov ecx, dword [ebp + 8]
call fcn.00405ef0
mov ecx, dword [ebp - 0xd8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
jmp 0x46ec5c
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 0x46ea86
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x594822
mov ecx, dword [ebp + 8]
call fcn.00405ef0
mov ecx, dword [ebp - 0xd8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
jmp 0x46ec5c
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 0x46ec33
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 0x46ebed
jg 0x46eafe
cmp dword [ebp - 0x44], 0
jbe 0x46ebed
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 [0x601850]
fsubr qword [0x601850]
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 0x5e3af8
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0055b801
add esp, 0x10
lea edx, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00405ef0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405f30
mov ecx, dword [ebp - 0xd8]
or ecx, 1
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00405f70
mov eax, dword [ebp + 8]
jmp 0x46ec5c
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 0x46eaa9
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x594823
mov ecx, dword [ebp + 8]
call fcn.00405ef0
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.0055abea
mov esp, ebp
pop ebp
ret 4