Function at 0x44cc33
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 0x44cc62
mov eax, 0x1000000
jmp 0x44cfa6
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 0x44cc82
mov eax, 0x200
jmp 0x44cfa6
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.004b3250
add esp, 0xc
push 8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004b3250
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 0x44cd28
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 3
jge 0x44cd8d
push 8
mov eax, dword [ebp - 0xac]
push dword [ebp + eax*4 - 0x5c]
lea eax, [ebp - 0xc0]
push eax
call fcn.004b3250
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.004b3250
add esp, 0xc
jmp 0x44cd1b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
and dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x44cda8
mov eax, dword [ebp - 8]
or eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x44cdb9
mov eax, dword [ebp - 8]
or eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x44cdca
mov eax, dword [ebp - 8]
or eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x44cddb
mov eax, dword [ebp - 8]
or eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 0x20
je 0x44cdec
mov eax, dword [ebp - 8]
or eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
and eax, 0x10
je 0x44ce01
mov eax, dword [ebp - 8]
or eax, 0x40000000
mov dword [ebp - 8], eax
jmp 0x44ce0c
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 0x44ce21
jmp 0x44ce2c
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 0x44cf14
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 0x44cf14
mov eax, dword [ebp - 0xc8]
add eax, 0x34
cmp dword [ebp - 0x50], eax
jbe 0x44cf14
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 0x44cf09
cmp dword [ebp - 0xcc], 0x454e
je 0x44cf09
cmp dword [ebp - 0xcc], 0x454c
je 0x44cf09
cmp dword [ebp - 0xcc], 0x4550
jne 0x44cf14
mov eax, dword [ebp - 8]
or eax, 0x400000
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x44cf22
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x44cf30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x44cf6e
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.0044cb81
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0044cb81
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 4], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0044cb81
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
cmp dword [ebp + 0x18], 0
je 0x44cfa4
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.004b303a
leave
ret