Function at 0x42cc06
Capabilities:
Get system information on windows

Disassembly:
push 0x6c
mov eax, 0x4dcca9
call fcn.004a941b
mov ebx, ecx
mov dword [ebp - 0x50], ebx
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x78]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x78], 0
jne 0x42cc8e
mov eax, dword [0x513098]
and eax, 0x1f
cmp al, 0x1f
jne 0x42cc87
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 7
call fcn.004031c0
mov byte [ebp - 0x30], bl
push 0x4f5918
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00404c40
lea eax, [ebp - 0x48]
push eax
push eax
push 0x88
push str.Utils::Is64BitProcess
push 0x1f
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x48]
call fcn.00403170
xor al, al
jmp 0x42ce5d
push 3
pop ecx
call fcn.0043389f
mov ecx, 0x400
mov edx, 0x1000
test al, al
cmovne ecx, edx
push ebx
xor ebx, ebx
push ebx
push ecx
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
jne 0x42cd64
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x42ce5b
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], bl
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00428b2d
mov esi, eax
push 0x4f59b4
push dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
push str.Cant_query_process_info_id
mov byte [ebp - 4], 3
call fcn.00404c40
mov ecx, eax
call fcn.004059d0
mov ecx, eax
call fcn.00404c40
push 0xffffffffffffffff
push ebx
push esi
mov ecx, eax
call fcn.00402a00
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00403170
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x93
push str.Utils::Is64BitProcess
push 3
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
jmp 0x42ce5b
mov eax, dword [0x5142b0]
cmp eax, 0xffffffff
jne 0x42cd8a
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5142b0], eax
mov dword [ebp - 0x4c], ebx
test eax, eax
je 0x42cdf9
lea ecx, [ebp - 0x4c]
push ecx
push esi
call eax
test eax, eax
jne 0x42ce4d
mov eax, dword [0x513098]
and eax, 0x1f
cmp al, 0x1f
jne 0x42cdf4
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], bl
push str.IsWow64Process_return_error
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00404c40
lea eax, [ebp - 0x2c]
push eax
push eax
push 0xa1
push str.Utils::Is64BitProcess
push 0x1f
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
mov dword [ebp - 0x4c], ebx
jmp 0x42ce4d
mov eax, dword [0x513098]
and eax, 0x1f
cmp al, 0x1f
jne 0x42ce4d
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 7
call fcn.004031c0
mov byte [ebp - 0x14], bl
push str.cant_get_pointer_to_func_IsWow64Process
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00404c40
lea eax, [ebp - 0x2c]
push eax
push eax
push 0xa7
push str.Utils::Is64BitProcess
push 0x1f
call fcn.00428590
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.00403170
cmp dword [ebp - 0x4c], 0
push esi
sete bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.004a93ca
ret