Function at 0x1011d740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10158551
mov eax, dword fs:[0]
push eax
sub esp, 0x128
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 - 0xdc], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xdc]
call fcn.1011e6f0
push 0x1015eca2
lea ecx, [ebp - 0x28]
call fcn.1000ccc0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xdc]
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
call fcn.10002c60
mov dword [ebp - 0x118], eax
call fcn.1007c400
add esp, 0x18
mov byte [ebp - 0xd4], al
movzx eax, byte [ebp - 0xd4]
test eax, eax
je 0x1011d9ea
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x1017d46c
call fcn.10002c60
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xdc]
call fcn.10001960
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x130], esp
push eax
call fcn.10002c60
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 2
call fcn.100f7ea0
add esp, 0x30
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jne 0x1011d88b
mov ecx, dword [ebp - 0xdc]
call fcn.1011e710
mov byte [ebp - 0xd2], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.1000cd00
mov al, byte [ebp - 0xd2]
jmp 0x1011dc69
push 2
push 0
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCR120.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVCR120.dll_ftell]
add esp, 4
mov dword [ebp - 0xe8], eax
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.MSVCR120.dll_rewind]
add esp, 4
mov eax, dword [ebp - 0xe8]
add eax, 1
push eax
call fcn.10141f46
add esp, 4
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe8]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0xe0]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0xe4]
push ecx
push 1
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.MSVCR120.dll_fread]
add esp, 0x10
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xa0]
call fcn.10009e80
mov byte [ebp - 4], 4
cmp dword [ebp - 0xe0], 0
je 0x1011d980
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf4]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0xe0], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11c], esp
lea eax, [ebp - 0xa0]
push eax
call fcn.1000c9d0
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.1011e180
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x28]
call fcn.10009ec0
lea ecx, [ebp - 0xb8]
call fcn.1000cd00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.1000cd00
mov byte [ebp - 0xd1], 0
lea ecx, [ebp - 0x40]
call fcn.1000cbb0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10003ae0
movzx ecx, al
test ecx, ecx
jne 0x1011db97
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x58]
call fcn.1000c9d0
mov byte [ebp - 4], 6
mov eax, 1
test eax, eax
je 0x1011db8b
lea ecx, [ebp - 0x58]
call fcn.10003ae0
movzx ecx, al
test ecx, ecx
je 0x1011da41
jmp 0x1011db8b
push 0
push 0x1017cc84
lea ecx, [ebp - 0x58]
call fcn.10009fb0
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xffffffff
jne 0x1011da64
jmp 0x1011db8b
mov edx, dword [ebp - 0xec]
push edx
push 0
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.10009fe0
mov byte [ebp - 4], 7
push 0
push 0x1017cd3c
lea ecx, [ebp - 0x70]
call fcn.10009fb0
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
push 0
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x70]
call fcn.10009fe0
mov byte [ebp - 4], 8
lea ecx, [ebp + 8]
call fcn.10002460
push eax
lea ecx, [ebp + 8]
call fcn.1000c9b0
push eax
lea ecx, [ebp - 0x88]
call fcn.1000c9b0
push eax
call dword [sym.imp.MSVCR120.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x1011db17
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.10036500
push 0x1017ccf4
lea ecx, [ebp - 0x40]
call fcn.10036490
lea ecx, [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10036500
push 0x1017cdfc
lea ecx, [ebp - 0x40]
call fcn.10036490
mov byte [ebp - 0xd1], 1
jmp 0x1011db30
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x40]
call fcn.10036500
push 0x1017cd8c
lea ecx, [ebp - 0x40]
call fcn.10036490
push 0xffffffffffffffff
mov eax, dword [ebp - 0xec]
add eax, 2
push eax
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x58]
call fcn.10009fe0
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x58]
call fcn.10009ec0
lea ecx, [ebp - 0xd0]
call fcn.1000cd00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.1000cd00
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.1000cd00
jmp 0x1011da20
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.1000cd00
movzx eax, byte [ebp - 0xd1]
test eax, eax
jne 0x1011dbd6
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10036500
push 0x1017cec4
lea ecx, [ebp - 0x28]
call fcn.10036490
lea edx, [ebp + 0x20]
push edx
lea ecx, [ebp - 0x28]
call fcn.10036500
push 0x1017ce6c
lea ecx, [ebp - 0x28]
call fcn.10036490
jmp 0x1011dbe2
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000cab0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.1000c9d0
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0xdc]
call fcn.1011e730
mov byte [ebp - 0xd6], al
mov al, byte [ebp - 0xd6]
mov byte [ebp - 0xd3], al
mov ecx, dword [ebp - 0xdc]
call fcn.1011e710
mov cl, byte [ebp - 0xd3]
mov byte [ebp - 0xd5], cl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1000cd00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000cd00
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.1000cd00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.1000cd00
mov al, byte [ebp - 0xd5]
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 0x30