Function at 0x100dfc50
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 0x100dfc6b
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
cmp dword [ebp - 4], 0
je 0x100dfc7e
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c4], 0
cmp dword [ebp - 4], 0
je 0x100dfc90
cmp dword [ebp + 0x10], 0
je 0x100dfc90
cmp dword [ebp + 0x14], 0
jge 0x100dfcb9
cmp dword [ebp + 8], 0
je 0x100dfc9f
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffffe
cmp dword [ebp - 4], 0
je 0x100dfcb2
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0xfffffffe
xor eax, eax
jmp 0x100dff3d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1390]
test eax, eax
je 0x100dfcf0
cmp dword [ebp + 8], 0
je 0x100dfcd6
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xffffffff
cmp dword [ebp - 4], 0
je 0x100dfce9
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c4], 0xffffffff
xor eax, eax
jmp 0x100dff3d
cmp dword [ebp + 0x14], 0
jne 0x100dfd1f
cmp dword [ebp + 8], 0
je 0x100dfd05
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebp - 4], 0
je 0x100dfd18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0
xor eax, eax
jmp 0x100dff3d
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 0x100dff3b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.100bebe4
add esp, 4
test eax, eax
je 0x100dfd7f
cmp dword [ebp + 8], 0
je 0x100dfd65
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffffa
cmp dword [ebp - 4], 0
je 0x100dfd78
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0xfffffffa
xor eax, eax
jmp 0x100dff3d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1398], 0
jne 0x100dfe2f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.100e2a40
add esp, 4
movzx edx, al
test edx, edx
jne 0x100dfe2f
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.100ba32e
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call fcn.100bebe4
add esp, 4
test eax, eax
je 0x100dfe02
cmp dword [ebp + 8], 0
je 0x100dfde8
mov edx, dword [ebp + 8]
mov dword [edx], 0xfffffffa
cmp dword [ebp - 4], 0
je 0x100dfdfb
mov eax, dword [ebp - 4]
mov dword [eax + 0x13c4], 0xfffffffa
xor eax, eax
jmp 0x100dff3d
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.100df520
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100dfe74
cmp dword [ebp - 8], 4
je 0x100dfe74
cmp dword [ebp + 8], 0
je 0x100dfe5b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x100dfe6d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x13c4], eax
xor eax, eax
jmp 0x100dff3d
cmp dword [ebp - 8], 0
jne 0x100dfecd
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call fcn.100e2a40
add esp, 4
movzx eax, al
test eax, eax
je 0x100dfecd
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x1398], 0
jne 0x100dfecd
mov edx, dword [ebp - 4]
cmp dword [edx + 0x13a8], 0
jbe 0x100dfecd
cmp dword [ebp + 8], 0
je 0x100dfeb6
mov eax, dword [ebp + 8]
mov dword [eax], 0xfffffff9
cmp dword [ebp - 4], 0
je 0x100dfec9
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0xfffffff9
xor eax, eax
jmp 0x100dff3d
cmp dword [ebp - 8], 4
jne 0x100dff03
cmp dword [ebp + 8], 0
je 0x100dfee2
mov edx, dword [ebp + 8]
mov dword [edx], 4
cmp dword [ebp - 4], 0
je 0x100dfef5
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 0x100dff3d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x13a8], 0
jne 0x100dff36
cmp dword [ebp + 8], 0
je 0x100dff1e
mov eax, dword [ebp + 8]
mov dword [eax], 0
cmp dword [ebp - 4], 0
je 0x100dff31
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x13c4], 0
mov eax, dword [ebp + 0x14]
jmp 0x100dff3d
jmp 0x100dfd37
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10