Function at 0x428a88
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x45e040]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [ebp + 8]
and dword [esp + 0xc4], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0xd0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x34], eax
mov edi, 0x45e4c8
mov eax, dword [ebp + 0x20]
mov ecx, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0xdc], eax
mov dword [esp + 0x3c], esi
call fcn.0045aabe
and dword [esp + 0x200], 0
mov ecx, edi
mov byte [esp + 0x20c], 0
mov dword [esp + 0x1ec], 1
call fcn.0045aabe
mov edx, 0x406c78
test al, 0xe
je 0x428b4f
xor ecx, ecx
lea eax, [esp + 0xd0]
push ecx
push ecx
push ecx
push ecx
push edi
push edx
push ecx
push fcn.00459310
push eax
push ecx
lea eax, [esp + 0x210]
push eax
call fcn.0042a720
add esp, 0x2c
mov edx, 0x406c78
xor ecx, ecx
lea edi, [esp + 0xac]
xor eax, eax
mov byte [esp + 0xcf], cl
stosd dword es:[edi], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
stosd dword es:[edi], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x70], ecx
mov byte [esp + 0x74], cl
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
test esi, esi
je 0x428c0d
push 7
xor eax, eax
mov edi, esi
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
test ebx, 0xfffff8c0
je 0x428c27
mov dword [esp + 0x18], 0x11a6
mov dword [esp + 0x1c], 0x4051ac
jmp 0x428c58
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x428c41
mov dword [esp + 0x18], 0x11a8
mov dword [esp + 0x1c], 0x406cac
jmp 0x428c58
cmp dword [esp + 0x30], 0
jne 0x428c86
mov dword [esp + 0x18], 0x11a9
mov dword [esp + 0x1c], 0x406ccc
mov eax, 0xc000000d
mov dword [esp + 0x10], 0x4055b0
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0xd4], eax
call fcn.00456190
mov esi, dword [esp + 0xd0]
jmp 0x4293ef
mov eax, dword [edi]
mov dword [esp + 0xd4], ecx
mov esi, dword [eax + 4]
lea eax, [esp + 0xd4]
push eax
push 0x40783c
mov ecx, esi
call dword [0x460240]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
js 0x428e00
mov esi, dword [esp + 0xd4]
lea eax, [esp + 0x80]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x88], eax
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x460240]
mov ecx, esi
call edi
mov ecx, eax
call fcn.0043bbb4
mov cl, al
xor edx, edx
inc edx
mov byte [esp + 0xa5], cl
mov al, bl
and al, dl
mov byte [esp + 0xa6], al
mov eax, ebx
shr eax, 0xa
and al, dl
mov byte [esp + 0xa7], al
lea eax, [esp + 0x54]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov eax, ebx
shr eax, 8
test dl, al
je 0x428d66
mov byte [esp + 0xa8], dl
mov byte [esp + 0xa9], dl
mov byte [esp + 0xaa], dl
mov byte [esp + 0xab], dl
mov eax, ebx
shr eax, 9
test dl, al
je 0x428d76
mov byte [esp + 0xa8], dl
xor edi, edi
test cl, cl
je 0x428dde
push 0x2c
lea eax, [esp + 0x1c0]
push edi
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x1bc]
push edi
push 0x2c
push eax
push edi
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x428dba
mov dword [esp + 0x18], 0x11cb
mov dword [esp + 0x1c], 0x406cf8
jmp 0x42906c
mov al, byte [esp + 0x1e4]
mov byte [esp + 0x2f], 2
push 0xa
pop ecx
mov byte [esp + 0x2e], cl
cmp al, 2
jge 0x428dd5
mov al, 2
jmp 0x428dd9
cmp al, 0xa
jg 0x428ddb
mov cl, al
movsx edi, cl
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call dword [0x460240]
mov ecx, dword [esp + 0x28]
call esi
mov esi, eax
test esi, esi
jns 0x428e0c
mov dword [esp + 0xd0], esi
jmp 0x4293e3
cmp byte [esp + 0xa6], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
je 0x428e42
cmp byte [esp + 0xa5], 0
jne 0x428e42
mov dword [esp + 0x18], 0x11d9
mov eax, 0xc000000d
mov dword [esp + 0x1c], 0x406d68
jmp 0x42906c
mov eax, ebx
and eax, 0x18
mov dword [esp + 0x40], eax
setne al
dec al
and byte [esp + 0x74], al
je 0x428f8a
cmp dword [esp + 0x54], 0
je 0x428e69
cmp dword [esp + 0x54], 0xffffffff
je 0x428e69
int3
push 0
push 0
mov esi, 0x1f0003
lea eax, [esp + 0x5c]
push esi
push eax
call dword [sym.imp.ntdll.dll_NtCreateIoCompletion]
test eax, eax
jns 0x428e97
mov dword [esp + 0x18], 0x11e3
mov dword [esp + 0x1c], 0x406db8
jmp 0x42906c
cmp dword [esp + 0x58], 0
je 0x428ea6
cmp dword [esp + 0x58], 0xffffffff
je 0x428ea6
int3
push 0
push 0
push esi
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.ntdll.dll_NtCreateIoCompletion]
test eax, eax
jns 0x428ecf
mov dword [esp + 0x18], 0x11e4
mov dword [esp + 0x1c], 0x406e38
jmp 0x42906c
cmp dword [esp + 0x5c], 0
je 0x428ed7
int3
push 0
push 1
push 0
push esi
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
jns 0x428f02
mov dword [esp + 0x18], 0x11e6
mov dword [esp + 0x1c], 0x406eb0
jmp 0x42906c
cmp dword [esp + 0x60], 0
je 0x428f0a
int3
push 0
push 1
push 0
push esi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
jns 0x428f35
mov dword [esp + 0x18], 0x11e7
mov dword [esp + 0x1c], 0x406f40
jmp 0x42906c
push 0
lea eax, [esp + 0x58]
push eax
push 0x429ed0
call dword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
jns 0x428f60
mov dword [esp + 0x18], 0x11e9
mov dword [esp + 0x1c], 0x406fc8
jmp 0x42906c
xor esi, esi
test edi, edi
je 0x428f8a
push 0
lea eax, [esp + 0x58]
push eax
push 0x429fc0
call dword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
js 0x42905c
lock inc dword [esp + 0x64]
inc esi
cmp esi, edi
jb 0x428f66
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.ntdll.dll_NtQueryPerformanceCounter]
mov edi, dword [ebp + 0x10]
mov eax, ebx
shr eax, 1
test al, 1
jne 0x42912a
xor edx, edx
shr ebx, 5
mov al, dl
mov dword [esp + 0xec], edx
and ebx, 1
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], edx
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], edx
mov byte [esp + 0x23], al
cmp dword [esp + 0x40], edx
je 0x429024
lea eax, [esp + 0x23]
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.00423777
mov esi, eax
test esi, esi
js 0x42934a
mov al, byte [esp + 0x23]
xor edx, edx
mov ecx, dword [esp + 0x28]
test al, al
je 0x42903b
mov eax, ecx
or ebx, 4
shr eax, 3
test al, 1
je 0x42903b
or ebx, 2
cmp byte [esp + 0xcf], 0
jne 0x42930a
mov esi, dword [esp + 0x30]
shr ecx, 2
and cl, 1
mov dword [esp + 0x28], ecx
jmp 0x42919c
mov dword [esp + 0x18], 0x11ee
mov dword [esp + 0x1c], 0x40700c
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0x406c78
mov dword [esp + 0x14], 0x4055b0
mov dword [esp + 0xd4], eax
call fcn.00456190
mov esi, dword [esp + 0xd0]
jmp 0x4293e3
push 0x38
xor esi, esi
lea eax, [esp + 0x174]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xdb]
add esp, 0xc
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1a8], edi
push ecx
lea ecx, [esp + 0x1b4]
mov dword [esp + 0x1b0], eax
push ecx
lea ecx, [esp + 0x178]
push ecx
push eax
mov ecx, esi
call dword [0x460240]
call esi
cmp byte [esp + 0xcf], 0
jne 0x42914f
push dword [esp + 0x34]
mov esi, dword [esp + 0x1b4]
lea edx, [esp + 0x174]
call fcn.00428a48
lea ecx, [esp + 0x170]
cmp esi, 0x10
je 0x42913d
call fcn.004244ae
cmp byte [esp + 0xcf], 0
je 0x429099
jmp 0x428faf
mov byte [esp + 0xa4], 1
call fcn.004244ae
jmp 0x428faf
and dword [esp + 0x1c], 0
lea ecx, [esp + 0x10]
mov eax, 0xc000000d
mov dword [esp + 0x10], 0x4055b0
push eax
mov dword [esp + 0x18], 0x406c78
mov dword [esp + 0x1c], 0x1213
mov dword [esp + 0xd4], eax
call fcn.00456190
mov esi, dword [esp + 0xd0]
lea ecx, [esp + 0x170]
call fcn.004244ae
jmp 0x4293e3
xor edx, edx
test cl, cl
je 0x4291ae
cmp byte [esp + 0xa4], 0
jne 0x42930a
push 0x38
push edx
lea eax, [esp + 0x130]
push eax
call sub.ntdll.dll_memset
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xdb]
and dword [esp + 0x174], 0
add esp, 0xc
and dword [esp + 0x16c], 0
mov dword [esp + 0x160], edi
mov dword [esp + 0x164], eax
push ecx
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0x130]
push ecx
push eax
mov ecx, esi
call dword [0x460240]
call esi
cmp byte [esp + 0xcf], 0
jne 0x4292fe
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xec]
push ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, ebx
push eax
lea eax, [esp + 0x134]
push eax
call fcn.00428828
mov edi, eax
mov al, byte [esp + 0x74]
test al, al
jne 0x429259
push dword [esp + 0x34]
lea edx, [esp + 0x12c]
call fcn.00428a48
mov al, byte [esp + 0x74]
test edi, edi
js 0x42928f
mov edi, dword [esp + 0xc8]
test edi, edi
js 0x42928f
inc dword [esp + 0x38]
lea ecx, [esp + 0x128]
call fcn.004244ae
cmp byte [esp + 0xcf], 0
mov ecx, dword [esp + 0x28]
mov edi, dword [ebp + 0x10]
je 0x42919a
jmp 0x42930a
test al, al
je 0x4292a6
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], edi
call fcn.004244d7
mov esi, eax
test esi, esi
js 0x4292d6
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4292df
mov eax, dword [esp + 0x168]
lea edx, [ecx + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx], edi
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x168]
call fcn.004204a8
mov esi, eax
test esi, esi
jns 0x4292fe
mov dword [esp + 0xd0], esi
jmp 0x4292ed
test edi, edi
js 0x4292e4
int3
mov dword [esp + 0xd0], edi
mov esi, edi
lea ecx, [esp + 0x128]
call fcn.004244ae
jmp 0x4293cb
lea ecx, [esp + 0x128]
call fcn.004244ae
cmp byte [esp + 0x74], 0
je 0x429423
lea ecx, [esp + 0x54]
call fcn.004244d7
mov esi, eax
test esi, esi
js 0x42934a
cmp byte [esp + 0x74], 0
je 0x429423
cmp dword [esp + 0x70], 0
jge 0x429353
cmp dword [esp + 0x3c], 0
jne 0x429423
mov esi, dword [esp + 0x70]
test esi, esi
js 0x42934a
int3
mov dword [esp + 0xd0], esi
jmp 0x4293cb
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x68], eax
je 0x429423
mov eax, dword [esp + 0x68]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0xdc]
push eax
push 0x407050
call fcn.0042acb7
and dword [esp + 0x50], 0
lea ecx, [esp + 0x44]
mov eax, 0xc00000e5
mov dword [esp + 0x44], 0x4055b0
push eax
mov dword [esp + 0x4c], 0x406c78
mov dword [esp + 0x50], 0x127f
mov dword [esp + 0xd4], eax
call fcn.00456190
mov esi, dword [esp + 0xd0]
lea ecx, [esp + 0xec]
call fcn.004236fa
lea ecx, [esp + 0xec]
call fcn.0042a50a
lea ecx, [esp + 0xd4]
call fcn.0041cf78
lea ecx, [esp + 0x54]
call fcn.004245b5
lea ecx, [esp + 0xac]
call fcn.00429571
lea ecx, [esp + 0x80]
call fcn.0042a387
lea ecx, [esp + 0x1e8]
call fcn.0042a3d3
mov eax, esi
jmp 0x429554
lea ecx, [esp + 0xec]
call fcn.004236fa
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.ntdll.dll_NtQueryPerformanceCounter]
mov esi, dword [esp + 0x110]
sub esi, dword [esp + 0x118]
mov edi, dword [esp + 0x114]
sbb edi, dword [esp + 0x11c]
push 0
push 0xf4240
push dword [esp + 0xec]
push dword [esp + 0xec]
call sub.ntdll.dll__alldiv
mov ecx, eax
mov dword [esp + 0xe4], edx
or eax, edx
mov dword [esp + 0xe0], ecx
jne 0x4294a6
and dword [esp + 0xe4], eax
xor ebx, ebx
inc ebx
xor edx, edx
mov dword [esp + 0xe0], ebx
mov ecx, ebx
jmp 0x4294a9
xor ebx, ebx
inc ebx
push edx
push ecx
push edi
push esi
call sub.ntdll.dll__aulldiv
mov esi, 0x45e4c8
mov dword [esp + 0x120], eax
mov ecx, esi
mov dword [esp + 0x124], edx
call fcn.0045aabe
shr eax, 0x11
test bl, al
je 0x4294f5
lea eax, [esp + 0x120]
push eax
push 0x458eb0
push 0x4070a8
push ebx
push 0x4070ac
push esi
push ebx
call fcn.004236c1
add esp, 0x1c
lea ecx, [esp + 0xec]
mov byte [esp + 0x20c], bl
call fcn.004236fa
lea ecx, [esp + 0xec]
call fcn.0042a50a
lea ecx, [esp + 0xd4]
call fcn.0041cf78
lea ecx, [esp + 0x54]
call fcn.004245b5
lea ecx, [esp + 0xac]
call fcn.00429571
lea ecx, [esp + 0x80]
call fcn.0042a387
lea ecx, [esp + 0x1e8]
call fcn.0042a3d3
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045d72e
mov esp, ebp
pop ebp
ret 0x24