Function at 0x14009ba50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x50
xor r12d, r12d
movaps xmmword [rsp + 0x40], xmm6
movss xmm6, dword [0x140211cd4]
movaps xmmword [rsp + 0x30], xmm7
movss xmm7, dword [0x140211cd8]
mov rsi, r8
mov r13, rcx
movzx r15d, r12w
cmp dword [r8 + 0x238], r12d
jne 0x14009bd07
mov edi, dword [r8 + 0x208]
mov ebx, dword [r8 + 0x20c]
mov ecx, edi
imul ecx, ebx
shl rcx, 2
call fcn.1401bee78
mov qword [rsp + 0xa0], rax
test rax, rax
jne 0x14009bacf
lea eax, [r12 + 1]
jmp 0x14009bd0b
mov qword [rsp + 0x90], r14
mov ebp, r12d
mov r14, rax
mov r12d, 1
test ebx, ebx
je 0x14009bc3a
nop dword [rax + rax]
mov r9, qword [r13]
mov edx, edi
mov r8, r12
shl rdx, 2
mov rcx, r14
call fcn.1401c1e14
test rax, rax
je 0x14009bc34
movzx eax, byte [rsi + 4]
xor edi, edi
sub al, 4
test al, 0xfb
je 0x14009bb3f
cmp dword [rsi + 0x208], edi
jbe 0x14009bb68
mov rbx, r14
mov ecx, dword [rbx]
call fcn.140065fb0
inc edi
lea rbx, [rbx + 4]
mov dword [rbx - 4], eax
cmp edi, dword [rsi + 0x208]
jb 0x14009bb25
jmp 0x14009bb68
cmp dword [rsi + 0x208], edi
jbe 0x14009bb68
mov rbx, r14
nop word [rax + rax]
mov ecx, dword [rbx]
call fcn.140065fa0
inc edi
lea rbx, [rbx + 4]
mov dword [rbx - 4], eax
cmp edi, dword [rsi + 0x208]
jb 0x14009bb50
mov edi, dword [rsi + 0x208]
xor r8d, r8d
xor eax, eax
cmp edi, 4
jb 0x14009bbf2
lea eax, [rdi - 4]
lea rcx, [r14 + 8]
shr eax, 2
inc eax
mov edx, eax
lea r8d, [rax*4]
lea rax, [rax*4]
movss xmm0, dword [rcx - 8]
comiss xmm0, xmm7
jbe 0x14009bba3
movaps xmm7, xmm0
comiss xmm6, xmm0
jbe 0x14009bbab
movaps xmm6, xmm0
movss xmm0, dword [rcx - 4]
comiss xmm0, xmm7
jbe 0x14009bbb8
movaps xmm7, xmm0
comiss xmm6, xmm0
jbe 0x14009bbc0
movaps xmm6, xmm0
movss xmm0, dword [rcx]
comiss xmm0, xmm7
jbe 0x14009bbcc
movaps xmm7, xmm0
comiss xmm6, xmm0
jbe 0x14009bbd4
movaps xmm6, xmm0
movss xmm0, dword [rcx + 4]
comiss xmm0, xmm7
jbe 0x14009bbe1
movaps xmm7, xmm0
comiss xmm6, xmm0
jbe 0x14009bbe9
movaps xmm6, xmm0
add rcx, 0x10
dec rdx
jne 0x14009bb96
cmp r8d, edi
jae 0x14009bc1d
mov edx, edi
lea rcx, [r14 + rax*4]
sub edx, r8d
movss xmm0, dword [rcx]
comiss xmm0, xmm7
jbe 0x14009bc0c
movaps xmm7, xmm0
comiss xmm6, xmm0
jbe 0x14009bc14
movaps xmm6, xmm0
add rcx, 4
dec rdx
jne 0x14009bc00
inc ebp
mov rax, rdi
lea r14, [r14 + rdi*4]
cmp ebp, dword [rsi + 0x20c]
jb 0x14009baf0
jmp 0x14009bc3a
mov r15d, 4
mov rbp, qword [rsp + 0xa0]
xor edi, edi
mov rbx, rbp
cmp dword [rsi + 0x20c], edi
jbe 0x14009bcf7
mov r14, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa8]
movaps xmmword [rsp + 0x20], xmm8
movsd xmm8, qword [0x14020eb78]
xor ebp, ebp
mov ecx, ebp
cmp dword [rsi + 0x208], ecx
jbe 0x14009bcc4
movaps xmm3, xmm7
mov rdx, r14
subss xmm3, xmm6
nop dword [rax + rax]
movss xmm0, dword [rbx]
xorps xmm1, xmm1
inc ecx
subss xmm0, xmm6
cvtss2sd xmm1, xmm3
inc rdx
add rbx, 4
cvtps2pd xmm2, xmm0
mulsd xmm2, xmm8
divsd xmm2, xmm1
cvttsd2si rax, xmm2
mov byte [rdx - 1], al
cmp ecx, dword [rsi + 0x208]
jb 0x14009bc90
or r8d, 0xffffffff
mov r9d, r12d
mov rcx, r13
or edx, r8d
call fcn.1400615b0
movzx r15d, ax
test ax, ax
jne 0x14009bce9
inc edi
cmp edi, dword [rsi + 0x20c]
jb 0x14009bc74
mov rbp, qword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x20]
mov rcx, rbp
call fcn.1401be23c
mov r14, qword [rsp + 0x90]
movzx eax, r15w
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x50
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret