Function at 0x44cbfb
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x5b4a28]
xor eax, ebp
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x44cc2a
mov eax, 0x1000000
jmp 0x44cf6e
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44cc4a
mov eax, 0x200
jmp 0x44cf6e
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004b3170
add esp, 0xc
push 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004b3170
add esp, 0xc
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x54], eax
and dword [ebp - 0xac], 0
jmp 0x44ccf0
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 3
jge 0x44cd55
push 8
mov eax, dword [ebp - 0xac]
push dword [ebp + eax*4 - 0x5c]
lea eax, [ebp - 0xc0]
push eax
call fcn.004b3170
add esp, 0xc
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xbc]
sbb ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
push 8
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0xac]
push dword [ebp + eax*4 - 0x5c]
call fcn.004b3170
add esp, 0xc
jmp 0x44cce3
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x44cd70
mov eax, dword [ebp - 8]
or eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x44cd81
mov eax, dword [ebp - 8]
or eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x44cd92
mov eax, dword [ebp - 8]
or eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x44cda3
mov eax, dword [ebp - 8]
or eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 0x20
je 0x44cdb4
mov eax, dword [ebp - 8]
or eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x44cdc9
mov eax, dword [ebp - 8]
or eax, 0x40000000
mov dword [ebp - 8], eax
jmp 0x44cdd4
mov eax, dword [ebp - 8]
or eax, 0x80000000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
or eax, 0x1000000
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x44cde9
jmp 0x44cdf4
mov eax, dword [ebp - 8]
or eax, 0x800000
mov dword [ebp - 8], eax
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x28
jbe 0x44cedc
push 0
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 0xc4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0x24
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xc8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx eax, word [ebp - 0xc4]
cmp eax, 0x54ad
jne 0x44cedc
mov eax, dword [ebp - 0xc8]
add eax, 0x34
cmp dword [ebp - 0x50], eax
jbe 0x44cedc
push 0
push 0
push dword [ebp - 0xc8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0xcc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xcc], 0x5a4d
je 0x44ced1
cmp dword [ebp - 0xcc], 0x454e
je 0x44ced1
cmp dword [ebp - 0xcc], 0x454c
je 0x44ced1
cmp dword [ebp - 0xcc], 0x4550
jne 0x44cedc
mov eax, dword [ebp - 8]
or eax, 0x400000
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x44ceea
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x44cef8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x44cf36
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0044cb49
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0044cb49
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0044cb49
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
cmp dword [ebp + 0x18], 0
je 0x44cf6c
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
movzx eax, word [ebp - 0xd0]
movzx ecx, word [ebp - 0xd4]
shl ecx, 0x10
or eax, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b2f5a
leave
ret