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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070920
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10095070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x14], 8
mov eax, dword [ebp + 8]
jb 0x1000caf7
mov ecx, dword [edi]
mov dword [edi + 0x10], 0
xor edx, edx
mov word [ecx], dx
mov dword [edi + 0x18], 0xa
cmp dword [eax + 0x14], 8
jb 0x1000cb12
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x60], 0x100853ac
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x1000cb50
mov esi, 1
jmp 0x1000cddb
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x50]
push eax
push 0x1000
mov ecx, eax
call fcn.10008cc0
mov eax, 0x1000
mov dword [ebp - 0x44], 0
push 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x44]
push eax
push 0x1000
push dword [ebp - 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000cba9
lea esi, [eax + 2]
jmp 0x1000cd92
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
call fcn.10004c40
mov dword [edi + 0x18], eax
cmp eax, 0xa
jne 0x1000cbc4
lea esi, [eax - 7]
jmp 0x1000cd92
cmp eax, 2
je 0x1000cbce
cmp eax, 3
jne 0x1000cc1c
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
test eax, eax
jne 0x1000cbf2
xor esi, esi
jmp 0x1000cd92
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.10008cc0
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x54]
push eax
push dword [ebp - 0x50]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000cc1c
lea esi, [eax + 2]
jmp 0x1000cd92
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000cd35
nop dword [eax]
push dword [edi + 0x18]
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x40]
push eax
call fcn.10003840
add esp, 8
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1000cc9a
mov ecx, eax
call fcn.10003750
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1000ccd8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ccce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ce1d
push edx
push ecx
call fcn.10039776
add esp, 8
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x14], 8
mov ecx, edi
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 7
call fcn.100022b0
mov esi, dword [ebp - 0x54]
push esi
push 0
push dword [ebp - 0x50]
call fcn.10050890
add esp, 0xc
lea eax, [ebp - 0x44]
push 0
push eax
push esi
push dword [ebp - 0x50]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000cd6d
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x1000cc50
xor esi, esi
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1000cd7e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000cd74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ce1d
jmp 0x1000cd74
mov esi, 2
jmp 0x1000cd37
push edx
push ecx
call fcn.10039776
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x1000cddb
mov edx, dword [ebp - 0x48]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000cdbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ce22
push edx
push ecx
call fcn.10039776
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], 0x100853ac
test eax, eax
je 0x1000cdfe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], 0
mov eax, esi
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.10039765
mov esp, ebp
pop ebp
ret 0xc
call fcn.10053fe9
call fcn.10053fe9
int3