Function at 0x14003df40
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbx
push r14
sub rsp, 0x4e8
mov qword [rax + 0x10], rbp
mov r14, rcx
mov qword [rax - 0x18], rdi
mov rbp, r9
mov rdi, qword [rsp + 0x520]
mov qword [rax - 0x20], r13
mov rcx, rdi
mov qword [rax - 0x28], r15
mov r13, rdx
movaps xmmword [rax - 0x38], xmm6
lea rdx, [0x14008abcc]
movaps xmm6, xmm2
call fcn.1400147d0
mov r15, rax
test rax, rax
jne 0x14003dfc9
mov rbx, qword [r14 + 0x110]
mov ecx, 0x208
call fcn.140058a4c
mov qword [rax], 0x200
lock add qword [rbx], 0x200
lea rbx, [rax + 8]
mov r9, rdi
mov rcx, rbx
lea r8, str.couldnt_open__s_for_reading
mov edx, 0x200
call fcn.140003390
jmp 0x14003e038
xor edx, edx
mov qword [rsp + 0x510], rsi
mov rcx, r15
lea r8d, [rdx + 2]
call fcn.14005de68
mov rcx, r15
call fcn.14005db60
mov rcx, r15
movsxd rsi, eax
call fcn.14005dff0
mov rbx, qword [r14 + 0x110]
lea rdi, [rsi + 1]
lea rcx, [rdi + 8]
call fcn.140058a4c
mov qword [rax], rdi
lock add qword [rbx], rdi
lea rbx, [rax + 8]
mov r9, r15
mov rcx, rbx
mov r8, rsi
mov edx, 1
call fcn.140058984
mov rcx, r15
mov byte [rax + rbx], 0
call fcn.140056cc4
mov rsi, qword [rsp + 0x510]
mov rax, qword [rbp + 8]
mov r15, qword [rsp + 0x4d0]
mov ecx, dword [rax + 0xa4]
shr ecx, 0xd
test cl, 1
je 0x14003e058
mov rax, qword [rbp + 0x48]
jmp 0x14003e05c
lea rax, [rbp + 0x20]
movups xmm0, xmmword [rax]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x90]
movups xmmword [rsp + 0x80], xmm0
call fcn.14002de90
mov rax, qword [rbp + 8]
lea r8, str._s__CacheHit__s_
add rax, 0xc
lea rcx, [rsp + 0xc0]
xor edi, edi
mov edx, 0x400
movsxd r9, dword [rax]
add r9, rax
cmp dword [rax], edi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
cmove r9, rdi
call fcn.140003390
test eax, eax
jle 0x14003e0ed
cdqe
cmp rax, 0x400
jae 0x14003e0ed
mov r8d, dword [r14 + 0x228]
lea rax, [rsp + 0xc0]
mov edx, dword [r14 + 0x224]
xor ecx, ecx
cvttsd2si r9d, xmm6
mov qword [rsp + 0x20], rax
call fcn.14003c480
mov r9, rbx
lea r8, str.cachehit
mov rdx, rbp
mov rcx, r13
call fcn.14003cdd0
mov rax, qword [rbp + 8]
mov qword [rsp + 0x58], rax
mov rax, 0xffffffffffffffff
mov dword [rsp + 0x50], edi
mov byte [rsp + 0x54], dil
mov qword [rsp + 0x60], rbx
inc rax
cmp byte [rbx + rax], dil
jne 0x14003e120
cmp qword [0x140099928], rdi
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
jne 0x14003e144
cmp byte [0x140099fd8], dil
je 0x14003e16a
mulsd xmm6, qword [0x14008df60]
mov r9, rbx
mov eax, dword [r13 + 0x38]
xor r8d, r8d
mov dword [rsp + 0x28], eax
cvttsd2si ecx, xmm6
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call fcn.140024480
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x48], dil
mov r9, r14
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], dil
mov qword [rsp + 0x20], r13
call fcn.14003e250
cmp byte [rbx], 0
movaps xmm6, xmmword [rsp + 0x4c0]
mov r13, qword [rsp + 0x4d8]
mov rdi, qword [rsp + 0x4e0]
mov rbp, qword [rsp + 0x508]
je 0x14003e222
cmp byte [0x140099fd9], 0
jne 0x14003e1e8
lea rcx, [0x1400c0128]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 1
call fcn.140053388
mov qword [rsp + 0x500], rax
mov rdx, rbx
lea rcx, [rsp + 0x500]
call fcn.14003bb80
lea rdx, str._n_EWIDS
lea rcx, [rsp + 0x500]
call fcn.14003bb80
cmp byte [0x140099fd9], 0
jne 0x14003e222
lea rcx, [0x1400c0128]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbx - 8]
lea rcx, [rbx - 8]
mov rax, qword [r14 + 0x110]
neg rdx
lock add qword [rax], rdx
call fcn.140058710
add rsp, 0x4e8
pop r14
pop rbx
ret