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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1d0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [0x1802ec4c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov qword [rsp + 0x70], rdx
mov rbx, rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x58], rdx
xor edi, edi
mov dword [rsp + 0x60], edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1802b85b0]
movdqu xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x50], 0x7466656c
mov byte [rbp - 0x4c], dil
xor r8d, r8d
lea rdx, [rbp - 0x50]
movss xmm0, dword [0x1802b8020]
call fcn.1800598f0
movaps xmm10, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm1
movdqa xmm2, xmmword [0x1802b85a0]
movdqu xmmword [rbp - 0x40], xmm2
mov eax, dword [0x1802a1e60]
mov word [rbp - 0x50], ax
movzx eax, byte [0x1802a1e62]
mov byte [rbp - 0x4e], al
mov byte [rbp - 0x4d], dil
xor r8d, r8d
lea rdx, [rbp - 0x50]
movss xmm0, dword [0x1802b80a0]
call fcn.1800598f0
movaps xmm7, xmm0
addss xmm7, dword [rbx + 0xf8]
xorps xmm1, xmm1
movups xmmword [rbp - 0x10], xmm1
mov esi, 8
mov qword [rbp], rsi
mov qword [rbp + 8], 0xf
movabs rax, 0x4955476b63696c43
mov qword [rbp - 0x10], rax
mov byte [rbp - 8], dil
movabs rbx, 0xcbf29ce484222325
mov rcx, rbx
mov edx, edi
movabs r13, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rdx - 0x10]
xor rcx, rax
imul rcx, r13
inc rdx
cmp rdx, 8
jb 0x18016e150
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x60]
call fcn.180134530
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18016e181
lock inc dword [rcx + 8]
mov r15, qword [rax]
mov qword [rbp - 0x80], r15
mov r12, qword [rax + 8]
mov qword [rbp - 0x78], r12
mov dword [rsp + 0x60], esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov ecx, 0x20
call fcn.18020e888
mov r14, rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], 0x15
mov qword [rbp + 0x28], 0x1f
movups xmm0, xmmword [str.colors_secondary6_rgb]
movups xmmword [rax], xmm0
mov ecx, dword [0x1802ad240]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1802ad244]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], 0
mov rcx, rdi
movzx eax, byte [r14 + rcx]
xor rbx, rax
imul rbx, r13
inc rcx
cmp rcx, 0x15
jb 0x18016e1e0
mov rax, qword [r15 + 0xa0]
and rax, rbx
add rax, rax
mov rcx, qword [r15 + 0x88]
mov rbx, qword [rcx + rax*8 + 8]
mov r13, qword [r15 + 0x78]
cmp rbx, r13
je 0x18016e252
mov r15, qword [rcx + rax*8]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18016e232
mov rdx, qword [rdx]
cmp rax, 0x15
jne 0x18016e247
mov r8, rax
mov rcx, r14
call fcn.180245950
test eax, eax
je 0x18016e255
cmp rbx, r15
je 0x18016e252
mov rbx, qword [rbx + 8]
jmp 0x18016e220
mov rbx, rdi
test rbx, rbx
je 0x18016e265
cmp rbx, r13
je 0x18016e265
mov rax, qword [rbx + 0x30]
jmp 0x18016e268
mov rax, rdi
cmp byte [rax + 0x28], 0
je 0x18016e27a
movups xmm0, xmmword [0x180343f50]
jmp 0x18016e30d
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [reloc.d2d1.dll_Ordinal_8]
movdqu xmmword [rbp - 0x40], xmm1
movabs rax, 0x4955476b63696c43
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 0
mov dword [rsp + 0x60], 9
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x68]
call fcn.180133930
nop
mov dword [rsp + 0x60], 0xb
mov rbx, qword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov r8d, 0x11
lea rdx, str.colors_secondary6
lea rcx, [rbp + 0x50]
call fcn.1800596c0
nop
mov esi, 0xf
mov dword [rsp + 0x60], esi
lea rdx, [rbp + 0x50]
lea rcx, [rbx + 0x70]
call fcn.180044ae0
lea rdx, [rax + 0x28]
lea rcx, [rbp - 0x30]
call fcn.180085120
movups xmm0, xmmword [rax]
lea rax, [rbp - 0x10]
movups xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
test sil, 4
je 0x18016e333
and esi, 0xfffffffb
mov dword [rsp + 0x60], esi
lea rcx, [rbp + 0x50]
call fcn.180059890
nop
test sil, 2
je 0x18016e34f
and esi, 0xfffffffd
mov dword [rsp + 0x60], esi
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x18016e34f
call fcn.180003820
nop
test sil, 1
je 0x18016e36d
mov r8, qword [rbp - 0x38]
cmp r8, 0xf
jbe 0x18016e36d
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.180059850
nop
mov edx, 0x20
mov rcx, r14
call fcn.18020e750
nop
test r12, r12
je 0x18016e3b4
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [r12 + 8], eax
cmp eax, 1
jne 0x18016e3b4
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x18016e3b4
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.d2d1.dll_Ordinal_8]
nop
movss xmm9, dword [0x180343f60]
movdqa xmm0, xmmword [0x1802b9590]
movups xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [reloc.OLEAUT32.dll_SysStringLen]
movdqu xmmword [rbp - 0x20], xmm1
mov eax, dword [str.height]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1802a1e88]
mov word [rbp - 0x2c], ax
mov byte [rbp - 0x2a], 0
mov r8b, 1
lea rdx, [rbp - 0x30]
movss xmm0, dword [0x1802b811c]
call fcn.180059ab0
movaps xmm6, xmm0
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.180059390
mov qword [rsp + 0x20], rbx
mov r9, rax
lea rdx, [rbp - 0x50]
call fcn.18008d610
nop
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova r9, qword [rbp - 0x50]
movss xmm0, dword [rbp - 0x80]
movss dword [rsp + 0x70], xmm0
movss xmm1, dword [rbp - 0x7c]
movss dword [rsp + 0x74], xmm1
movss xmm0, dword [rbp - 0x78]
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm9
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x2bc
movss dword [rsp + 0x38], xmm6
mov dword [rsp + 0x30], edi
xorps xmm8, xmm8
movss dword [rsp + 0x28], xmm8
movss xmm0, dword [0x1802b8458]
movss dword [rsp + 0x20], xmm0
movaps xmm2, xmm7
movaps xmm1, xmm10
lea rcx, [rbp + 0x30]
call fcn.1800860c0
nop
mov r8, qword [rbp - 0x38]
cmp r8, 7
jbe 0x18016e4c8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.180058580
nop
cmp byte [0x180343f40], 0
je 0x18016e535
mov dword [rsp + 0x60], edi
mov eax, dword [0x180343f64]
inc eax
test eax, eax
jle 0x18016e535
mov ecx, edi
cmp ecx, dword [0x180343f44]
jg 0x18016e521
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x30]
call fcn.18005e370
mov rcx, qword [rax]
movss xmm0, dword [rcx + 0x14]
comiss xmm0, xmm8
jbe 0x18016e51d
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x68]
call fcn.18005e370
mov rcx, qword [rax]
addss xmm7, dword [rcx + 0x14]
mov edi, dword [rsp + 0x60]
inc edi
mov dword [rsp + 0x60], edi
mov ecx, edi
mov eax, dword [0x180343f64]
inc eax
cmp edi, eax
jl 0x18016e4e3
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 5
mov qword [rbp - 0x38], 0xf
mov r8d, dword [str.width]
mov dword [rbp - 0x50], r8d
movzx r9d, byte [0x1802a1e80]
mov byte [rbp - 0x4c], r9b
mov byte [rbp - 0x4b], 0
mov rcx, qword [0x18034e550]
test rcx, rcx
je 0x18016e59f
mov rax, qword [0x18034e548]
dec rax
add rcx, rax
mov rdx, qword [0x18034e540]
dec rdx
and rdx, rcx
mov rax, qword [0x18034e538]
mov rcx, qword [rax + rdx*8]
movss xmm6, dword [rcx + 0xc]
jmp 0x18016e5a7
movss xmm6, dword [0x1802f8f08]
cmp r8d, 0x74646977
jne 0x18016e5c0
cmp r9b, 0x68
jne 0x18016e5c0
mulss xmm6, dword [0x1802b8004]
jmp 0x18016e5c6
movss xmm6, dword [rsp + 0x60]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x30]
call fcn.18005ff10
mov rcx, qword [rax]
addss xmm6, dword [rcx + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 5
mov qword [rbp - 0x18], 0xf
mov r9d, dword [str.width]
mov dword [rbp - 0x30], r9d
movzx r8d, byte [0x1802a1e80]
mov byte [rbp - 0x2c], r8b
mov byte [rbp - 0x2b], 0
mov rcx, qword [0x18034e550]
test rcx, rcx
je 0x18016e645
mov rax, qword [0x18034e548]
dec rax
add rcx, rax
mov rdx, qword [0x18034e540]
dec rdx
and rdx, rcx
mov rax, qword [0x18034e538]
mov rcx, qword [rax + rdx*8]
movss xmm1, dword [rcx + 0xc]
jmp 0x18016e64d
movss xmm1, dword [0x1802f8f08]
cmp r9d, 0x74646977
jne 0x18016e666
cmp r8b, 0x68
jne 0x18016e666
mulss xmm1, dword [0x1802b802c]
jmp 0x18016e66c
movss xmm1, dword [rsp + 0x60]
addss xmm1, xmm7
movss xmm0, dword [rbp - 0x10]
movss dword [rsp + 0x70], xmm0
movss xmm2, dword [rbp - 0xc]
movss dword [rsp + 0x74], xmm2
movss xmm0, dword [rbp - 8]
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm9
mov dword [rsp + 0x38], 0xf0
movss dword [rsp + 0x28], xmm8
movss xmm0, dword [0x1802b8308]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm6
lea r8, [rsp + 0x70]
movaps xmm0, xmm10
call fcn.18007f8c0
nop
mov qword [rbp + 0x20], 6
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x16], 0
movss xmm0, dword [0x1802f8f0c]
cmp dword [str.height], 0x67696568
jne 0x18016e704
cmp word [0x1802a1e88], 0x7468
jne 0x18016e704
mulss xmm0, dword [0x1802b806c]
jmp 0x18016e70a
movss xmm0, dword [rsp + 0x60]
mov rax, qword [rbp - 0x70]
addss xmm0, dword [rax + 0xf8]
movss dword [rax + 0xf8], xmm0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x18016e755
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18016e750
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016e7ae
call fcn.18020e750
movdqa xmm0, xmmword [0x1802b8570]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rcx, rbx
call fcn.180059890
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18020e120
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1802214b8
nop
int3