Function at 0x443180
Capabilities:
Get system information on windows
Parse pe header
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c71f8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], edx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
push esi
push pe_nt_image_headers32
push 3
push esi
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x4431ee
mov edi, eax
mov dword [ebp - 0x20], edi
cmp eax, 0xffffffff
je 0x44331f
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x44331f
mov ebx, eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x4c]
push eax
push 0
push 0
push 4
push ebx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x44331f
mov esi, ecx
mov eax, 0x5a4d
mov dword [ebp - 0x14], esi
cmp word [ecx], ax
jne 0x4432dd
mov eax, dword [ecx + 0x3c]
add eax, ecx
push 0xf8
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4432d4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x4432d4
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], ecx
jae 0x4432e0
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x10]
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
lea ecx, [ebp - 0x14]
call fcn.00444910
mov esi, dword [ebp - 0x14]
mov eax, 0x5a4d
cmp word [esi], ax
je 0x4432b1
mov dword [ebp - 0x10], 0xc1
jmp 0x443328
mov eax, dword [esi + 0x3c]
add eax, esi
push 0xf8
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4432d4
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
je 0x4432e0
mov dword [ebp - 0x10], 0xc1
jmp 0x443328
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4432ee
mov dword [ecx], esi
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4432fc
mov dword [ecx], edi
xor edi, edi
mov dword [ebp - 0x20], edi
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x44330d
mov ecx, dword [ebp - 0x18]
xor ebx, ebx
mov dword [edx], ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x443316
mov dword [ecx], eax
mov dword [ebp - 0x10], 0
jmp 0x443328
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x443343
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x443343
push esi
call eax
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x44335f
test esi, esi
je 0x44335f
push ebx
call esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x443378
test esi, esi
je 0x443378
push edi
call esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret