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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7828
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 0x80
push 3
push esi
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
test eax, eax
je 0x44344e
mov edi, eax
mov dword [ebp - 0x20], edi
cmp eax, 0xffffffff
je 0x44357f
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 0x44357f
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 0x44357f
mov esi, ecx
mov eax, 0x5a4d
mov dword [ebp - 0x14], esi
cmp word [ecx], ax
jne 0x44353d
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 0x443534
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
jne 0x443534
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x24], ecx
jae 0x443540
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.00444b70
mov esi, dword [ebp - 0x14]
mov eax, 0x5a4d
cmp word [esi], ax
je 0x443511
mov dword [ebp - 0x10], 0xc1
jmp 0x443588
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 0x443534
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0x4550
je 0x443540
mov dword [ebp - 0x10], 0xc1
jmp 0x443588
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x44354e
mov dword [ecx], esi
xor esi, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x44355c
mov dword [ecx], edi
xor edi, edi
mov dword [ebp - 0x20], edi
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x44356d
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 0x443576
mov dword [ecx], eax
mov dword [ebp - 0x10], 0
jmp 0x443588
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
test esi, esi
je 0x4435a3
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x4435a3
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 0x4435bf
test esi, esi
je 0x4435bf
push ebx
call esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4435d8
test esi, esi
je 0x4435d8
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