Function at 0x4420a7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
movzx eax, byte [ebp + 8]
test eax, eax
je 0x442141
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x44211d
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
push dword [ebp - 0x84]
push 1
push dword [ebp - 0x4c]
push dword [ebp - 0x98]
call fcn.00442464
add esp, 0x10
jmp 0x44213c
push 1
push 0
push 0x5020
push 0x35c8
push 0x7866
push 0
push 1
call fcn.00442c06
add esp, 0x1c
jmp 0x442460
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x4423da
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x44221a
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x4421ed
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0xffffffea
jg 0x442215
mov byte [ebp - 7], 0
movzx eax, byte [ebp - 7]
test eax, eax
je 0x442209
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x442213
jmp 0x442215
jmp 0x4421e2
jmp 0x4423d5
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x442243
mov dword [ebp - 0x24], 1
jmp 0x442247
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x44225a
mov dword [ebp - 0x2c], 1
jmp 0x44225e
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
shl eax, 3
cmp eax, 0x6d238e48
je 0x442274
mov dword [ebp - 0x18], 1
jmp 0x442278
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
test eax, eax
je 0x442296
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x442296
mov dword [ebp - 0x1c], 1
jmp 0x44229a
and dword [ebp - 0x1c], 0
imul eax, dword [ebp - 0x1c], 0
neg eax
je 0x4422b4
mov eax, 0x92978d8e
test eax, eax
je 0x4422b4
mov dword [ebp - 0x20], 1
jmp 0x4422b8
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x20]
je 0x4422cb
mov dword [ebp - 0x60], 1
jmp 0x4422cf
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
push 0xfffffffffffffff6
pop eax
neg eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jge 0x4422f8
mov eax, 0xc3e8
test eax, eax
je 0x4422f8
mov dword [ebp - 0x28], 1
jmp 0x4422fc
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [eax]
je 0x44230c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x442321
mov dword [ebp - 0x30], 1
jmp 0x442325
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x30]
test eax, eax
je 0x44234e
mov byte [ebp - 5], 0
push 0x1e34
lea eax, [ebp - 5]
push eax
push 0
call fcn.0043576a
add esp, 0xc
jmp 0x4423d5
mov dword [ebp - 0xb4], 0x79e56e62
mov dword [ebp - 0xbc], 9
mov dword [ebp - 0xb0], 0xfffffffc
mov dword [ebp - 0xb8], 0x1c0a9c5a
mov dword [ebp - 0x10], 0
jmp 0x442386
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x44239c
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xc8], 0xb26d8f9c
jmp 0x44237f
push 0xc78
push 0x2b22
push dword [ebp - 0x68]
push 0x2cc4
push 0
push 0x1bb0
push 0x1578
push 0x12d8
push 0xf8b
push 1
push 0x68cc
push 0
call fcn.00434ace
add esp, 0x30
jmp 0x442460
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x442444
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x44241e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xffffffe3
jle 0x442442
mov byte [ebp - 6], 0
movzx eax, byte [ebp - 6]
test eax, eax
je 0x442440
push 0x5eaf
push 0
call fcn.00430472
pop ecx
pop ecx
jmp 0x442413
jmp 0x442460
push 0x8e4
push 0x1747
push 0x5b5
push 0x1143
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esp, ebp
pop ebp
ret