Function at 0x1401250c0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x60
movsxd rax, r9d
mov r13, rcx
mov ebp, r8d
lea rcx, [rax*4]
mov esi, edx
mov rbx, rax
call fcn.1401bee78
mov rdi, rax
test rax, rax
jne 0x14012511a
call fcn.1401be514
lea rdx, str._ERROR:_memory_allocation_failure..._n
lea rcx, [rax + 0x60]
call fcn.1401be844
or eax, 0xffffffff
add rsp, 0x60
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsd xmm1, qword [0x140269a98]
movsd xmm2, qword [0x140235500]
movd xmm3, dword [rsp + 0xc0]
movd xmm4, dword [rsp + 0xb8]
mov qword [rsp + 0x50], r15
movaps xmmword [rsp + 0x40], xmm6
cvtdq2ps xmm3, xmm3
cvtps2pd xmm0, xmm3
cvtdq2ps xmm4, xmm4
movaps xmmword [rsp + 0x30], xmm7
divsd xmm1, xmm0
cvtps2pd xmm0, xmm3
divsd xmm2, xmm0
cvtpd2ps xmm7, xmm1
cvtps2pd xmm1, xmm4
addsd xmm2, xmm1
cvtpd2ps xmm6, xmm2
cmp ebp, 1
jne 0x14012518d
movsd xmm2, qword [0x14020eb68]
cvtps2pd xmm0, xmm3
cvtps2pd xmm1, xmm4
divsd xmm2, xmm0
addsd xmm2, xmm1
cvtpd2ps xmm6, xmm2
mov rcx, qword [r13]
shl esi, 9
xor r8d, r8d
mov edx, esi
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x58], r14
call fcn.1401c1f88
xor r15d, r15d
cmp dword [rsp + 0xb0], r15d
jle 0x14012552a
mov r12, qword [rsp + 0xc8]
mov rax, rbx
mov rbp, rdi
neg rax
mov rsi, r12
xor r14d, r14d
shl rax, 2
sub rsi, rdi
sub rbp, r12
sub rsi, 2
mov qword [rsp + 0x28], rax
nop word [rax + rax]
mov ecx, dword [rsp + 0xa0]
mov r9, qword [r13]
dec ecx
je 0x14012541b
cmp ecx, 3
mov edx, 2
mov rcx, rdi
je 0x14012530f
mov r8, rbx
call fcn.1401c1e14
mov edx, dword [rsp + 0xa8]
mov rcx, rdi
call fcn.140126110
xor ecx, ecx
cmp rbx, 4
jl 0x1401252d5
lea rdx, [rbx - 4]
lea r9, [rdi + 2]
lea r8, [rdi + 4]
shr rdx, 2
add r9, rsi
inc rdx
lea rcx, [rdx*4]
nop word [rax + rax]
movsx eax, word [r8 - 4]
add r9, 0x10
add r8, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
addss xmm0, xmm6
movss dword [r9 - 0x10], xmm0
movsx eax, word [r8 - 0xa]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm7
addss xmm1, xmm6
movss dword [r9 - 0xc], xmm1
movsx eax, word [r8 - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
addss xmm0, xmm6
movss dword [r9 - 8], xmm0
movsx eax, word [r8 - 6]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm7
addss xmm1, xmm6
movss dword [r9 - 4], xmm1
dec rdx
jne 0x140125260
cmp rcx, rbx
jge 0x140125506
lea rax, [r14 + rcx]
lea rdx, [r12 + rax*4]
movsx eax, word [rdi + rcx*2]
inc rcx
add rdx, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
addss xmm0, xmm6
movss dword [rdx - 4], xmm0
cmp rcx, rbx
jl 0x1401252e6
jmp 0x140125506
mov eax, dword [rsp + 0xa8]
add eax, eax
movsxd r8, eax
call fcn.1401c1e14
mov edx, dword [rsp + 0xa8]
mov rcx, rdi
call fcn.140126110
xor r8d, r8d
cmp rbx, 4
jl 0x1401253d8
lea rdx, [rbx - 4]
lea rcx, [rdi + 2]
shr rdx, 2
inc rdx
lea r8, [rdx*4]
movzx eax, word [rcx - 2]
lea rcx, [rcx + 0x10]
mov word [rsp + 0x22], ax
movzx eax, word [rcx - 0x10]
mov word [rsp + 0x20], ax
movss xmm0, dword [rsp + 0x20]
movss dword [rsi + rcx - 0x10], xmm0
movzx eax, word [rcx - 0xe]
mov word [rsp + 0x22], ax
movzx eax, word [rcx - 0xc]
mov word [rsp + 0x20], ax
movss xmm0, dword [rsp + 0x20]
movss dword [rsi + rcx - 0xc], xmm0
movzx eax, word [rcx - 0xa]
mov word [rsp + 0x22], ax
movzx eax, word [rcx - 8]
mov word [rsp + 0x20], ax
movss xmm0, dword [rsp + 0x20]
movss dword [rsi + rcx - 8], xmm0
movzx eax, word [rcx - 6]
mov word [rsp + 0x22], ax
movzx eax, word [rcx - 4]
mov word [rsp + 0x20], ax
movss xmm0, dword [rsp + 0x20]
movss dword [rsi + rcx - 4], xmm0
dec rdx
jne 0x140125353
cmp r8, rbx
jge 0x140125506
lea rax, [r14 + r8]
mov rdx, rbx
lea rcx, [r12 + rax*4]
sub rdx, r8
movzx eax, word [rcx + rbp]
lea rcx, [rcx + 4]
mov word [rsp + 0x22], ax
movzx eax, word [rcx + rbp - 2]
mov word [rsp + 0x20], ax
movss xmm0, dword [rsp + 0x20]
movss dword [rcx - 4], xmm0
dec rdx
jne 0x1401253ef
jmp 0x140125506
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1401c1e14
cmp rax, rbx
jne 0x14012555b
xor ecx, ecx
cmp rbx, 4
jl 0x1401254d5
lea rdx, [rbx - 4]
lea r9, [rdi + 2]
lea r8, [rdi + 4]
shr rdx, 2
add r9, rsi
inc rdx
lea rcx, [rdx*4]
nop
movsx eax, word [r8 - 4]
add r9, 0x10
add r8, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
addss xmm0, xmm6
movss dword [r9 - 0x10], xmm0
movsx eax, word [r8 - 0xa]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm7
addss xmm1, xmm6
movss dword [r9 - 0xc], xmm1
movsx eax, word [r8 - 8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
addss xmm0, xmm6
movss dword [r9 - 8], xmm0
movsx eax, word [r8 - 6]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm7
addss xmm1, xmm6
movss dword [r9 - 4], xmm1
dec rdx
jne 0x140125460
cmp rcx, rbx
jge 0x140125506
lea rax, [r14 + rcx]
lea rdx, [r12 + rax*4]
movsx eax, word [rdi + rcx*2]
inc rcx
add rdx, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm7
addss xmm0, xmm6
movss dword [rdx - 4], xmm0
cmp rcx, rbx
jl 0x1401254e2
add rbp, qword [rsp + 0x28]
lea rax, [rbx*4]
inc r15d
add rsi, rax
add r14, rbx
cmp r15d, dword [rsp + 0xb0]
jl 0x1401251f0
mov rcx, rdi
call fcn.1401be23c
xor eax, eax
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x90]
mov r15, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x60
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
or eax, 0xffffffff
jmp 0x140125534