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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
je 0x4418e6
mov eax, 0x1000000
jmp 0x441c4d
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x441907
mov eax, 0x200
jmp 0x441c4d
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 8
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0048ec60
add esp, 0xc
push 8
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.0048ec60
add esp, 0xc
mov ecx, dword [ebp - 0x60]
sub ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x5c]
sbb edx, dword [ebp - 0x6c]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x44]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0xa4], 0
jmp 0x4419ac
mov eax, dword [ebp - 0xa4]
add eax, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 3
jge 0x441a13
push 8
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp + ecx*4 - 0x58]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.0048ec60
add esp, 0xc
mov ecx, dword [ebp - 0xb8]
sub ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0xb4]
sbb edx, dword [ebp - 0x84]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], edx
push 8
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp + ecx*4 - 0x58]
push edx
call fcn.0048ec60
add esp, 0xc
jmp 0x44199d
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
and ecx, 1
je 0x441a31
mov edx, dword [ebp - 8]
or edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x441a42
mov ecx, dword [ebp - 8]
or ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
and edx, 4
je 0x441a53
mov eax, dword [ebp - 8]
or eax, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x10
je 0x441a64
mov edx, dword [ebp - 8]
or edx, 0x10
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x20
je 0x441a75
mov ecx, dword [ebp - 8]
or ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x10
je 0x441a8a
mov eax, dword [ebp - 8]
or eax, 0x40000000
mov dword [ebp - 8], eax
jmp 0x441a96
mov ecx, dword [ebp - 8]
or ecx, 0x80000000
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
or edx, 0x1000000
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x441aac
jmp 0x441ab8
mov ecx, dword [ebp - 8]
or ecx, 0x800000
mov dword [ebp - 8], ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x28
jbe 0x441ba9
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 2
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0x24
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0xc0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
movzx edx, word [ebp - 0xbc]
cmp edx, 0x54ad
jne 0x441ba9
mov eax, dword [ebp - 0xc0]
add eax, 0x34
cmp dword [ebp - 0x4c], eax
jbe 0x441ba9
push 0
push 0
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc4], 0x5a4d
je 0x441b9e
cmp dword [ebp - 0xc4], 0x454e
je 0x441b9e
cmp dword [ebp - 0xc4], 0x454c
je 0x441b9e
cmp dword [ebp - 0xc4], 0x4550
jne 0x441ba9
mov eax, dword [ebp - 8]
or eax, 0x400000
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x441bb7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x441bc5
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x441c15
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00441800
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00441800
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x44]
push eax
call fcn.00441800
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
cmp dword [ebp + 0x18], 0
je 0x441c4b
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
movzx edx, word [ebp - 0xc8]
movzx eax, word [ebp - 0xcc]
shl eax, 0x10
or edx, eax
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
xor eax, eax
mov esp, ebp
pop ebp
ret