Function at 0x100e0820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x100e083b
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
cmp dword [ebp - 4], 0
je 0x100e084e
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c4], 0
cmp dword [ebp - 4], 0
je 0x100e0860
cmp dword [ebp + 0x10], 0
je 0x100e0860
cmp dword [ebp + 0x14], 0
jge 0x100e0889
cmp dword [ebp + 8], 0
je 0x100e086f
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffffe
cmp dword [ebp - 4], 0
je 0x100e0882
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0xfffffffe
xor eax, eax
jmp 0x100e0b0d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1390]
test eax, eax
je 0x100e08c0
cmp dword [ebp + 8], 0
je 0x100e08a6
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xffffffff
cmp dword [ebp - 4], 0
je 0x100e08b9
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c4], 0xffffffff
xor eax, eax
jmp 0x100e0b0d
cmp dword [ebp + 0x14], 0
jne 0x100e08ef
cmp dword [ebp + 8], 0
je 0x100e08d5
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebp - 4], 0
je 0x100e08e8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0
xor eax, eax
jmp 0x100e0b0d
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x13a8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x13a4], edx
mov eax, 1
test eax, eax
je 0x100e0b0b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.100bf7b4
add esp, 4
test eax, eax
je 0x100e094f
cmp dword [ebp + 8], 0
je 0x100e0935
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffffa
cmp dword [ebp - 4], 0
je 0x100e0948
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0xfffffffa
xor eax, eax
jmp 0x100e0b0d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1398], 0
jne 0x100e09ff
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.100e3610
add esp, 4
movzx edx, al
test edx, edx
jne 0x100e09ff
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
push 0x1388
push 1
mov edx, dword [ebp - 4]
add edx, 4
push edx
call fcn.100baf7d
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.100bf7b4
add esp, 4
test eax, eax
je 0x100e09d2
cmp dword [ebp + 8], 0
je 0x100e09b8
mov edx, dword [ebp + 8]
mov dword [edx], 0xfffffffa
cmp dword [ebp - 4], 0
je 0x100e09cb
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c4], 0xfffffffa
xor eax, eax
jmp 0x100e0b0d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x138c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x138c]
mov dword [eax + 0x1398], edx
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1394], eax
mov edx, dword [ebp - 4]
add edx, 0x1394
push edx
call fcn.100e00f0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100e0a44
cmp dword [ebp - 8], 4
je 0x100e0a44
cmp dword [ebp + 8], 0
je 0x100e0a2b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x100e0a3d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x13c4], eax
xor eax, eax
jmp 0x100e0b0d
cmp dword [ebp - 8], 0
jne 0x100e0a9d
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.100e3610
add esp, 4
movzx eax, al
test eax, eax
je 0x100e0a9d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1398], 0
jne 0x100e0a9d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x13a8], 0
jbe 0x100e0a9d
cmp dword [ebp + 8], 0
je 0x100e0a86
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffff9
cmp dword [ebp - 4], 0
je 0x100e0a99
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0xfffffff9
xor eax, eax
jmp 0x100e0b0d
cmp dword [ebp - 8], 4
jne 0x100e0ad3
cmp dword [ebp + 8], 0
je 0x100e0ab2
mov edx, dword [ebp + 8]
mov dword [edx], 4
cmp dword [ebp - 4], 0
je 0x100e0ac5
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c4], 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
sub eax, dword [ecx + 0x13a8]
jmp 0x100e0b0d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x13a8], 0
jne 0x100e0b06
cmp dword [ebp + 8], 0
je 0x100e0aee
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebp - 4], 0
je 0x100e0b01
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0
mov eax, dword [ebp + 0x14]
jmp 0x100e0b0d
jmp 0x100e0907
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10