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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
mov rax, r9
mov qword [rbp - 0x60], rax
mov r15, rdx
mov qword [rsp + 0x48], r8
mov qword [rbp - 0x58], rax
mov ecx, dword [0x140088478]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x140088250], eax
jg 0x140022a96
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r12, 0xffffffffffffffff
mov r8, r12
nop
inc r8
cmp byte [r15 + r8], 0
jne 0x140022390
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.1400024e0
lea r8, [rbp - 0x50]
mov r14, qword [rbp - 0x50]
mov r13, qword [rbp - 0x38]
cmp r13, 0xf
cmova r8, r14
movabs rsi, 0xcbf29ce484222325
mov rcx, rsi
xor edx, edx
movabs r9, 0x100000001b3
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x1400223f4
nop dword [rax]
movzx eax, byte [r8 + rdx]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, rbx
jb 0x1400223e0
and rcx, qword [0x140088240]
add rcx, rcx
mov rax, qword [0x140088228]
mov rdi, qword [rax + rcx*8 + 8]
cmp rdi, qword [0x140088218]
je 0x14002245c
mov rax, qword [rax + rcx*8]
mov qword [rsp + 0x30], rax
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140022432
mov rdx, qword [rdx]
lea rcx, [rbp - 0x50]
cmp r13, 0xf
cmova rcx, r14
cmp rbx, rax
jne 0x14002244f
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14002245e
cmp rdi, qword [rsp + 0x30]
je 0x14002245c
mov rdi, qword [rdi + 8]
jmp 0x140022420
xor edi, edi
mov rcx, qword [0x140088218]
mov rbx, rcx
test rdi, rdi
cmovne rbx, rdi
cmp r13, 0xf
jbe 0x1400224ad
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002249e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400226a6
mov rcx, r14
call fcn.14006c4a0
mov rcx, qword [0x140088218]
movss xmm6, dword [rsp + 0x48]
cmp rbx, rcx
jne 0x1400226b5
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8, r12
nop
inc r8
cmp byte [r15 + r8], 0
jne 0x1400224d0
mov rdx, r15
lea rcx, [rbp - 8]
call fcn.1400024e0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x30]
call fcn.14000bbd0
mov word [rbp - 0x10], 0
movzx eax, word [rbp - 0x56]
mov word [rbp - 0xe], ax
movss dword [rbp - 0xc], xmm6
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [0x140088210]
call fcn.140020a30
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14002255c
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022556
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022556
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c4a0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140022597
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022592
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400226a6
call fcn.14006c4a0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8, r12
nop dword [rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x1400225b0
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.1400024e0
lea rdx, [rbp - 0x80]
mov r13, qword [rbp - 0x80]
mov r8, qword [rbp - 0x68]
cmp r8, 0xf
cmova rdx, r13
xor ecx, ecx
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x140022603
movabs r9, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor rsi, rax
imul rsi, r9
inc rcx
cmp rcx, r14
jb 0x1400225f0
and rsi, qword [0x140088240]
add rsi, rsi
mov rax, qword [0x140088228]
mov rdi, qword [rax + rsi*8 + 8]
mov rbx, qword [0x140088218]
cmp rdi, rbx
je 0x14002266e
mov rsi, qword [rax + rsi*8]
nop dword [rax]
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140022642
mov rdx, qword [rdx]
lea rcx, [rbp - 0x80]
cmp r8, 0xf
cmova rcx, r13
cmp r14, rax
jne 0x140022663
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140022670
mov r8, qword [rbp - 0x68]
cmp rdi, rsi
je 0x14002266e
mov rdi, qword [rdi + 8]
jmp 0x140022630
xor edi, edi
test rdi, rdi
cmovne rbx, rdi
mov rax, qword [rbp - 0x68]
cmp rax, 0xf
jbe 0x1400226b5
lea rdx, [rax + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400226ad
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400226ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14006c4a0
movzx ecx, byte [rbx + 0x31]
xorps xmm8, xmm8
test cl, cl
je 0x1400226ef
cmp byte [rbx + 0x30], 0
je 0x1400226ef
addss xmm6, dword [0x1400736a4]
lea r13, [rbx + 0x34]
subss xmm6, dword [r13]
mulss xmm6, dword [0x140073690]
addss xmm6, dword [r13]
movss dword [r13], xmm6
jmp 0x140022715
lea r13, [rbx + 0x34]
subss xmm6, dword [r13]
mulss xmm6, dword [0x140073690]
addss xmm6, dword [r13]
movss dword [r13], xmm6
test cl, cl
je 0x1400227c8
cmp byte [rbx + 0x30], 0
je 0x1400227c8
call fcn.14002ced0
mov r14, rax
call fcn.14002d9d0
movss xmm7, dword [rax + 0x10]
movaps xmm0, xmmword [0x1400736c0]
movups xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140029da0
mov esi, eax
lea rcx, [rbp + 0x18]
call fcn.14002dc00
mov rdi, rax
lea rcx, [rbp + 0x20]
call fcn.14002dbe0
movss xmm1, dword [rdi + 4]
addss xmm1, dword [rax + 4]
movss xmm0, dword [rdi]
addss xmm0, dword [rax]
movss dword [rsp + 0x3c], xmm0
movss dword [rsp + 0x40], xmm1
movss xmm6, dword [r13]
lea rcx, [rbp + 0x28]
call fcn.14002dbe0
movss xmm0, dword [rax + 4]
addss xmm0, xmm8
addss xmm6, dword [rax]
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x34], xmm0
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm7
mov r9d, esi
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400429f0
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov ecx, 0xe
call fcn.140036470
movss xmm0, dword [r13]
movss dword [rsp + 0x30], xmm0
movss xmm6, dword [rsp + 0x4c]
movss dword [rsp + 0x34], xmm6
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
nop dword [rax]
inc r12
cmp byte [r15 + r12], 0
jne 0x140022810
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1400024e0
nop
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x14002287c
lea rax, [rcx + 6]
mov qword [rsp + 0x60], rax
lea rdi, [rsp + 0x50]
cmp rdx, 0xf
cmova rdi, qword [rsp + 0x50]
add rdi, rcx
mov r8d, 6
lea rdx, str..child
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + 6], 0
lea rax, [rsp + 0x50]
jmp 0x1400228a1
mov qword [rsp + 0x20], 6
lea r9, str..child
movzx r8d, byte [rsp + 0x38]
mov edx, 6
lea rcx, [rsp + 0x50]
call fcn.140004cb0
cmp qword [rax + 0x18], 0xf
jbe 0x1400228ab
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140027cc0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400228ff
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400228fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400228fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c4a0
movss xmm0, dword [rbx + 0x34]
mov rcx, qword [0x140088258]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x3ec8]
addss xmm6, dword [rax + 0x24]
addss xmm0, dword [rax + 0x20]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm6
mov rcx, qword [0x140088258]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rcx, qword [rcx + 0x3ec8]
add rcx, 0x20
mov r8b, 1
lea rdx, [rsp + 0x30]
call fcn.14002fbe0
mov byte [rbx + 0x30], al
call fcn.14002db90
mov rbx, rax
call fcn.14002d9d0
movss xmm6, dword [rax + 0x10]
movaps xmm0, xmmword [0x1400736d0]
movups xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140029da0
mov r9d, eax
mov rdx, qword [0x140088258]
mov rcx, qword [rdx + 0x3ec8]
mov byte [rcx + 0xb8], 1
mov r8, qword [rdx + 0x3ec8]
mov rdx, qword [0x140088258]
mov rcx, qword [rdx + 0x3ec8]
mov byte [rcx + 0xb8], 1
mov rcx, qword [rdx + 0x3ec8]
movss xmm1, dword [rcx + 0x24]
addss xmm1, dword [r8 + 0x2c]
movss xmm0, dword [rcx + 0x20]
addss xmm0, dword [r8 + 0x28]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
mov rcx, qword [0x140088258]
mov rax, qword [rcx + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rdx, qword [rcx + 0x3ec8]
add rdx, 0x20
mov dword [rsp + 0x28], 0x10
movss dword [rsp + 0x20], xmm6
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.1400429f0
mov rbx, qword [rbp - 0x60]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140022a90
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.14002b0c0
mov ecx, 1
call fcn.140035ca0
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140022a66
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
nop
lea rcx, [0x140088250]
call fcn.14006caa0
cmp dword [0x140088250], 0xffffffff
jne 0x140022375
mov ecx, 0x38
call fcn.14006c464
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x140088218], rax
mov qword [0x140088228], 0
xorps xmm0, xmm0
movdqa xmmword [0x140088230], xmm0
mov qword [0x140088240], 7
mov qword [0x140088248], 8
mov dword [0x140088210], 0x3f800000
mov r8, rax
mov edx, 0x10
lea rcx, [0x140088228]
call fcn.140020f80
nop
lea rcx, [0x14006f540]
call fcn.14006c6d8
nop
lea rcx, [0x140088250]
call fcn.14006ca34
jmp 0x140022375