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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov ecx, dword [0x1802cb2a0]
mov r15, r9
mov rax, qword gs:[0x58]
mov edx, 4
mov qword [rbp - 0x29], r8
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1802cb9ac], eax
jg 0x1800046af
xorps xmm0, xmm0
lea rdx, str.tab_area
xorps xmm1, xmm1
lea rcx, [rsp + 0x30]
mov r8d, 0xa
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rbp - 0x79], xmm1
call fcn.180005510
mov r14, qword [rbp - 0x71]
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
cmp r14, 0xf
mov r8, qword [rbp - 0x79]
movabs rdi, 0xcbf29ce484222325
cmova rdx, rsi
mov r9, rdi
xor ecx, ecx
movabs r12, 0x100000001b3
test r8, r8
je 0x180004113
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor r9, rax
imul r9, r12
cmp rcx, r8
jb 0x180004100
lea r8, [rsp + 0x30]
movaps xmmword [rsp + 0xd0], xmm6
lea rdx, [rbp + 7]
call fcn.180005e60
mov rcx, qword [rax + 8]
mov rax, qword [0x1802cba88]
test rcx, rcx
mov rbx, rax
cmovne rbx, rcx
cmp r14, 0xf
jbe 0x18000417c
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18000416d
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004301
mov rcx, rsi
call fcn.1800fc12c
mov rax, qword [0x1802cba88]
movss xmm6, dword [rbp - 0x29]
cmp rbx, rax
jne 0x180004310
xorps xmm0, xmm0
lea rdx, str.tab_area
xorps xmm1, xmm1
lea rcx, [rbp - 0x49]
mov r8d, 0xa
movups xmmword [rbp - 0x49], xmm0
movdqu xmmword [rbp - 0x39], xmm1
call fcn.180005510
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.1800058e0
movzx eax, word [rbp + 0x71]
lea r8, [rbp - 0x21]
lea rdx, [rsp + 0x30]
mov word [rbp + 1], ax
movss dword [rbp + 3], xmm6
mov word [rbp - 1], 0
call fcn.180004fc0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x180004218
mov rcx, qword [rbp - 0x21]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004213
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004301
call fcn.1800fc12c
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x180004253
mov rcx, qword [rbp - 0x49]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000424e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004301
call fcn.1800fc12c
xorps xmm0, xmm0
lea rdx, str.tab_area
xorps xmm1, xmm1
lea rcx, [rbp - 0x49]
mov r8d, 0xa
movups xmmword [rbp - 0x49], xmm0
movdqu xmmword [rbp - 0x39], xmm1
call fcn.180005510
mov r14, qword [rbp - 0x31]
lea rdx, [rbp - 0x49]
mov rsi, qword [rbp - 0x49]
cmp r14, 0xf
mov r8, qword [rbp - 0x39]
cmova rdx, rsi
xor ecx, ecx
test r8, r8
je 0x1800042b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor rdi, rax
imul rdi, r12
cmp rcx, r8
jb 0x1800042a0
mov r9, rdi
lea r8, [rbp - 0x49]
lea rdx, [rsp + 0x30]
call fcn.180005e60
mov rbx, qword [0x1802cba88]
mov rcx, qword [rax + 8]
test rcx, rcx
cmovne rbx, rcx
cmp r14, 0xf
jbe 0x180004310
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180004308
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004308
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1800fc12c
movzx ecx, byte [rbx + 0x31]
test cl, cl
je 0x18000433f
cmp byte [rbx + 0x30], 0
je 0x18000433f
addss xmm6, dword [0x180274354]
subss xmm6, dword [rbx + 0x34]
mulss xmm6, dword [0x180273d70]
addss xmm6, dword [rbx + 0x34]
movss dword [rbx + 0x34], xmm6
jmp 0x18000435e
subss xmm6, dword [rbx + 0x34]
mulss xmm6, dword [0x180273d70]
addss xmm6, dword [rbx + 0x34]
movss dword [rbx + 0x34], xmm6
test cl, cl
je 0x180004411
cmp byte [rbx + 0x30], 0
je 0x180004411
mov rax, qword [0x1802cb5a0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x40a8]
mov rcx, qword [rcx]
call fcn.180057800
movdqa xmm0, xmmword [0x180274700]
mov r10, rax
mov r8, qword [0x1802cb5a0]
movups xmmword [rsp + 0x30], xmm0
mov rcx, qword [r8 + 0x3ea0]
movss xmm3, dword [rcx + 0x18]
movss xmm2, dword [rcx + 0x1c]
movss xmm0, dword [rcx + 0x20]
movss xmm1, dword [rcx + 0x24]
addss xmm0, xmm3
addss xmm3, dword [rbx + 0x34]
addss xmm1, xmm2
movss dword [rbp + 0x6b], xmm2
lea rcx, [rsp + 0x30]
movss dword [rbp + 0x6f], xmm0
movss dword [rbp + 0x67], xmm3
movss dword [rbp + 0x73], xmm1
call fcn.180054750
movss xmm0, dword [r8 + 0x37f0]
lea rdx, [rbp + 0x67]
lea r8, [rbp + 0x6f]
mov dword [rsp + 0x28], 0
mov r9d, eax
movss dword [rsp + 0x20], xmm0
mov rcx, r10
call fcn.18006ded0
lea rdx, [rbp + 0x6f]
mov qword [rbp + 0x6f], 0
mov ecx, 0xe
call fcn.180055020
movss xmm0, dword [rbx + 0x34]
lea rdx, str.tab_area
movss xmm6, dword [rbp - 0x25]
lea rcx, [rbp - 0x69]
movss dword [rbp + 0x6f], xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
movss dword [rbp + 0x73], xmm6
mov r8d, 0xa
movups xmmword [rbp - 0x69], xmm0
movdqu xmmword [rbp - 0x59], xmm1
call fcn.180005510
mov rdx, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x59]
mov rax, rdx
sub rax, rcx
cmp rax, 6
jb 0x1800044ab
cmp rdx, 0xf
lea rax, [rcx + 6]
lea rdi, [rbp - 0x69]
mov qword [rbp - 0x59], rax
cmova rdi, qword [rbp - 0x69]
lea rdx, str..child
add rdi, rcx
mov r8d, 6
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbp - 0x69]
mov byte [rdi + 6], 0
jmp 0x1800044c9
lea r9, str..child
mov qword [rsp + 0x20], 6
mov edx, 6
lea rcx, [rbp - 0x69]
call fcn.1800056c0
cmp qword [rax + 0x18], 0xf
jbe 0x1800044d3
mov rax, qword [rax]
xor r9d, r9d
lea rdx, [rbp + 0x6f]
mov rcx, rax
call fcn.18005bc80
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x180004520
mov rcx, qword [rbp - 0x69]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000451b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000451b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800fc12c
movss xmm1, dword [rbx + 0x34]
lea rdx, [rbp + 0x6f]
mov r11, qword [0x1802cb5a0]
mov r8b, 1
movdqa xmm0, xmmword [0x180274520]
movdqu xmmword [rbp - 0x59], xmm0
mov byte [rbp - 0x69], 0
mov rax, qword [r11 + 0x3ea0]
mov byte [rax + 0xb0], 1
mov rax, qword [r11 + 0x3ea0]
addss xmm1, dword [rax + 0x18]
addss xmm6, dword [rax + 0x1c]
mov byte [rax + 0xb0], 1
mov rcx, qword [r11 + 0x3ea0]
add rcx, 0x18
movss dword [rbp + 0x6f], xmm1
movss dword [rbp + 0x73], xmm6
call fcn.180061510
movdqa xmm0, xmmword [0x1802749a0]
lea rcx, [rsp + 0x30]
mov byte [rbx + 0x30], al
mov rax, qword [r11 + 0x3ea0]
movups xmmword [rsp + 0x30], xmm0
mov byte [rax + 0xb0], r8b
mov rax, qword [r11 + 0x3ea0]
movss xmm6, dword [r11 + 0x37f0]
mov r10, qword [rax + 0x2a8]
mov byte [rax + 0xb0], r8b
mov rax, qword [r11 + 0x3ea0]
mov byte [rax + 0xb0], r8b
mov rdx, qword [r11 + 0x3ea0]
movss xmm0, dword [rax + 0x20]
movss xmm1, dword [rax + 0x24]
addss xmm0, dword [rdx + 0x18]
addss xmm1, dword [rdx + 0x1c]
mov byte [rdx + 0xb0], r8b
movss dword [rbp + 0x6f], xmm0
movss dword [rbp + 0x73], xmm1
call fcn.180054750
mov rdx, qword [r11 + 0x3ea0]
lea r8, [rbp + 0x6f]
add rdx, 0x18
mov dword [rsp + 0x28], 0x10
mov r9d, eax
movss dword [rsp + 0x20], xmm6
mov rcx, r10
call fcn.18006ded0
mov rax, qword [0x1802cb5a0]
movzx r8d, byte [rbx + 0x31]
movss xmm3, dword [rax + 0x37f0]
call fcn.180002e30
test al, al
je 0x180004653
cmp byte [rbx + 0x31], 0
sete al
mov byte [rbx + 0x31], al
mov rcx, qword [r15 + 0x38]
test rcx, rcx
jne 0x180004663
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.18005bd30
mov ecx, 1
call fcn.1800550b0
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x180004695
mov rax, qword [rcx]
cmp rcx, r15
setne dl
call qword [rax + 0x20]
mov qword [r15 + 0x38], 0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, [0x1802cb9ac]
call fcn.1800fbd08
cmp dword [0x1802cb9ac], 0xffffffff
jne 0x18000409e
mov ecx, 0x38
call fcn.1800fbd80
xorps xmm0, xmm0
lea rcx, [0x1802cba98]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1802cba88], rax
mov qword [0x1802cba98], 0
movdqa xmmword [0x1802cbaa0], xmm0
mov qword [0x1802cbab0], 7
mov qword [0x1802cbab8], 8
mov dword [0x1802cba80], 0x3f800000
call fcn.180004e00
lea rcx, [0x1800fee90]
call fcn.1800fc114
lea rcx, [0x1802cb9ac]
call fcn.1800fbc9c
jmp 0x18000409e