Function at 0x1800af710
Capabilities:
Encode data using xor
Get common file path
Hash data using fnv

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x18026b028]
xor rax, rsp
mov qword [rbp - 0x30], rax
cmp byte [0x18039a9f9], 0
mov rbx, rcx
je 0x1800afc88
mov rcx, qword [0x18039f608]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x120]
call rdx
test al, al
je 0x1800afc88
mov rcx, qword [0x18039f608]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x118]
call rdx
test al, al
je 0x1800afc88
test rbx, rbx
je 0x1800afc88
mov qword [rsp + 0x138], rsi
lea rdx, [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x110], r13
call qword [sym.imp.WINMM.dll_waveOutGetVolume]
movabs rax, 0xd98ea7d92cdd840a
lea r10, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x30]
movabs r13, 0xe52cb32f9c9363e4
mov qword [rsp + 0x70], rax
mov ecx, 0x31415926
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0xabebccba4da9f06b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x70]
mov qword [rbp - 0x68], rax
xorps xmm0, xmmword [rbp - 0x70]
movq rax, xmm0
movdqa xmmword [rsp + 0x70], xmm0
test al, al
je 0x1800af828
nop dword [rax]
inc rdx
cmp byte [rdx], 0
jne 0x1800af820
mov r8d, 0
sub rdx, r10
je 0x1800af855
movabs r9, 0x100000001b3
nop dword [rax]
movsx rax, byte [rsp + r8 + 0x70]
inc r8
xor rcx, rax
imul rcx, r9
cmp r8, rdx
jb 0x1800af840
mov rax, qword [rbx]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rcx
mov rcx, rbx
mov qword [rsp + 0x58], r10
mov r8, qword [rax + 0x80]
call r8
mov rsi, rax
test rax, rax
je 0x1800afc78
mov qword [rsp + 0x140], rdi
mov rdi, qword [0x18039f6c0]
test rdi, rdi
je 0x1800afc70
mov edx, dword [0x180399320]
mov rcx, qword gs:[0x58]
mov eax, dword [0x18039f5e4]
mov qword [rsp + 0x148], r12
mov qword [rsp + 0x108], r14
mov r14, qword [rcx + rdx*8]
mov r12d, 4
mov qword [rsp + 0x100], r15
movabs r15, 0x4c7c6391100b2438
cmp eax, dword [r14 + r12]
jle 0x1800af916
lea rcx, [0x18039f5e4]
call fcn.18015d060
mov eax, dword [0x18039f5e4]
cmp eax, 0xffffffff
jne 0x1800af916
mov rcx, r15
call fcn.18009d530
lea rcx, [0x18039f5e4]
mov dword [0x18039f604], eax
call fcn.18015cff4
mov eax, dword [0x18039f5e4]
cmp eax, dword [r14 + r12]
mov r14, qword [rsp + 0x108]
mov r12, qword [rsp + 0x148]
mov ebx, dword [0x18039f604]
jle 0x1800af961
lea rcx, [0x18039f5e4]
call fcn.18015d060
cmp dword [0x18039f5e4], 0xffffffff
jne 0x1800af961
mov rcx, r15
call fcn.18009d530
lea rcx, [0x18039f5e4]
mov dword [0x18039f604], eax
call fcn.18015cff4
mov eax, dword [0x18039f604]
mov rcx, qword [rbx + rsi]
mov r15, qword [rsp + 0x100]
mov rax, qword [rax + rdi]
mov eax, dword [rax + 0x10]
cmp dword [rcx + 0x10], eax
jne 0x1800afc70
movdqa xmm1, xmmword [0x18024db50]
lea rdi, [0x1803a06c0]
xor r9d, r9d
movaps xmmword [rsp + 0xf0], xmm6
xorps xmm0, xmm0
movaps xmmword [rsp + 0xe0], xmm7
movups xmmword [rsp + 0x50], xmm0
xor r8d, r8d
mov byte [rsp + 0x50], 0
lea edx, [r9 + 5]
mov qword [rsp + 0x20], rdi
xor ecx, ecx
movdqu xmmword [rsp + 0x60], xmm1
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
movabs rax, 0xce85a5ce23cc8337
xorps xmm1, xmm1
mov qword [rsp + 0x30], rax
mov rbx, 0xffffffffffffffff
mov rax, qword [rsp + 0x30]
mov r8, rbx
mov qword [rbp - 0x80], rax
movabs rax, 0xe52cb32f9c933f88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rax, 0xabebccba4da9f06b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rsp + 0x48], rax
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqu xmmword [rbp - 0x40], xmm1
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x1800afa50
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.180069fd0
lea rax, [rbp - 0x80]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800afa70
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
call fcn.180063f90
xorps xmm0, xmm0
lea rdx, [0x18039aa00]
movups xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x70]
xor ebx, ebx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
cmp qword [0x18039aa18], 0x10
mov r8, qword [0x18039aa10]
cmovae rdx, qword [0x18039aa00]
call fcn.180063f90
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800afb30
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afb2b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800afca4
call fcn.18015cfec
mov rdx, qword [rbp - 0x58]
movups xmmword [rsp + 0x50], xmm6
movups xmmword [rsp + 0x60], xmm7
cmp rdx, 0x10
jb 0x1800afb75
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afb70
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800afca4
call fcn.18015cfec
mov rdx, qword [rbp - 0x38]
movdqa xmm0, xmmword [0x18024db50]
mov byte [rbp - 0x70], bl
movdqu xmmword [rbp - 0x60], xmm0
cmp rdx, 0x10
jb 0x1800afbc0
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afbbb
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800afca4
call fcn.18015cfec
mov ecx, dword [0x18039aa20]
test ecx, ecx
je 0x1800afc12
sub ecx, 1
je 0x1800afc09
sub ecx, 1
je 0x1800afc00
sub ecx, 1
je 0x1800afbf7
cmp ecx, 1
jne 0x1800afc27
cmp qword [rsp + 0x68], 0x10
lea rcx, [rsp + 0x50]
mov r8d, 0x20001
cmovae rcx, qword [rsp + 0x50]
jmp 0x1800afc1f
lea rcx, [0x18034fda0]
jmp 0x1800afc19
lea rcx, [0x18034cf90]
jmp 0x1800afc19
lea rcx, str.RIFF_R
jmp 0x1800afc19
lea rcx, str.RIFF
mov r8d, 5
xor edx, edx
call qword [sym.imp.WINMM.dll_PlaySoundA]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800afc60
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800afc5b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800afc9e
call fcn.18015cfec
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0xe0]
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
mov r13, qword [rsp + 0x110]
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.18015cd30
add rsp, 0x118
pop rbx
pop rbp
ret
call fcn.18016c8a4
int3
call fcn.18016c8a4
int3