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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x180058240]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword gs:[0x58]
lea rbx, [0x180058a80]
mov rsi, rcx
mov r14d, 4
mov ecx, dword [0x180058f40]
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + r14]
cmp dword [0x180058aa0], eax
jg 0x180002713
mov eax, dword [rdi + r14]
xor ebp, ebp
cmp dword [0x180058af0], eax
jg 0x18000275e
mov eax, dword [rdi + r14]
cmp dword [0x180058b00], eax
jg 0x1800026c9
cmp qword [0x180058af8], rbp
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xc8], r15
jne 0x180002414
cmp qword [0x180058a98], 7
cmova rbx, qword [0x180058a80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180058af8], rax
test rax, rax
je 0x180002585
xorps xmm0, xmm0
mov qword [rsp + 0xb8], r12
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x60], rbp
movups xmmword [rsp + 0x50], xmm0
mov r8, rdi
mov qword [rsp + 0x68], rbp
nop dword [rax + rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x180002440
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1800012a0
mov r13, qword [rsp + 0x68]
lea r8, [rsp + 0x50]
mov r15, qword [rsp + 0x50]
cmp r13, 0xf
mov r14, qword [rsp + 0x60]
movabs rcx, 0xcbf29ce484222325
cmova r8, r15
mov rdx, rbp
test r14, r14
je 0x1800024a4
movabs r9, 0x100000001b3
nop
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r9
cmp rdx, r14
jb 0x180002490
and rcx, qword [0x180058ae0]
mov rax, qword [0x180058ab8]
add rcx, rcx
mov r12, qword [0x180058ac8]
mov qword [rsp + 0x20], rax
mov rbx, qword [r12 + rcx*8 + 8]
cmp rbx, rax
je 0x180002513
mov r12, qword [r12 + rcx*8]
nop
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1800024e2
mov rdx, qword [rdx]
cmp r13, 0xf
lea rcx, [rsp + 0x50]
cmova rcx, r15
cmp r14, rax
jne 0x180002500
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000250b
cmp rbx, r12
je 0x18000250e
mov rbx, qword [rbx + 8]
jmp 0x1800024d0
mov rbp, rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0xb8]
test rbp, rbp
mov rbx, rax
cmovne rbx, rbp
cmp r13, 0xf
jbe 0x180002564
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x180002557
mov r15, qword [r15 - 8]
add rdx, 0x27
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.180028dfc
mov rax, qword [rsp + 0x20]
cmp rbx, rax
jne 0x180002614
mov rcx, qword [0x180058af8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x18000258c
xor eax, eax
jmp 0x18000269e
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
mov r8, rdi
movdqu xmmword [rsp + 0x40], xmm1
inc r8
cmp byte [rsi + r8], 0
jne 0x1800025a0
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1800012a0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x180058ab0]
call fcn.1800017e0
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180002614
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000260f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000260f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180028dfc
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180002625
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1800012a0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [0x180058ab0]
call fcn.1800017e0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x30]
cmp rdx, 0xf
jbe 0x18000269b
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002696
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002696
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180028dfc
mov rax, rbx
mov r15, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.180029320
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [0x180058b00]
call fcn.18002921c
cmp dword [0x180058b00], 0xffffffff
jne 0x1800023d2
cmp qword [0x180058a98], 7
mov rcx, rbx
cmova rcx, qword [0x180058a80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [0x180058b00]
mov qword [0x180058af8], rax
call fcn.1800291b0
jmp 0x1800023d2
lea rcx, [0x180058aa0]
call fcn.18002921c
cmp dword [0x180058aa0], 0xffffffff
jne 0x1800023b0
mov r8d, 9
lea rdx, [0x18002d8e8]
mov rcx, rbx
call fcn.1800013b0
lea rcx, [0x18002c440]
call fcn.18002915c
lea rcx, [0x180058aa0]
call fcn.1800291b0
jmp 0x1800023b0
lea rcx, [0x180058af0]
call fcn.18002921c
cmp dword [0x180058af0], 0xffffffff
jne 0x1800023c2
mov ecx, 0x38
call fcn.180028dc0
xorps xmm0, xmm0
lea rcx, [0x180058ac8]
mov r8, rax
mov edx, 0x10
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x180058ab8], rax
mov qword [0x180058ac8], rbp
movdqa xmmword [0x180058ad0], xmm0
mov qword [0x180058ae0], 7
mov qword [0x180058ae8], 8
mov dword [0x180058ab0], 0x3f800000
call fcn.180001e40
lea rcx, [0x18002c3b0]
call fcn.18002915c
lea rcx, [0x180058af0]
call fcn.1800291b0
jmp 0x1800023c2