Function at 0x429730
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bb38
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x4964e0]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 8]
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 edx, dword [eax]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], edx
cmp ecx, 0xc0000001
jg 0x4297c6
je 0x4297b8
cmp ecx, 0x80000000
je 0x4297f7
cmp ecx, 0xc0000000
jne 0x4297ce
mov eax, 4
mov dword [ebp - 0x70], 2
jmp 0x429803
mov eax, 8
mov dword [ebp - 0x70], 1
jmp 0x429803
cmp ecx, 0xc0000002
je 0x4297f7
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0x11
push ecx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0x40]
push eax
call fcn.0044a4ab
mov eax, 2
mov dword [ebp - 0x70], 4
push 0
push 0
push 0
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
jne 0x42982a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x78]
call fcn.00423360
jmp 0x4297dc
mov dword [ebp - 0x74], esi
mov dword [ebp - 4], 0
mov eax, dword [0x49efc0]
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x429856
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
push 0
push eax
push 0
push 0
call fcn.004568e0
mov ebx, eax
mov ecx, 4
imul ebx, dword [ebp - 0x88]
neg ebx
call fcn.0041e5a0
push 0
push 0x10
lea ecx, [ebp - 0x9c]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x4298a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x84]
call fcn.00423360
push ecx
lea eax, [ebp - 0x84]
jmp 0x4297e0
push 0
push ebx
sub esp, 8
lea ecx, [ebp - 0x7c]
push dword [ebp - 0x90]
push dword [ebp - 0x94]
call fcn.00424b80
mov ecx, dword [ebp - 0x7c]
add esp, 0x18
add ecx, ebx
mov eax, ebx
neg eax
mov edx, 0
push 0
push ecx
adc edx, edx
push eax
neg edx
push edx
push dword [ebp - 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
jne 0x429909
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x84]
call fcn.00423360
push ecx
lea eax, [ebp - 0x84]
jmp 0x4297e0
add eax, ebx
mov dword [edi + 8], ebx
mov dword [edi], eax
mov eax, dword [ebp - 0x7c]
push esi
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 - 0x80]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x429977
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x78]
call fcn.00423360
mov ecx, edi
call fcn.00424b40
push ecx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041b570
push 0x493534
lea eax, [ebp - 0x6c]
jmp 0x4297f1
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 - 0x14]
xor ecx, ebp
call fcn.004472f1
mov esp, ebp
pop ebp
ret 0x1c