Function at 0x438a10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5f50
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x52de04]
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 ebx, ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], 0xffffffff
mov edx, dword [eax]
xor eax, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x80], edx
cmove edi, eax
cmp ecx, 0xc0000001
jg 0x438ab9
je 0x438aaf
cmp ecx, 0x80000000
je 0x438ac5
cmp ecx, 0xc0000000
jne 0x438ccb
lea ecx, [eax + 4]
lea eax, [ecx - 2]
jmp 0x438acf
mov ecx, 8
lea eax, [ecx - 7]
jmp 0x438acf
cmp ecx, 0xc0000002
jne 0x438ccb
mov ecx, 2
mov eax, 4
push 0
push 0
push 0
push ecx
push 0
or edi, eax
mov byte [ebp - 0x88], 0
push edx
mov dword [ebp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x438b07
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043c440
jmp 0x438cd8
mov eax, edi
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x88], eax
mov eax, dword [0x68abf0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], eax
test eax, eax
jne 0x438b38
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x74]
push 0
push eax
push dword [ebp - 0x7c]
push edx
call fcn.004b4100
imul eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp - 0x78]
sub eax, ecx
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x78], 0
cmove eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], eax
test esi, esi
jne 0x438bdc
push 4
call fcn.00440440
add esp, 4
lea ecx, [ebp - 0xa0]
push esi
push 0x10
push ecx
push esi
push edi
call eax
test eax, eax
je 0x438ba2
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x84]
call fcn.0043c440
push esi
lea eax, [ebp - 0x84]
jmp 0x438ce0
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x7c]
jl 0x438c19
mov esi, dword [ebp - 0x98]
mov edx, dword [ebp - 0x74]
jg 0x438bbc
cmp esi, edx
jb 0x438c19
mov ecx, esi
sub ecx, edx
sbb eax, dword [ebp - 0x7c]
add ecx, dword [ebp - 0x70]
adc eax, 0
test eax, eax
ja 0x438c19
jb 0x438bd4
cmp ecx, 0xffffffff
ja 0x438c19
mov edx, dword [ebp - 0x74]
sub esi, edx
mov ecx, dword [ebp - 0x70]
push dword [ebp - 0x78]
lea eax, [ecx + esi]
sub edx, ecx
mov ecx, dword [ebp - 0x7c]
push eax
push edx
sbb ecx, 0
push ecx
push dword [ebp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
jne 0x438c33
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x84]
call fcn.0043c440
push 0
lea eax, [ebp - 0x84]
jmp 0x438ce0
push 0x12
lea ecx, [ebp - 0x84]
call fcn.0043c480
push 0
lea eax, [ebp - 0x84]
jmp 0x438ce0
mov edx, dword [ebp - 0x70]
add eax, edx
push dword [ebp - 0x90]
mov dword [ebx], eax
mov dword [ebx + 8], edx
mov dword [ebx + 4], esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov edi, eax
call esi
push 2
push 0
push 0
lea ecx, [ebx + 0x10]
push ecx
push edi
push dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x438cab
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x8c]
call fcn.0043c440
mov ecx, ebx
call fcn.0043d500
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x68]
call fcn.0043c620
push 0x521ce8
lea eax, [ebp - 0x68]
jmp 0x438cf1
mov eax, ebx
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.004b3f28
mov esp, ebp
pop ebp
ret 0x1c
push 0x11
lea ecx, [ebp - 0x8c]
call fcn.0043c480
push 0
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043c620
push 0x521ce8
lea eax, [ebp - 0x3c]
push eax
call fcn.004b8c76
int3