Function at 0x180018c30
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x180357660]
xor rax, rsp
mov qword [rbp + 0x120], rax
lea eax, [r9 - 0x11]
mov qword [rbp - 0x68], r8
mov qword [rbp - 0x58], rdx
mov rdi, rdx
mov qword [rbp - 0x40], rcx
mov r14, rcx
mov dword [rsp + 0x58], eax
cmp r9d, eax
jbe 0x1800193ee
mov r13d, dword [rbp - 0x78]
lea r15d, [r9 - 0xe9]
mov ebx, dword [rbp - 0x80]
lea r9, [0x180000000]
mov dword [rsp + 0x50], r15d
xor r12d, r12d
mov ecx, eax
cmp r15d, 0x49
ja case.default.0x180018cc0
movzx eax, byte [r9 + r15 + 0x194e0]
mov ecx, dword [r9 + rax*4 + 0x19498]
add rcx, r9
jmp rcx
mov eax, dword [rdi + 4]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov r9d, 0x1a
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 8
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180057120
mov eax, dword [rdi + 8]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov r9d, 0x1a
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 0x20
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180057120
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x60]
mov r9d, 0x1a
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r12
xor edx, edx
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180057120
jmp 0x1800193c8
mov rdx, qword [rbp - 0x50]
mov rax, qword [0x180358ab0]
mov qword [rdx + 8], rax
mov qword [0x180358ab0], rdx
jmp case.0x180018cc0.17
mov eax, dword [r14 + 4]
mov dword [rsp + 0x68], eax
jmp case.0x180018cc0.17
mov r13d, dword [r14 + 8]
lea rdi, [rbp - 0x20]
mov r9d, dword [r14 + 0xc]
mov r11d, dword [r14 + 0x10]
mov qword [rsp + 0x70], 0x14
mov esi, dword [rbp - 0x60]
mov r10d, 0x10b
nop dword [rax]
mov eax, r10d
sub eax, 0x10b
je 0x180018ded
sub eax, 1
je 0x180018ddf
cmp eax, 1
jne 0x180018e1c
mov r8d, ebx
mov dword [rsp + 0x68], ebx
mov ebx, esi
jmp 0x180018e21
mov r8d, dword [rsp + 0x68]
mov r13d, r8d
ror r13d, 2
jmp 0x180018e21
mov r8d, dword [rsp + 0x68]
lea esi, [r11 + 0x5a827999]
mov ecx, r8d
mov eax, r13d
not ecx
and eax, r8d
and ecx, r9d
mov edx, ebx
rol edx, 5
or ecx, eax
add edx, ecx
mov r11d, r9d
add edx, dword [rdi]
mov r9d, r13d
add esi, edx
jmp 0x180018e21
mov r8d, dword [rsp + 0x68]
inc r10d
cmp r10d, 0x10e
jb 0x180018dc0
add rdi, 4
mov dword [rbp - 0x60], esi
sub qword [rsp + 0x70], 1
jne 0x180018db0
lea r10, [rbp + 0x30]
mov qword [rsp + 0x70], 0x14
nop dword [rax]
mov edi, dword [rbp - 0x5c]
mov edx, 0x31
mov eax, edx
sub eax, 0x31
je 0x180018e7c
sub eax, 0x74
je 0x180018e77
cmp eax, 0x74
jne 0x180018e9b
mov r13d, r8d
mov r8d, ebx
ror r13d, 2
mov ebx, edi
jmp 0x180018e9b
mov r9d, r13d
jmp 0x180018e9b
lea edi, [r11 + 0x6ed9eba1]
mov eax, r9d
xor eax, r13d
mov ecx, ebx
rol ecx, 5
xor eax, r8d
add ecx, eax
mov r11d, r9d
add ecx, dword [r10]
add edi, ecx
add edx, 0x74
cmp edx, 0x18d
jb 0x180018e58
add r10, 4
mov dword [rbp - 0x5c], edi
sub qword [rsp + 0x70], 1
mov dword [rsp + 0x7c], r11d
mov dword [rsp + 0x78], r9d
mov dword [rsp + 0x68], r8d
mov dword [rbp - 0x78], r13d
jne 0x180018e50
jmp 0x1800193c4
mov rsi, qword [rdi + 0x20]
mov qword [rbp - 0x48], rsi
test rsi, rsi
je 0x18001941b
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r12
mov r9d, 0x1a
xor edx, edx
mov qword [rsp + 0x20], r12
mov rcx, r14
mov dword [rsp + 0x50], 1
call fcn.180057120
lea r9, str.vorbis
mov dword [rsp + 0x60], 6
lea r8, [rsp + 0x60]
mov edx, 0xc9
mov rcx, r14
call fcn.180023780
mov dword [rsp + 0x60], 0x20
mov dword [rsp + 0x50], r12d
jmp 0x180018d41
mov eax, dword [rdi + 0x10]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov r9d, 0x1a
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 0x20
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180057120
mov eax, dword [rdi + 0x14]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov r9d, 0x1a
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], 0x20
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180057120
mov rsi, qword [rbp - 0x48]
lea rdx, [rsp + 0x60]
mov ecx, 0x133
mov dword [rsp + 0x50], 4
mov eax, dword [rsi]
mov dword [rsp + 0x60], eax
call fcn.18006b810
mov dword [rsp + 0x70], eax
lea r8, [rsp + 0x70]
lea rax, [rsp + 0x50]
mov r9d, 0x1a
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], r12
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.180057120
mov eax, dword [rsi + 4]
lea rdx, [rsp + 0x70]
mov ecx, 0x133
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x60], 4
call fcn.18006b810
jmp 0x180018d3d
mov rax, qword [rbp - 0x50]
mov edx, 0x8c
mov rcx, qword [rax]
mov eax, edx
sub eax, 0x8c
je 0x18001904b
cmp eax, 2
je case.0x180018cc0.17
jmp 0x18001908e
movss xmm0, dword [rbp - 0x38]
subss xmm0, dword [0x180358ab8]
addss xmm0, dword [rcx]
movss dword [rcx], xmm0
movss xmm1, dword [rbp - 0x34]
subss xmm1, dword [0x180358abc]
addss xmm1, dword [rcx + 4]
movss dword [rcx + 4], xmm1
movss xmm0, dword [rbp - 0x30]
subss xmm0, dword [0x180358ac0]
addss xmm0, dword [rcx + 8]
movss dword [rcx + 8], xmm0
dec edx
cmp edx, 0x89
ja 0x180019037
jmp case.0x180018cc0.17
lea rdi, [rbp + 0x80]
mov qword [rsp + 0x70], 0x14
nop dword [rax]
mov esi, dword [rbp - 0x70]
mov r10d, PathYetAnotherMakeUniqueName
nop dword [rax]
mov r9d, dword [rsp + 0x78]
mov eax, r10d
sub eax, 0x45
je 0x180019114
mov r8d, dword [rsp + 0x68]
cmp eax, 1
jne 0x18001911d
mov ecx, r13d
mov dword [rsp + 0x78], r13d
or ecx, r8d
mov eax, r13d
and ecx, r9d
and eax, r8d
or ecx, eax
mov esi, ebx
add ecx, dword [rdi]
mov r11d, r9d
rol esi, 5
add esi, 0x8f1bbcdc
add esi, dword [rsp + 0x7c]
mov dword [rsp + 0x7c], r9d
add esi, ecx
mov r9d, r13d
mov r13d, r8d
ror r13d, 2
jmp 0x180019122
mov r8d, ebx
mov dword [rsp + 0x68], ebx
mov ebx, esi
mov r11d, dword [rsp + 0x7c]
dec r10d
cmp r10d, 0x44
ja 0x1800190c0
add rdi, 4
mov dword [rbp - 0x70], esi
sub qword [rsp + 0x70], 1
jne 0x1800190b0
lea r10, [rbp + 0xd0]
mov qword [rsp + 0x70], 0x14
nop
mov edi, dword [rbp - 0x80]
mov edx, 0x69
mov eax, edx
sub eax, 0x67
je 0x18001919a
sub eax, 1
je 0x18001918b
cmp eax, 1
jne 0x18001919c
add r11d, 0xca62c1d6
mov eax, r9d
xor eax, r13d
mov edi, ebx
xor eax, r8d
rol edi, 5
add eax, dword [r10]
add edi, r11d
add edi, eax
mov r11d, r9d
jmp 0x18001919c
mov r9d, r13d
mov r13d, r8d
ror r13d, 2
mov r8d, ebx
jmp 0x18001919c
mov ebx, edi
dec edx
cmp edx, 0x66
ja 0x180019158
add r10, 4
mov dword [rbp - 0x80], edi
sub qword [rsp + 0x70], 1
mov dword [rsp + 0x7c], r11d
mov dword [rsp + 0x78], r9d
mov dword [rsp + 0x68], r8d
mov dword [rbp - 0x78], r13d
jne 0x180019150
add dword [r14], ebx
add dword [r14 + 4], r8d
add dword [r14 + 8], r13d
jmp 0x1800193c4
mov eax, dword [rsp + 0x78]
add dword [r14 + 0xc], eax
mov eax, dword [rsp + 0x7c]
add dword [r14 + 0x10], eax
jmp case.0x180018cc0.17
cmp dword [0x1803581f4], 0
mov rdx, qword [0x180358728]
mov qword [rbp - 0x50], rdx
je 0x1800193ee
movsxd rax, dword [r14]
lea rcx, [rax + rax*4]
lea rax, [rcx*8 + 0x358830]
add rax, r9
cmp rax, qword [rdx]
je case.0x180018cc0.17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, [rbp - 0x38]
mov ecx, 0x10f
call fcn.1800801b0
jmp 0x1800193c8
movss xmm0, dword [rbp - 0x38]
mov rax, qword [0x180358728]
movss xmm1, dword [rbp - 0x34]
movss dword [0x180358ab8], xmm0
movss xmm0, dword [rbp - 0x30]
movss dword [0x180358ac0], xmm0
movss dword [0x180358abc], xmm1
mov rcx, qword [rax + 8]
mov qword [0x180358728], rcx
jmp case.0x180018cc0.17
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbp - 0x10], xmm1
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm1
jmp case.0x180018cc0.17
mov rax, qword [r14]
mov rcx, qword [r8]
mov rax, qword [rax + 0x30]
mov qword [rax + rcx*8], rdi
jmp case.0x180018cc0.17
mov r13d, dword [rbp - 0x18]
lea r10, [rbp - 0x18]
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x60], 8
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [r10 - 8]
lea rsi, [r10 + 0x20]
mov r14d, dword [r10 + 0x2c]
mov edx, r13d
mov r12d, dword [r10 + 0x18]
xor r9d, r14d
xor r9d, r12d
xor r9d, r13d
rol r9d, 1
mov dword [r10 + 0x38], r9d
mov r8d, dword [r10 - 4]
mov r15d, dword [r10 + 0x1c]
xor r8d, r15d
mov eax, dword [r10 + 4]
mov edi, dword [r10 + 0x30]
xor r8d, edi
xor r8d, eax
rol r8d, 1
mov dword [r10 + 0x3c], r8d
mov ebx, dword [r10 + 0x34]
mov r11d, ebx
mov ecx, dword [r10 + 8]
xor r11d, ecx
mov r13d, dword [rsi]
xor r11d, r13d
xor r11d, edx
rol r11d, 1
mov dword [r10 + 0x40], r11d
mov edx, dword [r10 + 0xc]
mov r10d, dword [r10 + 0x24]
xor r10d, r9d
mov r9, qword [rsp + 0x70]
xor r10d, edx
xor r10d, eax
rol r10d, 1
mov dword [r9 + 0x44], r10d
xor r10d, edi
mov eax, dword [r9 + 0x10]
xor r10d, eax
mov r9d, dword [r9 + 0x28]
xor r10d, r12d
xor r9d, r8d
rol r10d, 1
mov r8, qword [rsp + 0x70]
xor r9d, eax
xor r9d, ecx
mov qword [rsp + 0x70], rsi
rol r9d, 1
mov dword [r8 + 0x48], r9d
xor r9d, ebx
xor r11d, dword [r8 + 0x14]
xor r9d, r15d
xor r11d, edx
mov dword [r8 + 0x50], r10d
xor r11d, r14d
mov r10, rsi
rol r11d, 1
mov dword [r8 + 0x4c], r11d
xor r9d, dword [r8 + 0x14]
rol r9d, 1
sub qword [rsp + 0x60], 1
mov dword [r8 + 0x54], r9d
jne 0x1800192d0
mov r14, qword [rbp - 0x40]
xor r12d, r12d
mov r13d, dword [rbp - 0x78]
mov r15d, dword [rsp + 0x50]
mov ebx, dword [r14]
mov rdi, qword [rbp - 0x58]
mov r8, qword [rbp - 0x68]
lea r9, [0x180000000]
mov ecx, dword [rsp + 0x58]
dec r15d
mov dword [rsp + 0x50], r15d
lea eax, [r15 + 0xe9]
cmp eax, ecx
ja 0x180018ca2
mov eax, dword [rbp - 0x80]
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1800bfa40
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, 0xffffff7f
jmp 0x1800193f1
lea rcx, [rbp - 0x80]
mov dword [rbp - 0x80], 1
mov qword [rsp + 0x30], rcx
lea r8, [rbp - 0x70]
mov qword [rsp + 0x28], r12
mov rcx, r14
mov r9d, 0x1a
mov qword [rsp + 0x20], r12
xor edx, edx
mov dword [rbp - 0x70], 1
call fcn.180057120
mov eax, r12d
jmp 0x1800193f1
lea rax, [rbp - 0x80]
mov dword [rbp - 0x80], 4
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor ecx, ecx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r8
lea edx, [r9 + 0x60]
mov r8, r14
call fcn.18002d7b0
jmp 0x1800193f1