Function at 0x4173e5
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
mov r11, rcx
mov rbp, rdx
mov rdi, r8
mov r12, r9
mov r13, qword [rsp + 0xc0]
mov r10, qword [rsp + 0xc8]
mov r15, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xe0]
mov rsi, qword [0x004460e0]
xor ebx, ebx
movsd xmm8, qword [0x00441b80]
movss xmm6, dword [0x00441b88]
movss xmm7, dword [0x00441b4c]
movss xmm0, dword [r12 + rbx*4]
maxss xmm0, dword [r13 + rbx*4]
movss xmm1, dword [rbp + rbx*4]
maxss xmm1, dword [rdi + rbx*4]
divss xmm0, xmm1
movss xmm2, dword [r10 + rbx*4]
mov rax, qword [rsp + 0xd0]
minss xmm2, dword [rax + rbx*4]
mulss xmm0, xmm2
movss dword [r15 + rbx*4], xmm0
movss dword [r14 + rbx*4], xmm0
movzx edx, byte [r11]
sub edx, 3
cmp dl, 0x13
ja case.0x4174af.4
movzx ecx, dl
lea r8, [0x00441aa8]
movsxd r9, dword [r8 + rcx*4]
add r9, r8
jmp r9
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0xa0], r11
mov ecx, 2
call qword [fcn.00438180]
mov r9, rax
mov r8d, 0x14
mov edx, 1
lea rcx, str.Unknown_stereo_mode_n
call sub.msvcrt.dll_fwrite
mov r10, qword [rsp + 0xc8]
mov r11, qword [rsp + 0xa0]
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + rbx*4]
pxor xmm4, xmm4
cvtss2sd xmm4, dword [rdi + rbx*4]
movapd xmm2, xmm5
mulsd xmm2, xmm8
comisd xmm2, xmm4
jbe case.0x4174af.3
mulsd xmm4, xmm8
comisd xmm4, xmm5
jbe case.0x4174af.3
movss xmm0, dword [rsi]
mulss xmm0, xmm6
movss xmm3, dword [r12 + rbx*4]
movss xmm1, dword [r13 + rbx*4]
comiss xmm3, xmm1
jbe 0x4179b7
mulss xmm0, xmm1
movss xmm4, dword [r14 + rbx*4]
comiss xmm4, xmm0
jbe case.0x4174af.3
movss xmm2, dword [0x00441b4c]
mulss xmm4, xmm2
mulss xmm0, xmm2
addss xmm0, xmm4
movss dword [r14 + rbx*4], xmm0
cmp ebx, 0x38
je 0x417602
add rbx, 1
add rsi, 4
jmp 0x417453
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + rbx*4]
pxor xmm1, xmm1
cvtss2sd xmm1, dword [rdi + rbx*4]
movsd xmm3, qword [0x00441b80]
movapd xmm4, xmm5
mulsd xmm4, xmm3
comisd xmm4, xmm1
jbe case.0x4174af.3
mulsd xmm1, xmm3
comisd xmm1, xmm5
jbe case.0x4174af.3
movss xmm5, dword [0x00441b8c]
mulss xmm5, dword [rsi]
movss xmm1, dword [r12 + rbx*4]
movss xmm2, dword [r13 + rbx*4]
comiss xmm1, xmm2
jbe 0x417a9f
mulss xmm5, xmm2
comiss xmm0, xmm5
jbe case.0x4174af.3
mulss xmm0, dword [0x00441b90]
mulss xmm5, dword [0x00441b94]
addss xmm5, xmm0
movss dword [r14 + rbx*4], xmm5
cmp ebx, 0x38
jne 0x417574
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + rbx*4]
pxor xmm1, xmm1
cvtss2sd xmm1, dword [rdi + rbx*4]
movsd xmm3, qword [0x00441b80]
movapd xmm4, xmm5
mulsd xmm4, xmm3
comisd xmm4, xmm1
jbe case.0x4174af.3
mulsd xmm1, xmm3
comisd xmm1, xmm5
jbe case.0x4174af.3
movss xmm5, dword [rsi]
movss xmm2, dword [0x00441b98]
mulss xmm2, xmm5
movss xmm1, dword [r12 + rbx*4]
movss xmm3, dword [r13 + rbx*4]
comiss xmm1, xmm3
jbe 0x417a18
mulss xmm2, xmm3
comiss xmm0, xmm2
jbe case.0x4174af.3
mulss xmm5, xmm1
pxor xmm3, xmm3
cvtss2sd xmm3, xmm5
mulsd xmm3, qword [0x00441bb0]
pxor xmm1, xmm1
cvtss2sd xmm1, xmm2
comisd xmm1, xmm3
jbe 0x417b09
movss dword [r14 + rbx*4], xmm2
jmp case.0x4174af.3
test rbx, rbx
je 0x417574
movss xmm3, dword [r12 + rbx*4]
movss xmm5, dword [r13 + rbx*4]
comiss xmm3, xmm5
jbe 0x417948
movaps xmm4, xmm5
divss xmm4, xmm3
movss xmm0, dword [rbp + rbx*4]
movss xmm1, dword [rdi + rbx*4]
comiss xmm0, xmm1
jbe 0x417932
divss xmm1, xmm0
comiss xmm1, xmm4
ja 0x41791c
mov rax, qword [rsp + 0xd0]
mov dword [rax + rbx*4], 0x5d5e0b6b
jmp case.0x4174af.3
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + rbx*4]
pxor xmm1, xmm1
cvtss2sd xmm1, dword [rdi + rbx*4]
movsd xmm3, qword [0x00441b80]
movapd xmm4, xmm5
mulsd xmm4, xmm3
comisd xmm4, xmm1
jbe case.0x4174af.3
mulsd xmm1, xmm3
comisd xmm1, xmm5
jbe case.0x4174af.3
movss xmm5, dword [0x00441ba4]
mulss xmm5, dword [rsi]
movss xmm1, dword [r12 + rbx*4]
movss xmm2, dword [r13 + rbx*4]
comiss xmm1, xmm2
jbe 0x417ad4
mulss xmm5, xmm2
comiss xmm0, xmm5
jbe case.0x4174af.3
mulss xmm0, dword [0x00441ba8]
mulss xmm5, dword [0x00441bac]
addss xmm5, xmm0
movss dword [r14 + rbx*4], xmm5
jmp case.0x4174af.3
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + rbx*4]
pxor xmm1, xmm1
cvtss2sd xmm1, dword [rdi + rbx*4]
movsd xmm3, qword [0x00441b80]
movapd xmm4, xmm5
mulsd xmm4, xmm3
comisd xmm4, xmm1
jbe case.0x4174af.3
mulsd xmm1, xmm3
comisd xmm1, xmm5
jbe case.0x4174af.3
movss xmm5, dword [0x00441ba4]
mulss xmm5, dword [rsi]
movss xmm1, dword [r12 + rbx*4]
movss xmm2, dword [r13 + rbx*4]
comiss xmm1, xmm2
jbe 0x4179f7
mulss xmm5, xmm2
comiss xmm0, xmm5
jbe case.0x4174af.3
movss dword [r14 + rbx*4], xmm5
jmp case.0x4174af.3
addss xmm0, xmm0
movss dword [r14 + rbx*4], xmm0
jmp case.0x4174af.3
pxor xmm5, xmm5
cvtss2sd xmm5, dword [rbp + rbx*4]
pxor xmm1, xmm1
cvtss2sd xmm1, dword [rdi + rbx*4]
movsd xmm3, qword [0x00441b80]
movapd xmm4, xmm5
mulsd xmm4, xmm3
comisd xmm4, xmm1
jbe case.0x4174af.3
mulsd xmm1, xmm3
comisd xmm1, xmm5
jbe case.0x4174af.3
movss xmm5, dword [0x00441b98]
mulss xmm5, dword [rsi]
movss xmm1, dword [r12 + rbx*4]
movss xmm2, dword [r13 + rbx*4]
comiss xmm1, xmm2
jbe 0x417a6a
mulss xmm5, xmm2
comiss xmm0, xmm5
jbe case.0x4174af.3
mulss xmm0, dword [0x00441b9c]
mulss xmm5, dword [0x00441ba0]
addss xmm5, xmm0
movss dword [r14 + rbx*4], xmm5
jmp case.0x4174af.3
test rbx, rbx
je 0x417574
movss xmm3, dword [r12 + rbx*4]
movss xmm2, dword [r13 + rbx*4]
comiss xmm3, xmm2
jbe 0x4179ab
movaps xmm5, xmm2
divss xmm5, xmm3
movss xmm4, dword [rbp + rbx*4]
movss xmm0, dword [rdi + rbx*4]
comiss xmm4, xmm0
jbe 0x417983
divss xmm0, xmm4
comiss xmm0, xmm5
ja 0x417954
movss xmm3, dword [0x00441b78]
movss dword [r14 + rbx*4], xmm3
movss dword [r15 + rbx*4], xmm3
mov rdx, qword [rsp + 0xd0]
movss dword [rdx + rbx*4], xmm3
jmp case.0x4174af.3
comiss xmm3, xmm5
jbe 0x4179ea
mov dword [r14 + rbx*4], 0x5d5e0b6b
jmp case.0x4174af.3
divss xmm0, xmm1
comiss xmm0, xmm4
ja 0x41791c
mov dword [r10 + rbx*4], 0x5d5e0b6b
jmp case.0x4174af.3
movaps xmm4, xmm3
divss xmm4, xmm5
jmp 0x4176e8
movss xmm0, dword [0x00441b78]
mov rcx, qword [rsp + 0xd0]
comiss xmm3, xmm2
movss dword [rcx + rbx*4], xmm0
movss dword [r10 + rbx*4], xmm0
ja 0x41781f
movss dword [r15 + rbx*4], xmm0
jmp case.0x4174af.3
divss xmm4, xmm0
comiss xmm4, xmm5
ja 0x417954
movss xmm1, dword [0x00441b78]
movss dword [r14 + rbx*4], xmm1
movss dword [r15 + rbx*4], xmm1
movss dword [r10 + rbx*4], xmm1
jmp case.0x4174af.3
movaps xmm5, xmm3
divss xmm5, xmm2
jmp 0x4178d9
comiss xmm1, xmm3
jbe case.0x4174af.3
mulss xmm0, xmm3
movss xmm5, dword [r15 + rbx*4]
comiss xmm5, xmm0
jbe case.0x4174af.3
mulss xmm5, xmm7
mulss xmm0, xmm7
addss xmm0, xmm5
movss dword [r15 + rbx*4], xmm0
jmp case.0x4174af.3
mov dword [r15 + rbx*4], 0x5d5e0b6b
jmp case.0x4174af.3
comiss xmm2, xmm1
jbe case.0x4174af.3
mulss xmm5, xmm1
comiss xmm0, xmm5
jbe case.0x4174af.3
movss dword [r15 + rbx*4], xmm5
jmp case.0x4174af.3
comiss xmm3, xmm1
jbe case.0x4174af.3
mulss xmm2, xmm1
movaps xmm0, xmm2
movss xmm2, dword [r15 + rbx*4]
comiss xmm2, xmm0
jbe case.0x4174af.3
mulss xmm5, xmm3
pxor xmm4, xmm4
cvtss2sd xmm4, xmm5
mulsd xmm4, qword [0x00441bb0]
pxor xmm5, xmm5
cvtss2sd xmm5, xmm0
comisd xmm5, xmm4
ja 0x417978
pxor xmm0, xmm0
cvtsd2ss xmm0, xmm4
jmp 0x417978
comiss xmm2, xmm1
jbe case.0x4174af.3
mulss xmm5, xmm1
comiss xmm0, xmm5
jbe case.0x4174af.3
mulss xmm0, dword [0x00441b9c]
mulss xmm5, dword [0x00441ba0]
addss xmm5, xmm0
movss dword [r15 + rbx*4], xmm5
jmp case.0x4174af.3
comiss xmm2, xmm1
jbe case.0x4174af.3
mulss xmm5, xmm1
comiss xmm0, xmm5
jbe case.0x4174af.3
mulss xmm0, dword [0x00441b90]
mulss xmm5, dword [0x00441b94]
addss xmm5, xmm0
movss dword [r15 + rbx*4], xmm5
jmp case.0x4174af.3
comiss xmm2, xmm1
jbe case.0x4174af.3
mulss xmm5, xmm1
comiss xmm0, xmm5
jbe case.0x4174af.3
mulss xmm0, dword [0x00441ba8]
mulss xmm5, dword [0x00441bac]
addss xmm5, xmm0
movss dword [r15 + rbx*4], xmm5
jmp case.0x4174af.3
pxor xmm2, xmm2
cvtsd2ss xmm2, xmm3
movss dword [r14 + rbx*4], xmm2
jmp case.0x4174af.3