Function at 0x10112cb4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10112d1b
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10112d42
push 0x19
push 0x429a4f6
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10112d59
mov eax, 0x10177d0d
jmp 0x10112f29
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10112d8a
push 0xc4
push 0x429a4f6
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.1012faa0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10112dc0
push ebx
call fcn.1012e0c0
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1001500b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x1000
push 0x80000301
push 0
push dword [ebp - 0x14]
push 1
mov ebx, 0x1bc
call fcn.1012faa0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10112e0a
push ebx
call fcn.1012e0c0
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.1001500b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10112e55
push 0x1f7
push 0x429a4f6
push 6
call fcn.1012e0c6
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10112e67
jmp 0x10112ede
cmp dword [ebp - 0x1c], 0
jne 0x10112e76
jmp 0x10112ede
lea eax, [ebp - 0x18]
push eax
call fcn.1001500b
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x10112eb4
push 0x2ad
push 0x429a4f6
push 6
call fcn.1012e0c6
add esp, 0xc
fild dword [ebp - 0x10]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.10002973
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], 0
jne 0x10112dd7
mov dword [ebp - 0x20], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10112f0a
push 0x341
push 0x429a4f6
push 6
call fcn.1012e0c6
add esp, 0xc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x10112f24
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1012e0ba
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10112f29
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10112f3a
push ebx
call fcn.1012e0c0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10112f4a
push ebx
call fcn.1012e0c0
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4