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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x128
cmp byte [0x18039a64c], 0
je 0x1800aa126
mov rcx, qword [0x18039f620]
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x30], r14
mov r14d, 1
mov qword [r11 - 0x38], r15
xor r15d, r15d
mov rax, qword [rcx + 0x58]
movaps xmmword [rsp + 0x50], xmm15
movss xmm15, dword [0x18024da84]
mov r12d, dword [rax + 0x1510]
cmp r12d, r14d
jl 0x1800aa108
mov qword [r11 + 0x18], rbx
movabs rbx, 0x100000001b3
mov qword [r11 - 8], rbp
movabs rbp, 0xc106a596b87eca81
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x18], rdi
mov rdi, qword gs:[0x58]
mov qword [r11 - 0x28], r13
mov r13d, dword [0x180399320]
movaps xmmword [r11 - 0x48], xmm6
movss xmm6, dword [0x18024d704]
movaps xmmword [rsp + 0x60], xmm14
xorps xmm14, xmm14
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
movaps xmmword [r11 - 0x88], xmm10
movaps xmmword [r11 - 0x98], xmm11
movaps xmmword [r11 - 0xa8], xmm12
movaps xmmword [rsp + 0x70], xmm13
nop word [rax + rax]
mov rcx, qword [rcx + 0x58]
mov edx, r14d
call fcn.1800795f0
mov rsi, rax
test rax, rax
je 0x1800a9ec5
mov qword [rsp + 0x138], 0
lea rdx, [rsp + 0x138]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x130]
mov r9, qword [rsp + 0x138]
test r9, r9
je 0x1800a9ec5
mov r9, qword [r9 + 8]
movabs r8, 0xcbf29ce484222325
mov rcx, r9
cmp byte [r9], 0
je 0x1800a9a89
inc rcx
cmp byte [rcx], 0
jne 0x1800a9a81
mov edx, 0
sub rcx, r9
je 0x1800a9ec5
nop word [rax + rax]
movsx rax, byte [rdx + r9]
inc rdx
xor r8, rax
imul r8, rbx
cmp rdx, rcx
jb 0x1800a9aa0
cmp r8, rbp
jne 0x1800a9ec5
mov rax, qword [0x18039f620]
mov rdi, qword [rdi + r13*8]
mov rbp, qword [rax + 0x58]
mov eax, 4
mov ebx, eax
mov eax, dword [rax + rdi]
cmp dword [0x18039f5e0], eax
jle 0x1800a9b14
lea rcx, [0x18039f5e0]
call fcn.18015d060
cmp dword [0x18039f5e0], 0xffffffff
jne 0x1800a9b14
movabs rcx, 0x9241b8778dd136bd
call fcn.18009d530
lea rcx, [0x18039f5e0]
mov dword [0x18039fa88], eax
call fcn.18015cff4
mov edx, dword [0x18039fa88]
mov edx, dword [rdx + rsi]
cmp edx, 0xffffffff
je 0x1800a9ed9
and edx, 0x7fff
mov rcx, rbp
call fcn.1800795f0
mov rsi, rax
test rax, rax
je 0x1800a9ed9
mov ecx, dword [rbx + rdi]
cmp dword [0x18039f6d8], ecx
jle 0x1800a9b81
lea rcx, [0x18039f6d8]
call fcn.18015d060
cmp dword [0x18039f6d8], 0xffffffff
jne 0x1800a9b81
movabs rcx, 0x9320aed4f2ddf04b
call fcn.18009d530
lea rcx, [0x18039f6d8]
mov dword [0x18039f6f4], eax
call fcn.18015cff4
mov eax, dword [0x18039f6f4]
cmp dword [rax + rsi], 0
jle 0x1800a9ea8
mov rcx, qword [0x18039f668]
mov rdx, rsi
call fcn.1800e58a0
test al, al
je 0x1800a9ea8
mov eax, dword [rbx + rdi]
cmp dword [0x18039fcc4], eax
jle 0x1800a9be9
lea rcx, [0x18039fcc4]
call fcn.18015d060
cmp dword [0x18039fcc4], 0xffffffff
jne 0x1800a9be9
movabs rcx, 0x9f4c773fb92eaba8
call fcn.18009d530
lea rcx, [0x18039fcc4]
mov dword [0x18039fcac], eax
call fcn.18015cff4
mov eax, dword [0x18039fcac]
mov rbp, qword [rax + rsi]
mov eax, dword [rbx + rdi]
cmp dword [0x18039fca0], eax
jle 0x1800a9c34
lea rcx, [0x18039fca0]
call fcn.18015d060
cmp dword [0x18039fca0], 0xffffffff
jne 0x1800a9c34
movabs rcx, 0xfbb517d29079c514
call fcn.18009d530
lea rcx, [0x18039fca0]
mov dword [0x18039fcbc], eax
call fcn.18015cff4
mov eax, dword [0x18039fcbc]
cmp byte [rax + rbp], 0
jne 0x1800a9ea8
mov eax, dword [rbx + rdi]
cmp dword [0x18039fca4], eax
jle 0x1800a9c85
lea rcx, [0x18039fca4]
call fcn.18015d060
cmp dword [0x18039fca4], 0xffffffff
jne 0x1800a9c85
movabs rcx, 0x4ff1a61db0a3a408
call fcn.18009d530
lea rcx, [0x18039fca4]
mov dword [0x18039fcc0], eax
call fcn.18015cff4
mov eax, dword [0x18039fcc0]
cmp byte [rax + rsi], 0
jne 0x1800a9ea8
mov eax, dword [rbx + rdi]
cmp dword [0x18039fcc4], eax
jle 0x1800a9cd6
lea rcx, [0x18039fcc4]
call fcn.18015d060
cmp dword [0x18039fcc4], 0xffffffff
jne 0x1800a9cd6
movabs rcx, 0x9f4c773fb92eaba8
call fcn.18009d530
lea rcx, [0x18039fcc4]
mov dword [0x18039fcac], eax
call fcn.18015cff4
mov eax, dword [0x18039fcac]
mov rbp, qword [rax + rsi]
mov eax, dword [rbx + rdi]
cmp dword [0x18039fd94], eax
jle 0x1800a9d21
lea rcx, [0x18039fd94]
call fcn.18015d060
cmp dword [0x18039fd94], 0xffffffff
jne 0x1800a9d21
movabs rcx, 0x89b727c10692e033
call fcn.18009d530
lea rcx, [0x18039fd94]
mov dword [0x18039fda8], eax
call fcn.18015cff4
mov rcx, qword [0x18039f668]
lea rdx, [rsp + 0x20]
mov edi, dword [0x18039fda8]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rcx]
call qword [rax + 0x530]
mov rbx, qword [0x18039f618]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call fcn.180079e60
lea rdx, [rsp + 0x38]
mov rcx, rbx
movss xmm13, dword [rax]
call fcn.180079e60
lea rdx, [rsp + 0x44]
mov rcx, rbx
movss xmm12, dword [rax + 4]
call fcn.180079e60
movss xmm9, dword [rdi + rbp]
movss xmm10, dword [rdi + rbp + 4]
subss xmm9, dword [rsp + 0x20]
subss xmm10, dword [rsp + 0x24]
movss xmm11, dword [rdi + rbp + 8]
subss xmm11, dword [rsp + 0x28]
movaps xmm2, xmm9
movaps xmm0, xmm10
mulss xmm2, xmm9
mulss xmm0, xmm10
movaps xmm1, xmm11
mulss xmm1, xmm11
addss xmm2, xmm0
xorps xmm0, xmm0
addss xmm2, xmm1
ucomiss xmm0, xmm2
ja 0x1800a9de5
xorps xmm8, xmm8
sqrtss xmm8, xmm2
jmp 0x1800a9df1
movaps xmm0, xmm2
call fcn.1801905e8
movaps xmm8, xmm0
addss xmm8, dword [0x18024d6bc]
mulss xmm13, xmm6
mulss xmm12, xmm6
movaps xmm0, xmm13
call fcn.18018bed0
movaps xmm6, xmm0
movaps xmm0, xmm12
call fcn.18018bed0
movaps xmm7, xmm0
movaps xmm0, xmm12
divss xmm9, xmm8
mulss xmm7, xmm6
mulss xmm7, xmm9
call fcn.18018fef0
mulss xmm0, xmm6
divss xmm10, xmm8
mulss xmm0, xmm10
addss xmm7, xmm0
movaps xmm0, xmm13
call fcn.18018fef0
divss xmm11, xmm8
mulss xmm0, xmm11
subss xmm7, xmm0
movaps xmm0, xmm7
call fcn.18018aecc
mulss xmm0, dword [0x18024d938]
movaps xmm1, xmm14
movabs rbx, 0x100000001b3
mov rdi, qword gs:[0x58]
movss xmm6, dword [0x18024d704]
movabs rbp, 0xc106a596b87eca81
maxss xmm1, xmm0
comiss xmm15, xmm1
jbe 0x1800a9ec5
movaps xmm15, xmm1
mov r15, rsi
jmp 0x1800a9ec5
mov rdi, qword gs:[0x58]
movabs rbp, 0xc106a596b87eca81
movabs rbx, 0x100000001b3
inc r14d
cmp r14d, r12d
jg 0x1800a9ed9
mov rcx, qword [0x18039f620]
jmp 0x1800a9a20
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
movaps xmm6, xmmword [rsp + 0xe0]
test r15, r15
je 0x1800aa0da
mov rsi, qword gs:[0x58]
mov eax, 4
mov edi, eax
mov rsi, qword [rsi + r13*8]
mov eax, dword [rax + rsi]
cmp dword [0x18039fcc4], eax
jle 0x1800a9f7f
lea rcx, [0x18039fcc4]
call fcn.18015d060
cmp dword [0x18039fcc4], 0xffffffff
movabs r12, 0x9f4c773fb92eaba8
jne 0x1800a9f89
mov rcx, r12
call fcn.18009d530
lea rcx, [0x18039fcc4]
mov dword [0x18039fcac], eax
call fcn.18015cff4
jmp 0x1800a9f89
movabs r12, 0x9f4c773fb92eaba8
mov eax, dword [0x18039fcac]
movabs r14, 0xec8bc82a3b5231f1
mov rbp, qword [rax + r15]
mov eax, dword [rdi + rsi]
cmp dword [0x18039fd98], eax
jle 0x1800a9fd7
lea rcx, [0x18039fd98]
call fcn.18015d060
cmp dword [0x18039fd98], 0xffffffff
jne 0x1800a9fd7
mov rcx, r14
call fcn.18009d530
lea rcx, [0x18039fd98]
mov dword [0x18039fd9c], eax
call fcn.18015cff4
mov ebx, dword [0x18039fd9c]
mov eax, dword [rdi + rsi]
add rbx, rbp
cmp dword [0x18039fcc4], eax
mov rbp, qword [0x18039f668]
jle 0x1800aa021
lea rcx, [0x18039fcc4]
call fcn.18015d060
cmp dword [0x18039fcc4], 0xffffffff
jne 0x1800aa021
mov rcx, r12
call fcn.18009d530
lea rcx, [0x18039fcc4]
mov dword [0x18039fcac], eax
call fcn.18015cff4
mov eax, dword [0x18039fcac]
mov rbp, qword [rax + rbp]
mov eax, dword [rdi + rsi]
cmp dword [0x18039fd98], eax
jle 0x1800aa065
lea rcx, [0x18039fd98]
call fcn.18015d060
cmp dword [0x18039fd98], 0xffffffff
jne 0x1800aa065
mov rcx, r14
call fcn.18009d530
lea rcx, [0x18039fd98]
mov dword [0x18039fd9c], eax
call fcn.18015cff4
mov eax, dword [0x18039fd9c]
movss xmm0, dword [rbx + 4]
movss xmm1, dword [rbx]
subss xmm0, dword [rax + rbp + 4]
subss xmm1, dword [rax + rbp]
ucomiss xmm0, xmm14
jp 0x1800aa095
jne 0x1800aa095
ucomiss xmm1, xmm14
jp 0x1800aa095
jne 0x1800aa095
movaps xmm0, xmm14
jmp 0x1800aa0b8
call fcn.18018b2e4
mulss xmm0, dword [0x18024d9a8]
divss xmm0, dword [0x18024d880]
comiss xmm14, xmm0
jbe 0x1800aa0b8
addss xmm0, dword [0x18024da00]
mov rcx, qword [rsp + 0x130]
mov eax, dword [rcx + 0x18]
test al, 4
jne 0x1800aa0cd
or eax, 4
mov dword [rcx + 0x18], eax
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax + 0x40]
movss dword [rcx + 0x1c], xmm0
movaps xmm14, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x118]
mov r13, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x140]
mov r12, qword [rsp + 0x108]
mov r14, qword [rsp + 0xf8]
mov r15, qword [rsp + 0xf0]
movaps xmm15, xmmword [rsp + 0x50]
add rsp, 0x128
ret