Function at 0x41d700
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bea8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x685680]
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 ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
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 - 0x78], 0
mov dword [ebp - 0x7c], edx
cmp ecx, 0xc0000001
jg 0x41d796
je 0x41d788
cmp ecx, 0x80000000
je 0x41d7c7
cmp ecx, 0xc0000000
jne 0x41d79e
mov eax, 4
mov dword [ebp - 0x6c], 2
jmp 0x41d7d3
mov eax, 8
mov dword [ebp - 0x6c], 1
jmp 0x41d7d3
cmp ecx, 0xc0000002
je 0x41d7c7
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0x11
push ecx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004010f0
push 0x673774
lea eax, [ebp - 0x3c]
push eax
call fcn.005d3ef0
mov eax, 2
mov dword [ebp - 0x6c], 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 0x41d7fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x74]
call fcn.004010b0
jmp 0x41d7ac
mov dword [ebp - 0x70], esi
mov dword [ebp - 4], 0
mov eax, dword [0x6928cc]
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x41d826
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
push 0
push eax
push 0
push 0
call fcn.005d49e0
mov ebx, eax
imul ebx, dword [ebp - 0x84]
mov ecx, 4
neg ebx
call fcn.004020d0
push 0
push 0x10
lea ecx, [ebp - 0x98]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x41d873
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x80]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x80]
jmp 0x41d7b0
push 0
push ebx
sub esp, 8
lea ecx, [ebp - 0x78]
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
call fcn.0041a330
mov ecx, dword [ebp - 0x78]
add esp, 0x18
add ecx, ebx
push 0
mov eax, ebx
neg eax
push ecx
mov edx, 0
adc edx, edx
push eax
neg edx
push edx
push dword [ebp - 0x6c]
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
test eax, eax
jne 0x41d8cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x80]
call fcn.004010b0
push ecx
lea eax, [ebp - 0x80]
jmp 0x41d7b0
add eax, ebx
mov dword [edi], eax
mov eax, dword [ebp - 0x78]
push esi
mov dword [edi + 8], ebx
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]
push 2
push 0
push 0
lea eax, [edi + 0x10]
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 0x41d93b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x74]
call fcn.004010b0
mov ecx, edi
call fcn.0041a2f0
push ecx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x68]
call fcn.004010f0
push 0x673774
lea eax, [ebp - 0x68]
jmp 0x41d7c1
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.005cd355
mov esp, ebp
pop ebp
ret 0x18