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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180acd980]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov ecx, dword [0x180ae5124]
mov rax, qword gs:[0x58]
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x70], rax
mov ecx, 0x1c
xor edi, edi
mov eax, dword [rcx + rax]
cmp dword [0x180ae9188], eax
jg 0x18016ac30
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x28], rdi
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x18016a5c0
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.18000e500
lea r8, [rbp + 0x10]
mov r12, qword [rbp + 0x10]
mov r13, qword [rbp + 0x28]
cmp r13, 0xf
cmova r8, r12
movabs r14, 0xcbf29ce484222325
mov rcx, r14
mov rdx, rdi
movabs r9, 0x100000001b3
mov r15, qword [rbp + 0x20]
test r15, r15
je 0x18016a624
nop dword [rax]
movzx eax, byte [r8 + rdx]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r15
jb 0x18016a610
and rcx, qword [0x180ae91c0]
add rcx, rcx
mov rax, qword [0x180ae91a8]
mov rdi, qword [rax + rcx*8 + 8]
cmp rdi, qword [0x180ae9198]
je 0x18016a68b
mov rax, qword [rax + rcx*8]
mov qword [rbp - 0x40], rax
nop dword [rax + rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18016a662
mov rdx, qword [rdx]
lea rcx, [rbp + 0x10]
cmp r13, 0xf
cmova rcx, r12
cmp r15, rax
jne 0x18016a67f
mov r8, r15
call fcn.180381530
test eax, eax
je 0x18016a68d
cmp rdi, qword [rbp - 0x40]
je 0x18016a68b
mov rdi, qword [rdi + 8]
jmp 0x18016a650
xor edi, edi
cmp r13, 0xf
jbe 0x18016a6c5
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x18016a6bd
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016acc6
mov rcx, r12
call fcn.180342c24
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x60], xmm0
movdqu xmmword [rbp - 0x50], xmm1
test rdi, rdi
je 0x18016a77a
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x18016a6e0
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.18000e500
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x50]
call fcn.18016d620
mov rbx, qword [rax]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x18016a745
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016a740
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016accc
call fcn.180342c24
movdqa xmm0, xmmword [0x180426360]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rax, qword [rbx + 0x30]
mov qword [0x180ae9070], rax
mov eax, dword [rbx + 0x38]
mov dword [0x180ae9068], eax
mov eax, dword [rbx + 0x3c]
mov dword [0x180ae9064], eax
mov al, 1
jmp 0x18016abf5
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x18016a780
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.18000e500
nop
lea rdx, [rbp - 0x60]
mov rdi, qword [rbp - 0x60]
mov r15, qword [rbp - 0x48]
cmp r15, 0xf
cmova rdx, rdi
xor r12d, r12d
mov ecx, r12d
mov r8, qword [rbp - 0x50]
test r8, r8
je 0x18016a7e3
movabs r9, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor r14, rax
imul r14, r9
inc rcx
cmp rcx, r8
jb 0x18016a7d0
mov r9, r14
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
call fcn.18016e4d0
mov rax, qword [rbp - 0x38]
test rax, rax
jne 0x18016a906
movabs rax, 0x3ffffffffffffff
cmp qword [0x180acec30], rax
je 0x18016acd2
lea rax, [0x180acec28]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r12
mov ecx, 0x40
call fcn.1803427a0
mov r15, rax
mov qword [rsp + 0x58], rax
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], r12
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rax + 0x20], xmm1
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [rax + 0x30], xmm0
mov rcx, qword [0x180acec30]
add rcx, 1
xorps xmm1, xmm1
js 0x18016a880
cvtsi2ss xmm1, rcx
jmp 0x18016a895
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x180acec58]
xorps xmm0, xmm0
test rcx, rcx
js 0x18016a8ab
cvtsi2ss xmm0, rcx
jmp 0x18016a8c0
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x180acec20]
comiss xmm0, xmm1
jae 0x18016a8ee
call fcn.18016d950
mov r9, r14
lea r8, [r15 + 0x10]
lea rdx, [rsp + 0x50]
call fcn.18016e4d0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
mov r9, r15
mov r8, qword [rbp - 0x40]
mov rdx, r14
call fcn.18016da20
nop
mov r15, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x60]
movups xmm6, xmmword [rax + 0x30]
cmp r15, 0xf
jbe 0x18016a941
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18016a939
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016acdf
mov rcx, rdi
call fcn.180342c24
movq rcx, xmm6
test rcx, rcx
jne 0x18016a960
lea rax, str.Failed_to_load_embedded_resource:_0
mov qword [rsp + 0x58], 0x25
jmp 0x18016aba5
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], r12d
mov qword [rbp + 0x40], r12
mov dword [rbp + 0x60], r12d
mov dword [rbp + 0xe8], r12d
mov qword [rbp + 0x100], rcx
mov qword [rbp + 0xf0], rcx
psrldq xmm6, 8
movq rax, xmm6
sub eax, ecx
cdqe
add rcx, rax
mov qword [rbp + 0x108], rcx
mov qword [rbp + 0xf8], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.180159f30
mov rdi, rax
test rax, rax
je 0x18016ab95
cmp dword [rbp - 0x40], 8
je 0x18016a9ee
mov r9d, 4
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.18015a5d0
mov rdi, rax
mov ecx, 0x30
mov rax, qword [rsp + 0x70]
cmp dword [rcx + rax], 0
je 0x18016aa08
mov ecx, 0x34
mov eax, dword [rcx + rax]
jmp 0x18016aa0e
mov eax, dword [0x180ae6d24]
test eax, eax
je 0x18016aa29
mov r9d, 4
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x40]
mov rcx, rdi
call fcn.18015a780
test rdi, rdi
je 0x18016ab95
mov qword [rbp - 0xc], 1
mov qword [rbp + 4], r12
mov ecx, dword [rsp + 0x40]
mov dword [rbp - 0x20], ecx
mov eax, dword [rsp + 0x44]
mov dword [rbp - 0x1c], eax
mov dword [rbp - 0x18], 1
mov dword [rbp - 0x14], 1
mov dword [rbp - 0x10], 0x1c
mov dword [rbp - 4], r12d
mov dword [rbp], 8
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], rdi
lea eax, [rcx*4]
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x7c], r12d
mov rcx, qword [0x180ae6a50]
mov rax, qword [rcx]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x20]
call qword [rax + 0x28]
mov qword [rbp - 0x68], r12
mov dword [rbp - 0x78], 0x1c
mov qword [rbp - 0x74], 4
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x6c], eax
mov rcx, qword [0x180ae6a50]
mov rax, qword [rcx]
lea r9, [0x180ae9070]
lea r8, [rbp - 0x78]
mov rdx, qword [rsp + 0x60]
call qword [rax + 0x38]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, dword [rsp + 0x40]
mov dword [0x180ae9068], eax
mov eax, dword [rsp + 0x44]
mov dword [0x180ae9064], eax
mov rcx, rdi
call fcn.18035b684
mov rdi, qword [0x180ae9070]
mov r14d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x44]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
nop dword [rax]
inc rbx
cmp byte [rsi + rbx], 0
jne 0x18016ab20
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.18000e500
nop
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x50]
call fcn.18016d620
mov rcx, qword [rax]
mov qword [rcx + 0x30], rdi
mov dword [rcx + 0x38], r14d
mov dword [rcx + 0x3c], r15d
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x18016ab91
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016ab8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016ac2a
call fcn.180342c24
mov al, 1
jmp 0x18016abf5
lea rax, str.Failed_to_load_embedded_image:_0
mov qword [rsp + 0x58], 0x22
mov qword [rsp + 0x50], rax
call fcn.1801f56e0
movaps xmm0, xmmword [rsp + 0x50]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x40], r12
movdqa xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x30], r12
lea rcx, [rsp + 0x68]
movups xmm1, xmmword [rbp - 0x40]
movsd xmm0, qword [rbp - 0x30]
mov qword [rsp + 0x20], rcx
movaps xmmword [rbp - 0x60], xmm1
movsd qword [rbp - 0x50], xmm0
lea r9, [rsp + 0x50]
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.18016e5b0
xor al, al
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.180342780
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180350d84
int3
lea rcx, [0x180ae9188]
call fcn.180342d00
cmp dword [0x180ae9188], 0xffffffff
jne 0x18016a5a1
mov ecx, 0x40
call fcn.1803427a0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x180ae9198], rax
mov qword [0x180ae91a8], rdi
xorps xmm0, xmm0
movdqa xmmword [0x180ae91b0], xmm0
mov qword [0x180ae91c0], 7
mov qword [0x180ae91c8], 8
mov dword [0x180ae9190], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x180ae91a8]
call fcn.180019230
nop
lea rcx, [0x180396e50]
call fcn.180342c04
nop
lea rcx, [0x180ae9188]
call fcn.180342c94
jmp 0x18016a5a1
call fcn.180350d84
int3
call fcn.180350d84
nop
lea rcx, str.unordered_map_set_too_long
call fcn.18031c22c
nop
call fcn.180350d84
int3