Function at 0x427140
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbe3b
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x55bc74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0xc]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], 0xffffffff
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp ecx, 0xc0000001
jg 0x4271e3
je 0x4271de
cmp ecx, 0x80000000
je 0x42721a
cmp ecx, 0xc0000000
jne 0x4271eb
or esi, 2
jmp 0x42721d
or esi, 1
jmp 0x42721d
cmp ecx, 0xc0000002
je 0x42721a
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x88], 0x11
push 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042b110
push 0x54d844
lea eax, [ebp - 0x3c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
or esi, 4
mov dword [ebp - 0x88], 0xffffffff
mov ebx, dword [0x55ecc4]
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x427245
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x18]
push 0
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.004f6b40
mov edx, dword [ebp - 0x70]
imul eax, ebx
mov ebx, edx
sub ebx, eax
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x427269
sub eax, ebx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
test eax, eax
jne 0x4272d9
push 4
call fcn.0042f510
add esp, 4
lea ecx, [ebp - 0x9c]
push 0
push 0x10
push ecx
push 0
push dword [ebp - 0x7c]
call eax
test eax, eax
je 0x4272af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x84]
call fcn.0042b0d0
push 0
lea eax, [ebp - 0x84]
jmp 0x427203
lea eax, [ebp - 0x80]
push eax
push 0
push ebx
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
call fcn.00433570
mov eax, dword [ebp - 0x80]
add esp, 0x1c
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x74]
add eax, ebx
push ecx
push eax
sub edx, ebx
push edx
sbb dword [ebp - 0x6c], 0
push dword [ebp - 0x6c]
push esi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
jne 0x427317
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x84]
call fcn.0042b0d0
push 0
lea eax, [ebp - 0x84]
jmp 0x427203
add eax, ebx
mov dword [edi + 8], ebx
mov dword [edi], eax
mov eax, dword [ebp - 0x78]
push 0xffffffffffffffff
mov dword [edi + 4], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [edi + 0x10]
push 2
push 0
push 0
push eax
call esi
push eax
push dword [ebp - 0x7c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42738d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0042b0d0
mov ecx, edi
call fcn.00432760
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0042b110
push 0x54d844
lea eax, [ebp - 0x68]
jmp 0x427214
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f6b29
mov esp, ebp
pop ebp
ret 0x1c