Function at 0x110c9b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e2198
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x134]
mov dword [ebp - 0x7c], eax
xor eax, eax
push 0x2c
mov esi, ecx
push eax
lea ecx, [ebp - 0x6c]
mov edi, edx
push ecx
mov dword [ebp - 0x80], edi
mov byte [ebp - 0x70], 0
mov word [ebp - 0x6f], ax
mov byte [ebp - 0x6d], al
call sub.MSVCR100.dll_memset
push esi
push 1
lea edx, [ebp - 0x40]
push 0x30
push edx
mov dword [ebp - 0x78], 0
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x1c
test eax, eax
jle 0x110c9c87
mov eax, 0x30
xor ecx, ecx
jmp 0x110c9c10
mov edx, dword [ebp + ecx - 0x40]
cmp edx, dword [ebp + ecx - 0x70]
jne 0x110c9c27
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x110c9c10
jmp 0x110c9c40
cmp dword [ebp - 0x40], 0x52494350
jne 0x110c9c87
mov eax, 0x51eb851f
mul dword [ebp - 0x3c]
shr edx, 5
cmp edx, 3
ja 0x110c9c87
mov ax, word [ebp - 0x30]
test ax, ax
je 0x110c9d3c
movzx edi, ax
add edi, edi
add edi, edi
add edi, edi
push edi
call dword [sym.imp.MSVCR100.dll_malloc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x34]
push 0
push eax
push esi
call dword [sym.imp.MSVCR100.dll_fseek]
mov ecx, dword [ebp - 0x78]
push esi
push 1
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fread]
push ecx
call edi
add esp, 0x20
test eax, eax
jg 0x110c9ccc
mov edi, dword [ebp - 0x80]
test edi, edi
je 0x110c9cc5
cmp dword [ebp + 8], 0
jne 0x110c9caa
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edi
push 0
push 0x18c0
push eax
call edx
add esp, 0x10
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
mov eax, dword [ebp - 0x78]
add esp, 4
test eax, eax
je 0x110c9cc5
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor eax, eax
jmp 0x110c9d8a
push esi
push 1
lea eax, [ebp - 0x74]
push 2
push eax
call edi
add esp, 0x10
test eax, eax
jle 0x110c9d2e
movzx ecx, word [ebp - 0x74]
push ecx
call fcn.11170a40
mov edi, eax
mov dword [ebp - 0x80], edi
movzx edx, word [ebp - 0x74]
push esi
push edx
push 1
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x14
test eax, eax
jle 0x110c9d1e
push 0xfde9
push edi
call fcn.111bb900
add esp, 8
mov dword [ebx + 0xb40], eax
push edi
mov dword [ebp - 4], 0xffffffff
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 0x30
push esi
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
cmp dword [ebx + 0xb40], 0
jne 0x110c9d59
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push eax
call fcn.111bb900
add esp, 8
mov dword [ebx + 0xb40], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
call eax
mov dword [ebx + 0xaec], esi
lea edi, [ebx + 0xb0c]
mov ecx, 0xc
lea esi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x78]
mov dword [ebx + 0xb3c], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret