Function at 0x42a073
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, 0x2fc
mov eax, dword [0x462040]
xor eax, esp
mov dword [esp + 0x2f8], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x164], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x174], eax
mov ebx, ecx
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x18], eax
mov edi, 0x46251c
mov eax, dword [ebp + 0x20]
mov ecx, edi
mov dword [esp + 0x188], eax
mov dword [esp + 0x20], esi
call fcn.0045ea8e
and dword [esp + 0x2a0], 0
mov ecx, edi
mov byte [esp + 0x2ac], 0
mov dword [esp + 0x28c], 1
call fcn.0045ea8e
mov edx, 0x406d48
test al, 0xe
je 0x42a136
xor ecx, ecx
lea eax, [esp + 0x170]
push ecx
push ecx
push ecx
push ecx
push edi
push edx
push ecx
push fcn.0045d2a0
push eax
push ecx
lea eax, [esp + 0x2b0]
push eax
call fcn.0042bfaf
add esp, 0x2c
mov edx, 0x406d48
xor ecx, ecx
lea edi, [esp + 0x150]
xor eax, eax
mov byte [esp + 0x177], cl
stosd dword es:[edi], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], ecx
mov dword [esp + 0x12c], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], ecx
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], ecx
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x114], ecx
mov byte [esp + 0x118], cl
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], ecx
test esi, esi
je 0x42a215
push 7
xor eax, eax
mov edi, esi
pop ecx
rep stosd dword es:[edi], eax
xor ecx, ecx
test ebx, 0xfffff8c0
je 0x42a24e
mov dword [esp + 0xa8], 0x405680
lea ecx, [esp + 0xa8]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0x11c5
mov dword [esp + 0xb4], 0x40527c
jmp 0x42a285
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x42a2a3
mov dword [esp + 0xb8], 0x405680
lea ecx, [esp + 0xb8]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], 0x11c7
mov dword [esp + 0xc4], 0x406d7c
mov eax, 0xc000000d
push eax
mov dword [esp + 0x174], eax
call fcn.0045a015
mov esi, dword [esp + 0x170]
jmp 0x42a675
cmp dword [esp + 0x14], 0
jne 0x42a2cc
mov dword [esp + 0x28], 0x405680
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x11c8
mov dword [esp + 0x34], 0x406d9c
jmp 0x42a285
mov eax, dword [edi]
mov dword [esp + 0x178], ecx
mov esi, dword [eax + 4]
lea eax, [esp + 0x178]
push eax
push 0x407938
mov ecx, esi
call dword [0x464254]
mov ecx, edi
call esi
mov esi, eax
test esi, esi
jns 0x42a303
mov dword [esp + 0x170], esi
jmp 0x42a669
mov esi, dword [esp + 0x178]
lea eax, [esp + 0x124]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x12c], eax
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x464254]
mov ecx, esi
call edi
mov ecx, eax
call fcn.0043edf2
mov cl, al
xor edx, edx
inc edx
mov byte [esp + 0x149], cl
mov al, bl
and al, dl
mov byte [esp + 0x14a], al
mov eax, ebx
shr eax, 0xa
and al, dl
mov byte [esp + 0x14b], al
lea eax, [esp + 0xf8]
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x138], eax
mov eax, ebx
shr eax, 8
test dl, al
je 0x42a3b7
mov byte [esp + 0x14c], dl
mov byte [esp + 0x14d], dl
mov byte [esp + 0x14e], dl
mov byte [esp + 0x14f], dl
mov eax, ebx
shr eax, 9
test dl, al
je 0x42a3c7
mov byte [esp + 0x14c], dl
xor edi, edi
test cl, cl
je 0x42a446
push 0x2c
lea eax, [esp + 0x260]
push edi
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [esp + 0x25c]
push edi
push 0x2c
push eax
push edi
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x42a42e
mov dword [esp + 0x98], 0x405680
lea ecx, [esp + 0x98]
mov dword [esp + 0x9c], 0x406d48
mov dword [esp + 0xa0], 0x11ea
mov dword [esp + 0xa4], 0x406dc8
jmp 0x42a655
mov al, byte [esp + 0x284]
cmp al, 2
jge 0x42a43d
mov al, 2
jmp 0x42a443
cmp al, 0xa
jle 0x42a443
mov al, 0xa
movsx edi, al
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call dword [0x464254]
mov ecx, dword [esp + 0x14]
call esi
mov esi, eax
test esi, esi
js 0x42a2f7
cmp byte [esp + 0x14a], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x120], eax
je 0x42a4cb
cmp byte [esp + 0x149], 0
jne 0x42a4cb
mov dword [esp + 0x88], 0x405680
lea ecx, [esp + 0x88]
mov dword [esp + 0x8c], 0x406d48
mov eax, 0xc000000d
mov dword [esp + 0x90], 0x11f8
mov dword [esp + 0x94], 0x406e38
jmp 0x42a655
mov eax, ebx
and eax, 0x18
mov dword [esp + 0x24], eax
setne al
dec al
and byte [esp + 0x118], al
je 0x42a6dc
push 0
push 0
mov esi, 0x1f0003
lea ecx, [esp + 0x100]
push esi
call fcn.0042bce7
push eax
call dword [sym.imp.ntdll.dll_NtCreateIoCompletion]
test eax, eax
jns 0x42a536
mov dword [esp + 0x78], 0x405680
lea ecx, [esp + 0x78]
mov dword [esp + 0x7c], 0x406d48
mov dword [esp + 0x80], 0x1202
mov dword [esp + 0x84], 0x406e88
jmp 0x42a655
push 0
push 0
push esi
lea ecx, [esp + 0x108]
call fcn.0042bce7
push eax
call dword [sym.imp.ntdll.dll_NtCreateIoCompletion]
test eax, eax
jns 0x42a57b
mov dword [esp + 0x68], 0x405680
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], 0x406d48
mov dword [esp + 0x70], 0x1203
mov dword [esp + 0x74], 0x406f08
jmp 0x42a655
cmp dword [esp + 0x100], 0
jne 0x42aaa3
push 0
push 1
push 0
push esi
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
jns 0x42a5cb
mov dword [esp + 0x58], 0x405680
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 0x406d48
mov dword [esp + 0x60], 0x1205
mov dword [esp + 0x64], 0x406f80
jmp 0x42a655
cmp dword [esp + 0x104], 0
jne 0x42aaa3
push 0
push 1
push 0
push esi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
test eax, eax
jns 0x42a618
mov dword [esp + 0x48], 0x405680
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], 0x406d48
mov dword [esp + 0x50], 0x1206
mov dword [esp + 0x54], 0x407010
jmp 0x42a655
push 0
lea eax, [esp + 0xfc]
push eax
push 0x42b6d0
call dword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
jns 0x42a6ac
mov dword [esp + 0x38], 0x405680
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0x406d48
mov dword [esp + 0x40], 0x1208
mov dword [esp + 0x44], 0x407098
push eax
mov dword [esp + 0x174], eax
call fcn.0045a015
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x178]
call fcn.0041e021
lea ecx, [esp + 0xf8]
call fcn.00425a30
lea ecx, [esp + 0x150]
call fcn.0042ad13
lea ecx, [esp + 0x124]
call fcn.0042bb8f
lea ecx, [esp + 0x288]
call fcn.0042bbdb
mov eax, esi
jmp 0x42acf6
xor esi, esi
test edi, edi
je 0x42a6dc
push 0
lea eax, [esp + 0xfc]
push eax
push 0x42b7c0
call dword [sym.imp.ntdll.dll_TpSimpleTryPost]
test eax, eax
js 0x42a837
lock inc dword [esp + 0x108]
inc esi
cmp esi, edi
jb 0x42a6b2
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.ntdll.dll_NtQueryPerformanceCounter]
mov eax, ebx
shr eax, 1
test al, 1
je 0x42a7b6
cmp byte [esp + 0x177], 0
jne 0x42a7b6
mov edi, dword [ebp + 0x10]
push 0x38
xor esi, esi
lea eax, [esp + 0x214]
push esi
push eax
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x188]
lea ecx, [esp + 0x183]
add esp, 0xc
mov dword [esp + 0x250], esi
mov dword [esp + 0x254], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x248], edi
push ecx
lea ecx, [esp + 0x254]
mov dword [esp + 0x250], eax
push ecx
lea ecx, [esp + 0x218]
push ecx
push eax
mov ecx, esi
call dword [0x464254]
call esi
cmp byte [esp + 0x177], 0
jne 0x42a881
push dword [esp + 0x18]
mov esi, dword [esp + 0x254]
lea edx, [esp + 0x214]
call fcn.0042a033
lea ecx, [esp + 0x210]
cmp esi, 0x10
je 0x42a86f
call fcn.00425926
cmp byte [esp + 0x177], 0
je 0x42a70f
xor ecx, ecx
mov edi, ebx
shr edi, 5
mov al, cl
and edi, 1
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], ecx
mov dword [esp + 0x19c], ecx
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1a4], ecx
mov dword [esp + 0x1a8], ecx
mov dword [esp + 0x1ac], ecx
mov byte [esp + 0xf], al
cmp dword [esp + 0x24], ecx
je 0x42a8e1
lea eax, [esp + 0xf]
push eax
push ecx
lea ecx, [esp + 0x194]
call fcn.00424bd7
mov esi, eax
test esi, esi
jns 0x42a8db
mov dword [esp + 0x170], esi
jmp 0x42aba5
mov dword [esp + 0xc8], 0x405680
lea ecx, [esp + 0xc8]
mov dword [esp + 0xcc], 0x406d48
mov dword [esp + 0xd0], 0x120d
mov dword [esp + 0xd4], 0x4070dc
jmp 0x42a655
mov byte [esp + 0x148], 1
call fcn.00425926
jmp 0x42a7b6
and dword [esp + 0xe4], 0
lea ecx, [esp + 0xd8]
mov eax, 0xc000000d
mov dword [esp + 0xd8], 0x405680
push eax
mov dword [esp + 0xe0], 0x406d48
mov dword [esp + 0xe4], 0x1232
mov dword [esp + 0x174], eax
call fcn.0045a015
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x210]
call fcn.00425926
jmp 0x42a669
mov al, byte [esp + 0xf]
xor ecx, ecx
test al, al
je 0x42a8f4
mov eax, ebx
or edi, 4
shr eax, 3
test al, 1
je 0x42a8f4
or edi, 2
cmp byte [esp + 0x177], 0
jne 0x42aaba
shr ebx, 2
and bl, 1
jmp 0x42a90c
xor ecx, ecx
test bl, bl
je 0x42a91e
cmp byte [esp + 0x148], 0
jne 0x42aaba
push 0x38
push ecx
lea eax, [esp + 0x1d0]
push eax
call sub.ntdll.dll_memset
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x183]
mov esi, dword [esp + 0x20]
add esp, 0xc
and dword [esp + 0x208], 0
and dword [esp + 0x20c], 0
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x17c]
push ecx
lea ecx, [esp + 0x20c]
mov dword [esp + 0x208], eax
push ecx
lea ecx, [esp + 0x1d0]
push ecx
push eax
mov ecx, esi
call dword [0x464254]
call esi
cmp byte [esp + 0x177], 0
jne 0x42aaae
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18c]
push ecx
push eax
lea eax, [esp + 0x158]
mov ecx, edi
push eax
lea eax, [esp + 0x1d4]
push eax
call fcn.00429e08
mov esi, eax
mov al, byte [esp + 0x118]
test al, al
jne 0x42a9d6
push dword [esp + 0x18]
lea edx, [esp + 0x1cc]
call fcn.0042a033
mov al, byte [esp + 0x118]
test esi, esi
js 0x42aa08
mov esi, dword [esp + 0x16c]
test esi, esi
js 0x42aa08
inc dword [esp + 0x1c]
lea ecx, [esp + 0x1c8]
call fcn.00425926
cmp byte [esp + 0x177], 0
je 0x42a90a
jmp 0x42aaba
test al, al
je 0x42aa57
lea ecx, [esp + 0xf8]
mov dword [esp + 0x114], esi
call fcn.0042594f
mov edi, eax
test edi, edi
jns 0x42aa57
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x170], edi
call fcn.00425926
lea ecx, [esp + 0x18c]
call fcn.00424b5a
lea ecx, [esp + 0x18c]
call fcn.0042bd30
mov esi, edi
jmp 0x42a669
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42aa9f
mov eax, dword [esp + 0x208]
lea edx, [ecx + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx], esi
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x208]
call fcn.00421716
mov esi, eax
test esi, esi
jns 0x42aaae
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x170], esi
call fcn.00425926
jmp 0x42aba5
test esi, esi
js 0x42aa87
push 0xc00000e5
call dword [sym.imp.ntdll.dll_RtlRaiseStatus]
lea ecx, [esp + 0x1c8]
call fcn.00425926
cmp byte [esp + 0x118], 0
je 0x42abc2
lea ecx, [esp + 0xf8]
call fcn.0042594f
mov esi, eax
test esi, esi
js 0x42a82b
cmp byte [esp + 0x118], 0
je 0x42abc2
cmp dword [esp + 0x114], 0
jge 0x42ab12
cmp dword [esp + 0x20], 0
jne 0x42abc2
mov esi, dword [esp + 0x114]
test esi, esi
js 0x42a82b
jmp 0x42aaa3
mov eax, dword [esp + 0x110]
cmp dword [esp + 0x10c], eax
je 0x42abc2
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x188], eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x180]
push eax
push 0x407120
call fcn.0042c52b
and dword [esp + 0xf4], 0
lea ecx, [esp + 0xe8]
mov eax, 0xc00000e5
mov dword [esp + 0xe8], 0x405680
push eax
mov dword [esp + 0xf0], 0x406d48
mov dword [esp + 0xf4], 0x129e
mov dword [esp + 0x174], eax
call fcn.0045a015
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x18c]
call fcn.00424b5a
lea ecx, [esp + 0x18c]
call fcn.0042bd30
jmp 0x42a669
lea ecx, [esp + 0x18c]
call fcn.00424b5a
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x1c4]
push eax
call dword [sym.imp.ntdll.dll_NtQueryPerformanceCounter]
mov esi, dword [esp + 0x1c0]
sub esi, dword [esp + 0x1b8]
mov edi, dword [esp + 0x1c4]
sbb edi, dword [esp + 0x1bc]
push 0
push 0xf4240
push dword [esp + 0x18c]
push dword [esp + 0x18c]
call sub.ntdll.dll__alldiv
mov ecx, eax
mov dword [esp + 0x184], edx
or eax, edx
mov dword [esp + 0x180], ecx
jne 0x42ac45
and dword [esp + 0x184], eax
xor ebx, ebx
inc ebx
xor edx, edx
mov dword [esp + 0x180], ebx
mov ecx, ebx
jmp 0x42ac48
xor ebx, ebx
inc ebx
push edx
push ecx
push edi
push esi
call sub.ntdll.dll__aulldiv
mov esi, 0x46251c
mov dword [esp + 0x1b0], eax
mov ecx, esi
mov dword [esp + 0x1b4], edx
call fcn.0045ea8e
shr eax, 0x11
test bl, al
je 0x42ac94
lea eax, [esp + 0x1b0]
push eax
push 0x45ce50
push 0x407178
push ebx
push 0x40717c
push esi
push ebx
call fcn.00424b16
add esp, 0x1c
lea ecx, [esp + 0x18c]
mov byte [esp + 0x2ac], bl
call fcn.00424b5a
lea ecx, [esp + 0x18c]
call fcn.0042bd30
lea ecx, [esp + 0x178]
call fcn.0041e021
lea ecx, [esp + 0xf8]
call fcn.00425a30
lea ecx, [esp + 0x150]
call fcn.0042ad13
lea ecx, [esp + 0x124]
call fcn.0042bb8f
lea ecx, [esp + 0x288]
call fcn.0042bbdb
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x304]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461687
mov esp, ebp
pop ebp
ret 0x24