Function at 0x140045980
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140353240]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov byte [rsp + 0x40], r9b
mov r10, rdx
mov rdi, rcx
mov dword [rbp + 0x28], r8d
xor ebx, ebx
movss xmm6, dword [rbp + 0xc8]
movaps xmm7, xmm6
cmp r8d, 9
jne 0x1400459dc
movss xmm0, dword [rcx]
jmp 0x1400459e4
movss xmm0, dword [0x140310e40]
mulss xmm6, xmm0
mov ecx, dword [rcx + 0x74]
inc ecx
mov dword [rdi + 0x74], ecx
mov eax, 0x14f8b589
imul ecx
sar edx, 0xd
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x186a0
sub ecx, eax
inc ecx
mov dword [rbp + 0x20], ecx
mov qword [rbp + 0x18], rbx
mov r13, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
cmp qword [r10 + 0x18], 0xf
jbe 0x140045a24
mov r10, qword [r10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [r10 + r8], bl
jne 0x140045a40
mov rdx, r10
lea rcx, [rbp - 0x40]
call fcn.140022740
nop
lea rdx, [rbp - 0x40]
mov r15, qword [rbp - 0x40]
mov r12, qword [rbp - 0x28]
cmp r12, 0xf
cmova rdx, r15
movabs r9, 0xcbf29ce484222325
mov rcx, rbx
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x140045aa3
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, rbx
jb 0x140045a90
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
lea rcx, [r14 + 0x78]
call fcn.1400222b0
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140045ac4
mov rcx, qword [r14 + 0x80]
cmp rcx, qword [r14 + 0x80]
jne 0x140045b80
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, 0x11
jb 0x140046088
lea rax, [rbp - 0x40]
cmp r12, 0xf
cmova rax, r15
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x11
lea r9, str.Couldnt_find_ID
lea rcx, [rbp - 8]
call fcn.140024c90
nop
mov r8d, 0x16
lea rdx, str.__reverted_to_default_
lea rcx, [rbp - 8]
call fcn.140025130
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor r12d, r12d
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], r12b
lea rcx, [rbp - 0x60]
call fcn.140022880
nop
lea rcx, [rbp - 8]
call fcn.140022880
lea edx, [r12 + 1]
mov rcx, r14
call fcn.140020770
jmp 0x140045b87
mov rax, qword [rcx + 0x30]
xor r12d, r12d
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x20], rcx
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.fmod.dll_public:_enum_FMOD_RESULT___cdecl_FMOD::System::playSound_class_FMOD::Sound____ptr64__class_FMOD::ChannelGroup____ptr64__bool__class_FMOD::Channel____ptr64____ptr64____ptr64]
nop
lea rcx, [rbp - 0x40]
call fcn.140022880
mov r15, qword [rbp + 0x18]
test r15, r15
je 0x14004604e
lea r14, [rdi + 0x58]
mov rsi, qword [r14]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], r12d
mov rbx, rsi
mov ecx, dword [rbp + 0x20]
cmp byte [rax + 0x19], 0
jne 0x140045c06
nop dword [rax]
mov qword [rbp - 0x20], rax
cmp dword [rax + 0x20], ecx
jge 0x140045bf3
mov dword [rbp - 0x18], r12d
mov rax, qword [rax + 0x10]
jmp 0x140045c00
mov dword [rbp - 0x18], 1
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045be0
cmp byte [rbx + 0x19], 0
jne 0x140045c15
cmp ecx, dword [rbx + 0x20]
jge 0x140045ca9
movabs rax, 0x249249249249249
cmp qword [r14 + 8], rax
je 0x140046082
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r12
mov ecx, 0x70
call fcn.14028654c
mov r8, rax
mov eax, dword [rbp + 0x20]
mov dword [r8 + 0x20], eax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r8 + 0x28], xmm0
movups xmmword [r8 + 0x38], xmm0
movups xmmword [r8 + 0x48], xmm0
movups xmmword [r8 + 0x58], xmm0
mov qword [r8 + 0x68], rax
mov qword [r8 + 0x30], rax
mov dword [r8 + 0x38], 0x3f800000
mov byte [r8 + 0x3c], al
mov qword [r8 + 0x40], rax
mov byte [r8 + 0x48], al
mov dword [r8 + 0x4c], 0x3f800000
mov qword [r8], rsi
mov qword [r8 + 8], rsi
mov qword [r8 + 0x10], rsi
mov word [r8 + 0x18], ax
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.140046810
mov rbx, rax
mov qword [rbx + 0x28], r15
lea rax, [rbx + 0x30]
lea rcx, [rsp + 0x58]
cmp rax, rcx
je 0x140045cc2
mov qword [rax], 0
movss dword [rbx + 0x38], xmm6
mov byte [rbx + 0x3c], 0
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x48], 0
movss dword [rbx + 0x4c], xmm7
movzx eax, byte [rsp + 0x78]
mov byte [rbx + 0x50], al
movzx eax, byte [rsp + 0x79]
mov byte [rbx + 0x51], al
movzx eax, byte [rsp + 0x7a]
mov byte [rbx + 0x52], al
movzx eax, byte [rsp + 0x7b]
mov byte [rbx + 0x53], al
movzx eax, byte [rsp + 0x7c]
mov byte [rbx + 0x54], al
movzx eax, byte [rsp + 0x7d]
mov byte [rbx + 0x55], al
movzx eax, byte [rsp + 0x7e]
mov byte [rbx + 0x56], al
movzx eax, byte [rsp + 0x7f]
mov byte [rbx + 0x57], al
movzx eax, byte [rbp - 0x80]
mov byte [rbx + 0x58], al
movzx eax, byte [rbp - 0x7f]
mov byte [rbx + 0x59], al
movzx eax, byte [rbp - 0x7e]
mov byte [rbx + 0x5a], al
movzx eax, byte [rbp - 0x7d]
mov byte [rbx + 0x5b], al
movzx eax, byte [rbp - 0x7c]
mov byte [rbx + 0x5c], al
movzx eax, byte [rbp - 0x7b]
mov byte [rbx + 0x5d], al
movzx eax, byte [rbp - 0x7a]
mov byte [rbx + 0x5e], al
movzx eax, byte [rbp - 0x79]
mov byte [rbx + 0x5f], al
movzx eax, byte [rbp - 0x78]
mov byte [rbx + 0x60], al
movzx eax, byte [rbp - 0x77]
mov byte [rbx + 0x61], al
movzx eax, byte [rbp - 0x76]
mov byte [rbx + 0x62], al
movzx eax, byte [rbp - 0x75]
mov byte [rbx + 0x63], al
movzx eax, byte [rbp - 0x74]
mov byte [rbx + 0x64], al
movzx eax, byte [rbp - 0x73]
mov byte [rbx + 0x65], al
movzx eax, byte [rbp - 0x72]
mov byte [rbx + 0x66], al
movzx eax, byte [rbp - 0x71]
mov byte [rbx + 0x67], al
movzx eax, byte [rbp - 0x70]
mov byte [rbx + 0x68], al
movzx eax, byte [rbp - 0x6f]
mov byte [rbx + 0x69], al
movzx eax, byte [rbp - 0x6e]
mov byte [rbx + 0x6a], al
movzx eax, byte [rbp - 0x6d]
mov byte [rbx + 0x6b], al
movzx eax, byte [rbp - 0x6c]
mov byte [rbx + 0x6c], al
movzx eax, byte [rbp - 0x6b]
mov byte [rbx + 0x6d], al
movzx eax, byte [rbp - 0x6a]
mov byte [rbx + 0x6e], al
movzx eax, byte [rbp - 0x69]
mov byte [rbx + 0x6f], al
mov r8, qword [r14]
mov rax, qword [r8 + 8]
mov rdx, r8
mov ecx, dword [rbp + 0x20]
cmp byte [rax + 0x19], 0
jne 0x140045dee
cmp dword [rax + 0x20], ecx
jge 0x140045de2
mov rax, qword [rax + 0x10]
jmp 0x140045de8
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045dd7
cmp byte [rdx + 0x19], 0
jne 0x140045e06
cmp ecx, dword [rdx + 0x20]
jl 0x140045e06
cmp rdx, r8
je 0x140045e06
movss dword [rdx + 0x38], xmm6
mov ecx, dword [rbp + 0x20]
mov r9, qword [r14]
mov rax, qword [r9 + 8]
mov rdx, r9
mov r8, r9
cmp byte [rax + 0x19], 0
jne 0x140045e3b
nop dword [rax]
cmp dword [rax + 0x20], ecx
jge 0x140045e2b
mov rax, qword [rax + 0x10]
jmp 0x140045e31
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045e20
mov r8, qword [rdi + 0x58]
cmp byte [rdx + 0x19], 0
jne 0x140045e6f
cmp ecx, dword [rdx + 0x20]
jl 0x140045e6f
test r12b, r12b
cmovne r8, r9
cmp rdx, r8
je 0x140045e6f
mov rcx, qword [rdx + 0x28]
cmp byte [rsp + 0x40], 0
jne 0x140045e61
xor edx, edx
jmp 0x140045e66
mov edx, 0xffffffff
call qword [sym.imp.fmod.dll_public:_enum_FMOD_RESULT___cdecl_FMOD::Channel::setLoopCount_int____ptr64]
mov ecx, dword [rbp + 0x20]
mov r9, qword [rdi + 0x58]
mov rax, qword [r9 + 8]
mov rdx, r9
mov r8, r9
cmp byte [rax + 0x19], 0
jne 0x140045e9a
cmp dword [rax + 0x20], ecx
jge 0x140045e8e
mov rax, qword [rax + 0x10]
jmp 0x140045e94
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045e83
cmp byte [rdx + 0x19], 0
jne 0x140045ec6
cmp ecx, dword [rdx + 0x20]
jl 0x140045ec6
test r12b, r12b
cmovne r8, r9
cmp rdx, r8
je 0x140045ec6
movss xmm1, dword [rbp + 0xc0]
mov rcx, qword [rdx + 0x28]
call qword [sym.imp.fmod.dll_public:_enum_FMOD_RESULT___cdecl_FMOD::ChannelControl::setPitch_float____ptr64]
mov ecx, dword [rbp + 0x20]
mov r9, qword [rdi + 0x58]
mov rax, qword [r9 + 8]
mov r8, r9
mov rdx, r9
cmp byte [rbp + 0xd0], 0
je 0x140045f95
cmp byte [rax + 0x19], 0
jne 0x140045efe
cmp dword [rax + 0x20], ecx
jge 0x140045ef2
mov rax, qword [rax + 0x10]
jmp 0x140045ef8
mov r8, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045ee7
cmp byte [r8 + 0x19], 0
jne 0x140045f3a
cmp ecx, dword [r8 + 0x20]
jl 0x140045f3a
test r12b, r12b
cmovne rdx, r9
cmp r8, rdx
je 0x140045f41
add r8, 0x30
mov r9, qword [rbp + 0xd8]
cmp r8, r9
je 0x140045f41
mov eax, dword [r9]
mov dword [r8], eax
mov eax, dword [r9 + 4]
mov dword [r8 + 4], eax
mov ecx, dword [rbp + 0x20]
jmp 0x140045f41
test r12b, r12b
cmove rdx, r9
mov r9, qword [rdi + 0x58]
mov rax, qword [r9 + 8]
mov r8, r9
cmp byte [rax + 0x19], 0
jne 0x140045f69
cmp dword [rax + 0x20], ecx
jge 0x140045f5d
mov rax, qword [rax + 0x10]
jmp 0x140045f63
mov r8, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045f52
cmp byte [r8 + 0x19], 0
jne 0x140045f76
cmp ecx, dword [r8 + 0x20]
jge 0x140045f79
mov r8, r9
cmp r8, rdx
je 0x140045f8c
movss xmm0, dword [rbp + 0xe0]
movss dword [r8 + 0x40], xmm0
mov byte [rbx + 0x48], 1
jmp 0x14004601d
cmp byte [rax + 0x19], 0
jne 0x140045fb7
nop dword [rax + rax]
cmp dword [rax + 0x20], ecx
jge 0x140045fab
mov rax, qword [rax + 0x10]
jmp 0x140045fb1
mov rdx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140045fa0
cmp byte [rdx + 0x19], 0
jne 0x140045fd3
cmp ecx, dword [rdx + 0x20]
jl 0x140045fd3
test r12b, r12b
cmovne r8, r9
cmp rdx, r8
je 0x140045fd3
movss dword [rdx + 0x38], xmm6
movss xmm1, dword [rdi + 0x70]
mulss xmm1, xmm6
mov rcx, qword [rbx + 0x28]
cmp dword [rbx + 0x44], 9
je 0x140045feb
mulss xmm1, dword [rdi + 4]
call qword [sym.imp.fmod.dll_public:_enum_FMOD_RESULT___cdecl_FMOD::ChannelControl::setVolume_float____ptr64]
xor edx, edx
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.fmod.dll_public:_enum_FMOD_RESULT___cdecl_FMOD::ChannelControl::setPaused_bool____ptr64]
mov r9d, eax
test eax, eax
je 0x14004601d
mov ecx, eax
call fcn.1400472c0
mov r8, rax
mov edx, r9d
lea rcx, str.FMOD_error____d___s_n
call fcn.140047260
cmp dword [rbp + 0x28], 0
jl 0x14004604e
lea rcx, [rdi + 0x18]
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x20]
call fcn.140046290
mov rcx, qword [rax]
add rcx, 0x28
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x60]
call fcn.1400464f0
mov eax, dword [rbp + 0x28]
mov dword [rbx + 0x44], eax
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1402863b0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140042340
nop
call fcn.140022580
nop
int3