Function at 0x14003e450
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, [0x14008a83c]
movaps xmm6, xmm2
call fcn.140014890
mov r15, rax
test rax, rax
jne 0x14003e4db
mov rbx, qword [r14 + 0x110]
mov ecx, 0x208
call fcn.140057c1c
mov ecx, 0x200
mov qword [rax], 0x200
lock xadd qword [rbx], rcx
lea rbx, [rax + 8]
mov r9, rdi
mov rcx, rbx
lea r8, str.couldnt_open__s_for_reading
mov edx, 0x200
call fcn.1400033a0
jmp 0x14003e54b
xor edx, edx
mov qword [rsp + 0x510], rsi
mov rcx, r15
lea r8d, [rdx + 2]
call fcn.14005cd90
mov rcx, r15
call fcn.14005cb80
mov rcx, r15
movsxd rsi, eax
call fcn.14005cd98
mov rbx, qword [r14 + 0x110]
lea rdi, [rsi + 1]
lea rcx, [rdi + 8]
call fcn.140057c1c
mov qword [rax], rdi
lock xadd qword [rbx], rdi
lea rbx, [rax + 8]
mov r9, r15
mov rcx, rbx
mov r8, rsi
mov edx, 1
call fcn.140057b54
mov rcx, r15
mov byte [rax + rbx], 0
call fcn.14005649c
mov rsi, qword [rsp + 0x510]
mov rdi, qword [rbp + 8]
mov r15, qword [rsp + 0x4d0]
mov eax, dword [rdi + 0xa4]
shr eax, 0xd
test al, 1
je 0x14003e56a
mov rax, qword [rbp + 0x48]
jmp 0x14003e56e
lea rax, [rbp + 0x20]
movups xmm0, xmmword [rax]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x90]
movups xmmword [rsp + 0x80], xmm0
call fcn.14002e8e0
movsxd rcx, dword [rdi + 0xc]
lea rax, [rdi + 0xc]
xor edi, edi
lea r8, str._s__CacheHit__s_s_
test ecx, ecx
mov edx, 0x400
lea r9, [rax + rcx]
lea rax, str.00000000000000000000000000000003
cmove r9, rdi
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0xc0]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.1400033a0
test eax, eax
jle 0x14003e609
cdqe
cmp rax, 0x400
jae 0x14003e609
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.14003c960
mov r9, rbx
lea r8, str.cachehit
mov rdx, rbp
mov rcx, r13
call fcn.14003d2c0
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
nop dword [rax]
inc rax
cmp byte [rbx + rax], dil
jne 0x14003e640
cmp qword [0x1400988b8], rdi
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], eax
jne 0x14003e664
cmp byte [0x140098f68], dil
je 0x14003e68a
mov eax, dword [r13 + 0x38]
mov r9, rbx
mulsd xmm6, qword [0x14008dc58]
xor r8d, r8d
mov dword [rsp + 0x28], eax
cvttsd2si ecx, xmm6
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call fcn.1400257b0
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.14003e770
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 0x14003e742
cmp byte [0x140098f69], 0
jne 0x14003e708
lea rcx, [0x1400bf0b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 1
call fcn.140053a48
mov qword [rsp + 0x500], rax
mov rdx, rbx
lea rcx, [rsp + 0x500]
call fcn.14003c060
lea rdx, str._n_EWIDS
lea rcx, [rsp + 0x500]
call fcn.14003c060
cmp byte [0x140098f69], 0
jne 0x14003e742
lea rcx, [0x1400bf0b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rbx - 8]
lea rcx, [rbx - 8]
mov rax, qword [r14 + 0x110]
neg rdx
lock xadd qword [rax], rdx
call fcn.1400578b0
add rsp, 0x4e8
pop r14
pop rbx
ret