Function at 0x14ef7ee
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x4084
call fcn.0151fa1c
mov dword [esp + 8], edx
mov esi, dword [esp + 0x40a4]
mov ebx, ecx
lea ebp, [esp + 0x80]
mov eax, dword [0x42b238]
mov dword [esp + 0x4080], eax
mov dword [esi], 0
push ebx
push 0x4000
push 1
push ebp
call fcn.0152ec7c
add esp, 0x10
mov edi, eax
push ebx
call fcn.0152e42b
add esp, 4
test edi, edi
js 0x14ef99c
cmp edi, 0x4000
je 0x14ef99c
cmp edi, 2
mov dword [esi], 0x415b6c
jl 0x14ef9a2
mov al, byte [esp + 0x80]
test al, al
jne 0x14ef9a2
mov bl, byte [esp + 0x81]
cmp bl, 3
je 0x14ef884
test bl, bl
jne 0x14ef9a2
cmp edi, 6
jl 0x14ef9a2
cmp byte [esp + 0x82], 0
jne 0x14ef9a2
cmp byte [esp + 0x83], 0
jne 0x14ef9a2
cmp byte [esp + 0x84], 0
jne 0x14ef9a2
cmp byte [esp + 0x85], 0
jne 0x14ef9a2
lea eax, [edi - 6]
lea ecx, [esp + 0x86]
push 1
push 0
push dword [esp + 0x10]
push eax
push ecx
call fcn.014f1a98
add esp, 0x14
test eax, eax
js 0x14ef9a2
mov ecx, dword [esp + eax + 0x86]
bswap ecx
push ecx
mov dword [esp + 8], eax
call fcn.014c3094
add esp, 4
test eax, eax
js 0x14ef9a2
mov edx, dword [esp + 4]
mov ecx, edi
add edx, 0xa
sub ecx, edx
cmp ecx, eax
mov ecx, edx
jl 0x14ef9a2
mov byte [esp + 3], bl
xor ebx, ebx
mov dword [esp + 4], ecx
lea ecx, [eax + 1]
mov dword [esp + 0xc], eax
inc ebx
push ebx
push ecx
call fcn.014c75c3
add esp, 8
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x14ef967
mov eax, dword [esp + 4]
lea eax, [esp + eax + 0x80]
push dword [esp + 0xc]
push eax
push ecx
call fcn.01521fac
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0xc]
mov byte [ecx + eax], 0
mov eax, dword [esp + 0x409c]
test eax, eax
je 0x14ef988
push ecx
call fcn.014c755a
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x409c]
mov dword [edx], eax
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x4098]
test eax, eax
je 0x14ef9cb
mov dword [eax + 0x20], ecx
jmp 0x14ef9db
mov dword [esi], 0x416076
xor ebx, ebx
push 0x4000
push ebp
call fcn.0151738f
add esp, 8
mov ecx, dword [esp + 0x4080]
call fcn.0151fa06
mov eax, ebx
add esp, 0x4084
pop esi
pop edi
pop ebx
pop ebp
ret
push ecx
call fcn.014c7790
mov edx, dword [esp + 0x409c]
add esp, 4
test edx, edx
jne 0x14ef9a4
cmp dword [esp + 8], 0
je 0x14efb86
mov eax, dword [esp + 0xc]
add eax, dword [esp + 4]
cmp byte [esp + 3], 0
mov dword [esp + 0xc], eax
je 0x14efa71
lea eax, [esp + 0x14]
push eax
call fcn.014eea40
add esp, 4
push dword [esp + 0x40a0]
call fcn.0152fcec
add esp, 4
push eax
push dword [esp + 0x40a4]
lea eax, [esp + 0x1c]
push eax
call fcn.014eea5a
add esp, 0xc
lea ecx, [esp + 0x14]
lea eax, [esp + 0x70]
push ecx
push eax
call fcn.014ef29b
add esp, 8
mov ecx, dword [esp + 0xc]
lea eax, [edi + 7]
sub eax, ecx
lea ecx, [esp + ecx + 0x80]
and eax, 0xfffffff8
push eax
push ecx
lea eax, [esp + 0x78]
push eax
call fcn.014e74f0
add esp, 0xc
push 0x10
lea eax, [esp + 0x74]
push eax
call fcn.0151738f
add esp, 8
mov ecx, dword [esp + 0xc]
mov eax, edi
sub eax, ecx
cmp eax, 4
jl 0x14ef9a2
mov al, byte [esp + ecx + 0x80]
cmp al, byte [esp + ecx + 0x82]
jne 0x14efb9b
mov al, byte [esp + ecx + 0x81]
cmp al, byte [esp + ecx + 0x83]
jne 0x14efb9b
lea edx, [ecx + 4]
mov eax, edi
lea ecx, [esp + ecx + 0x84]
mov dword [esp + 4], edx
sub eax, edx
push dword [esp + 8]
push eax
push ecx
call fcn.014f1b96
add esp, 0xc
mov ecx, eax
test eax, eax
js 0x14ef9a2
mov edx, ecx
mov eax, dword [esp + 8]
mov ecx, edi
add edx, dword [esp + 4]
lea eax, [eax + 0x1c]
sub ecx, edx
mov dword [esp + 4], edx
lea edx, [esp + edx + 0x80]
push eax
push ecx
push edx
call fcn.014e574c
add esp, 0xc
mov ecx, eax
test eax, eax
js 0x14ef9a2
mov edx, ecx
mov eax, dword [esp + 8]
mov ecx, edi
add edx, dword [esp + 4]
lea eax, [eax + 0x18]
sub ecx, edx
mov dword [esp + 4], edx
lea edx, [esp + edx + 0x80]
push eax
push ecx
push edx
call fcn.014e574c
add esp, 0xc
test eax, eax
js 0x14ef9a2
mov ecx, dword [esp + 8]
add eax, dword [esp + 4]
lea ecx, [ecx + 0x14]
sub edi, eax
lea eax, [esp + eax + 0x80]
push ecx
push edi
push eax
call fcn.014e574c
add esp, 0xc
test eax, eax
js 0x14ef9a2
push dword [esp + 8]
call fcn.014f2303
add esp, 4
test eax, eax
jne 0x14ef9a4
mov dword [esi], 0x416089
push dword [esp + 8]
call fcn.014f24f2
add esp, 4
jmp 0x14ef9a2
xor ebx, ebx
cmp byte [esp + 3], 0
mov dword [esi], 0
setne bl
jmp 0x14ef9a4
xor ebx, ebx
mov dword [esi], 0x415bcf
dec ebx
jmp 0x14ef9a4