Function at 0x1011dc90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101585be
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x101a5034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xbc], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xcc]
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf4], esp
push eax
call fcn.10002c60
mov dword [ebp - 0x100], eax
call fcn.1007c400
add esp, 0x18
mov byte [ebp - 0xbd], al
movzx eax, byte [ebp - 0xbd]
test eax, eax
je 0x1011dd1c
lea ecx, [ebp + 0xc]
call fcn.10003ae0
movzx ecx, al
test ecx, ecx
je 0x1011dd4f
push 0x1015eca3
mov ecx, dword [ebp + 8]
call fcn.1000ccc0
mov edx, dword [ebp - 0xbc]
or edx, 1
mov dword [ebp - 0xbc], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000cd00
mov eax, dword [ebp + 8]
jmp 0x1011e13d
mov ecx, dword [ebp - 0xcc]
call fcn.1011e6f0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x1017d474
call fcn.10002c60
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xcc]
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
push eax
call fcn.10002c60
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0
call fcn.100f7ea0
add esp, 0x30
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xc8], ecx
cmp dword [ebp - 0xc8], 0
jne 0x1011de09
mov ecx, dword [ebp - 0xcc]
call fcn.1011e710
push 0
mov ecx, dword [ebp + 8]
call fcn.1000ccc0
mov edx, dword [ebp - 0xbc]
or edx, 1
mov dword [ebp - 0xbc], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000cd00
mov eax, dword [ebp + 8]
jmp 0x1011e13d
push 2
push 0
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.MSVCR120.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.MSVCR120.dll_ftell]
add esp, 4
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.MSVCR120.dll_rewind]
add esp, 4
mov eax, dword [ebp - 0xd0]
add eax, 1
push eax
call fcn.10141f46
add esp, 4
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xc4], ecx
cmp dword [ebp - 0xc4], 0
jne 0x1011dea0
push 0
mov ecx, dword [ebp + 8]
call fcn.1000ccc0
mov edx, dword [ebp - 0xbc]
or edx, 1
mov dword [ebp - 0xbc], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000cd00
mov eax, dword [ebp + 8]
jmp 0x1011e13d
mov eax, dword [ebp - 0xd0]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0xc4]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0xc8]
push edx
push 1
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x88]
call fcn.10009e80
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc4], 0
je 0x1011df37
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0xc4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10c], esp
lea edx, [ebp - 0x88]
push edx
call fcn.1000c9d0
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xcc]
call fcn.1011e180
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xcc]
call fcn.1011e710
push 0x1015ecce
lea ecx, [ebp - 0x58]
call fcn.1000ccc0
mov byte [ebp - 4], 4
mov ecx, 1
test ecx, ecx
je 0x1011e0e9
lea ecx, [ebp - 0x28]
call fcn.10003ae0
movzx edx, al
test edx, edx
je 0x1011dfaa
jmp 0x1011e0e9
push 0
push 0x1017cf24
lea ecx, [ebp - 0x28]
call fcn.10009fb0
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0xffffffff
jne 0x1011dfcd
jmp 0x1011e0e9
mov eax, dword [ebp - 0xd4]
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10009fe0
mov byte [ebp - 4], 5
push 0
push 0x1017cf74
lea ecx, [ebp - 0x40]
call fcn.10009fb0
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
push edx
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
call fcn.10009fe0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xc]
call fcn.10002460
push eax
lea ecx, [ebp + 0xc]
call fcn.1000c9b0
push eax
lea ecx, [ebp - 0x70]
call fcn.1000c9b0
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x1011e091
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xd8]
add ecx, 1
push ecx
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x40]
call fcn.10009fe0
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0x58]
call fcn.10009ec0
lea ecx, [ebp - 0xb8]
call fcn.1000cd00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.1000cd00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.1000cd00
jmp 0x1011e0e9
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xd4]
add ecx, 2
push ecx
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x28]
call fcn.10009fe0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x28]
call fcn.10009ec0
lea ecx, [ebp - 0xa0]
call fcn.1000cd00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.1000cd00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.1000cd00
jmp 0x1011df89
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000ca30
mov edx, dword [ebp - 0xbc]
or edx, 1
mov dword [ebp - 0xbc], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.1000cd00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000cd00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c66b
mov esp, ebp
pop ebp
ret 0x1c