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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rbx, rcx
xor ecx, ecx
mov dword [rbp + 0x198], ecx
mov dword [rbp + 0x190], ecx
mov qword [rbp + 0xc8], rcx
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x188]
lea rcx, [rbp - 0x80]
call fcn.180055d50
nop
movzx edx, byte [rbp - 0x80]
test dl, dl
sete al
test dl, dl
je 0x18005113f
test al, al
je 0x1800509cc
mov byte [rbp - 0x80], 1
mov dl, 1
lea rcx, [rbp + 0x190]
call fcn.180007da0
mov rdi, qword [rbp + 0x190]
mov qword [rbp - 0x78], rdi
movzx edx, byte [rbp - 0x80]
jmp 0x1800509d0
mov rdi, qword [rbp - 0x78]
cmp dl, 1
jne 0x18005119f
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1800509f0
mov rdx, rbx
lea rcx, [rbp + 0x28]
call fcn.180008f30
nop
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18005b1d0
mov rbx, qword [rax]
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x180050a5b
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180050a56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180050a56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005c254
movdqa xmm0, xmmword [0x18006b4b0]
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x68]
call fcn.180006cf0
nop
lea r9, [rbp - 0x68]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movabs r11, 0x8000000000000000
mov rsi, r11
movzx ecx, byte [r9]
mov edx, ecx
sub edx, 1
je 0x180050ae0
cmp edx, 1
je 0x180050ad0
test ecx, ecx
je 0x180050ac5
sub ecx, 1
je 0x180050ae0
cmp ecx, 1
je 0x180050ad0
xor r8d, r8d
mov esi, r8d
mov rbx, qword [rbp - 0x50]
jmp 0x180050aed
mov esi, 1
mov rbx, qword [rbp - 0x50]
jmp 0x180050aea
mov rdi, qword [r9 + 8]
mov rdi, qword [rdi]
mov rbx, qword [rbp - 0x50]
xor r8d, r8d
jmp 0x180050af1
mov rax, qword [r9 + 8]
mov rbx, qword [rax]
mov rbx, qword [rbx]
xor r8d, r8d
mov rdi, qword [rbp - 0x48]
lea r10, [rbp - 0x68]
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x50], xmm1
mov r12, r11
mov qword [rbp - 0x70], r11
movzx ecx, byte [r10]
mov edx, ecx
sub edx, 1
je 0x180050b46
cmp edx, 1
je 0x180050b37
mov qword [rbp - 0x70], r11
sub ecx, 1
je 0x180050b46
cmp ecx, 1
je 0x180050b37
mov r12d, 1
mov qword [rbp - 0x70], r12
mov r15, qword [rsp + 0x48]
jmp 0x180050b4d
mov r14, qword [r10 + 8]
mov r14, qword [r14 + 8]
mov r15, qword [rsp + 0x48]
jmp 0x180050b52
mov r15, qword [r10 + 8]
mov r15, qword [r15]
mov r14, qword [rsp + 0x50]
cmp r9, r10
jne 0x180051163
nop dword [rax + rax]
movzx ecx, byte [r9]
mov edx, ecx
sub edx, 1
je 0x180050b7a
cmp edx, 1
je 0x180050b75
cmp rsi, r12
jmp 0x180050b7d
cmp rdi, r14
jmp 0x180050b7d
cmp rbx, r15
setne al
test al, al
je 0x18005112e
test ecx, ecx
je 0x180051367
sub ecx, 1
je 0x180050bad
cmp ecx, 1
je 0x180050ba8
test rsi, rsi
jne 0x1800511f4
mov r13, r9
jmp 0x180050bb1
mov r13, rdi
jmp 0x180050bb1
lea r13, [rbx + 0x40]
mov qword [rbp - 0x18], r8
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov dword [rbp - 0x48], 0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov qword [rbp + 0x20], r8
mov edx, 5
lea rcx, [rbp + 0x10]
call fcn.180056830
mov r8d, 0x14
lea rdx, [rbp - 0x58]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbp + 0x10]
add rax, 0x14
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x18], rax
lea rdx, [0x18006b114]
mov rcx, r13
call fcn.180055e70
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xor ecx, ecx
mov qword [rbp], rcx
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], cl
mov ecx, dword [rbp + 0x198]
or ecx, 2
mov dword [rbp + 0x198], ecx
mov dword [rbp + 0x190], ecx
cmp byte [rax], 3
jne 0x180051315
mov rdx, qword [rax + 8]
lea rax, [rbp - 0x10]
cmp rax, rdx
je 0x180050c78
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180050c69
mov rdx, qword [rdx]
lea rcx, [rbp - 0x10]
call fcn.180008020
mov ecx, dword [rbp + 0x198]
and ecx, 0xfffffffd
or ecx, 1
mov dword [rbp + 0x198], ecx
lea rdx, str.cooldown
mov rcx, r13
call fcn.180055e70
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180006cf0
nop
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x50], rax
cmp qword [rbp], 0
je 0x180051010
cmp byte [rsp + 0x40], 2
jne 0x180051010
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae r8, rax
movabs rdx, 0xcbf29ce484222325
movabs r12, 0x100000001b3
movsx rcx, byte [r8]
lea r8, [r8 + 1]
xor rdx, rcx
imul rdx, r12
test cl, cl
jne 0x180050ce0
mov r12, qword [rbp - 0x70]
mov qword [rbp - 0x18], rdx
lea r13, [rsp + 0x40]
xor eax, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
movabs r10, 0x8000000000000000
mov r8, r10
movzx ecx, byte [r13]
mov edx, ecx
sub edx, 1
je 0x180050d60
cmp edx, 1
je 0x180050d53
test ecx, ecx
je 0x180050d47
sub ecx, 1
je 0x180050d60
cmp ecx, 1
je 0x180050d53
mov r8d, eax
mov rax, qword [rbp - 0x50]
jmp 0x180050d6a
mov r8d, 1
mov rax, qword [rbp - 0x50]
jmp 0x180050d6a
mov rdx, qword [r13 + 8]
mov rdx, qword [rdx]
mov rax, qword [rbp - 0x50]
jmp 0x180050d6e
mov rax, qword [r13 + 8]
mov rax, qword [rax]
mov rax, qword [rax]
mov rdx, qword [rbp - 0x48]
lea r9, [rsp + 0x40]
movdqu xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x70], xmm1
mov r11, r10
movzx r9d, byte [r9]
mov r10d, r9d
sub r10d, 1
je 0x180050dc2
cmp r10d, 1
je 0x180050dae
sub r9d, 1
je 0x180050dc2
cmp r9d, 1
je 0x180050dae
mov r11d, 1
mov r10, qword [rsp + 0x68]
jmp 0x180050dce
lea r10, [rsp + 0x40]
mov r9, qword [r10 + 8]
mov r9, qword [r9 + 8]
mov r10, qword [rsp + 0x68]
jmp 0x180050dd3
lea r10, [rsp + 0x40]
mov r10, qword [r10 + 8]
mov r10, qword [r10]
mov r9, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
mov qword [rbp - 0x20], rcx
nop dword [rax]
lea rcx, [rsp + 0x40]
cmp r13, rcx
jne 0x1800512df
movzx r13d, byte [r13]
mov ecx, r13d
sub ecx, 1
je 0x180050e0a
cmp ecx, 1
je 0x180050e05
cmp r8, r11
jmp 0x180050e0d
cmp rdx, r9
jmp 0x180050e0d
cmp rax, r10
setne cl
test cl, cl
je 0x180050fda
test r13d, r13d
je 0x1800512a9
sub r13d, 1
je 0x180050e42
cmp r13d, 1
je 0x180050e3d
test r8, r8
jne 0x18005122a
lea rcx, [rsp + 0x40]
jmp 0x180050e46
mov rcx, rdx
jmp 0x180050e46
lea rcx, [rax + 0x40]
mov qword [rsp + 0x30], rcx
movzx r13d, byte [rcx]
mov byte [rbp + 0x190], r13b
lea ecx, [r13 - 5]
cmp cl, 2
ja 0x180050f4e
sub r13d, 4
je 0x180050f1a
sub r13d, 1
je 0x180050ee9
sub r13d, 1
mov rcx, qword [rsp + 0x30]
je 0x180050eaa
cmp r13d, 1
jne 0x180051260
add rcx, 8
cmp byte [rbp + 0x190], 7
mov r13d, 0
cmovne rcx, r13
movsd xmm0, qword [rcx]
cvtpd2ps xmm0, xmm0
jmp 0x180050f3e
add rcx, 8
cmp byte [rbp + 0x190], 6
mov r13d, 0
cmovne rcx, r13
mov r13, qword [rcx]
xorps xmm0, xmm0
test r13, r13
js 0x180050ed1
cvtsi2ss xmm0, r13
jmp 0x180050f3e
mov rcx, r13
shr rcx, 1
and r13d, 1
or rcx, r13
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
jmp 0x180050f3e
movzx r13d, byte [rbp + 0x190]
sub r13b, 5
cmp r13b, 1
jbe 0x180050f07
xor ecx, ecx
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rcx]
jmp 0x180050f3e
mov rcx, qword [rsp + 0x30]
add rcx, 8
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rcx]
jmp 0x180050f3e
mov rcx, qword [rsp + 0x30]
add rcx, 8
cmp byte [rbp + 0x190], 4
mov r13d, 0
cmovne rcx, r13
movzx ecx, byte [rcx]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov rcx, qword [rbp - 0x20]
movss dword [rcx], xmm0
add rcx, 4
mov qword [rbp - 0x20], rcx
lea rcx, [rsp + 0x40]
movzx r13d, byte [rcx]
sub r13d, 1
je 0x180050f79
cmp r13d, 1
lea r13, [rsp + 0x40]
je 0x180050f70
inc r8
jmp 0x180050de0
add rdx, 0x10
jmp 0x180050de0
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x180050fad
mov rax, qword [rcx + 8]
cmp byte [rax + 0x19], 0
jne 0x180050fd0
cmp rcx, qword [rax + 0x10]
jne 0x180050fd0
mov rcx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180050f90
lea r13, [rsp + 0x40]
jmp 0x180050de0
mov r13, qword [rax]
cmp byte [r13 + 0x19], 0
jne 0x180050fd0
nop word [rax + rax]
mov rax, r13
mov rcx, qword [r13]
mov r13, rcx
cmp byte [rcx + 0x19], 0
je 0x180050fc0
lea r13, [rsp + 0x40]
jmp 0x180050de0
lea rdx, [rbp - 0x18]
lea rcx, [0x180076ca0]
call fcn.18001afc0
lea rcx, [rbp + 0x10]
mov r13, qword [rsp + 0x38]
cmp rax, rcx
je 0x180051015
mov r8, qword [rbp + 0x48]
sub r8, r13
sar r8, 2
mov rdx, r13
mov rcx, rax
call fcn.180056120
jmp 0x180051015
mov r13, qword [rsp + 0x38]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.180007670
nop
mov rax, qword [rbp + 8]
cmp rax, 0x10
jb 0x180051062
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005105c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051120
call fcn.18005c254
nop
test r13, r13
je 0x1800510a7
mov rax, qword [rbp + 0x20]
sub rax, r13
sar rax, 2
lea rdx, [rax*4]
mov rax, r13
cmp rdx, 0x1000
jb 0x18005109f
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051127
mov rcx, r13
call fcn.18005c254
lea r9, [rbp - 0x68]
movzx ecx, byte [r9]
sub ecx, 1
je 0x1800510c4
cmp ecx, 1
je 0x1800510be
inc rsi
jmp 0x18005110f
add rdi, 0x10
jmp 0x18005110f
mov rax, rbx
mov rbx, qword [rbx + 0x10]
cmp byte [rbx + 0x19], 0
je 0x1800510f5
mov rbx, qword [rax + 8]
cmp byte [rbx + 0x19], 0
jne 0x18005110f
nop dword [rax + rax]
cmp rax, qword [rbx + 0x10]
jne 0x18005110f
mov rax, rbx
mov rbx, qword [rbx + 8]
cmp byte [rbx + 0x19], 0
je 0x1800510e0
jmp 0x18005110f
mov rcx, qword [rbx]
cmp byte [rcx + 0x19], 0
jne 0x18005110f
nop
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180051100
lea rax, [rbp - 0x68]
cmp r9, rax
jne 0x180051163
xor r8d, r8d
jmp 0x180050b60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx edx, byte [rbp - 0x68]
lea rcx, [rbp - 0x60]
call fcn.180007670
movzx edx, byte [rbp - 0x80]
lea rcx, [rbp - 0x78]
call fcn.180007670
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.cannot_compare_iterators_of_different_containers
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
lea r8, [rsp + 0x60]
mov edx, 0xd4
lea rcx, [rbp + 0x90]
call fcn.1800022f0
lea rdx, [0x180072d48]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rcx, [rbp - 0x80]
call fcn.18000ab10
mov rdx, rax
lea rcx, [rbp + 0x118]
call fcn.180007140
nop
mov r8, rax
lea rdx, str.cannot_use_operator___with_a_string_argument_with
lea rcx, [rbp + 0x58]
call fcn.180008480
nop
mov r8, rax
mov edx, 0x131
lea rcx, [rbp + 0xe0]
call fcn.1800024f0
lea rdx, [0x180072f58]
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
lea r8, [rsp + 0x60]
mov edx, 0xd6
lea rcx, [rbp - 0x58]
call fcn.1800022f0
lea rdx, [0x180072d48]
lea rcx, [rbp - 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
lea r8, [rsp + 0x60]
mov edx, 0xd6
lea rcx, [rbp + 0x58]
call fcn.1800022f0
lea rdx, [0x180072d48]
lea rcx, [rbp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.18000ab10
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
mov r8, rax
lea rdx, str.type_must_be_number__but_is
lea rcx, [rbp + 0x28]
call fcn.180008480
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x58]
call fcn.1800024f0
lea rdx, [0x180072f58]
lea rcx, [rbp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
lea r8, [rsp + 0x60]
mov edx, 0xd6
lea rcx, [rbp + 0x58]
call fcn.1800022f0
lea rdx, [0x180072d48]
lea rcx, [rbp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_compare_iterators_of_different_containers
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
lea r8, [rsp + 0x60]
mov edx, 0xd4
lea rcx, [rbp + 0x58]
call fcn.1800022f0
lea rdx, [0x180072d48]
lea rcx, [rbp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rax
call fcn.18000ab10
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp - 0x58]
call fcn.180008480
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rbp + 0x90]
call fcn.1800024f0
lea rdx, [0x180072f58]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.cannot_get_value
lea rcx, [rsp + 0x60]
call fcn.180007140
nop
lea r8, [rsp + 0x60]
mov edx, 0xd6
lea rcx, [rbp + 0x90]
call fcn.1800022f0
lea rdx, [0x180072d48]
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3