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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rcx + 0x20]
test r8d, 0x180
je 0x140147a7b
bt eax, 0xb
mov rdi, qword [rdi + 0x18]
jae 0x140147de5
mov rbx, qword [0x1402c3dc8]
cmp qword [0x1402c3dc0], 0
jne 0x1401479c9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor rbx, rdi
cmp qword [rsi + 0x10], 0
jne 0x140147d99
lea rax, [rsp + 0x3a]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x40
lea rcx, [rsp + 0x39]
cmp rbx, 0x80
jae 0x140147a58
mov r14, rcx
mov byte [rax], bl
sub r14, rcx
add r14, 2
mov rdi, qword [rsi]
mov r8d, r14d
mov rcx, qword [rdi + 0x18]
lea rbx, [rcx + r8]
cmp rbx, qword [rdi + 0x10]
ja 0x140147d66
test r8, r8
je 0x140147a32
lea rdx, [rsp + 0x39]
call fcn.1401cd6e0
mov qword [rdi + 0x18], rbx
add dword [rsi + 0x20], r14d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140191d70
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x140147a58
lea r14, [rax - 1]
jmp 0x140147a02
and eax, 0x1802
mov rcx, qword [rdi]
mov rbx, qword [rdi + 0x18]
test rcx, rcx
setne dl
cmp eax, 0x1000
setne r8b
and r8b, dl
cmp r8b, 1
jne 0x140147b7a
movabs rdx, 0x100000001b3
mov r12d, ebx
shr r12d, 8
mov r14d, ebx
shr r14d, 0x10
mov r15d, ebx
shr r15d, 0x18
mov r11, rbx
shr r11, 0x20
mov r10, rbx
shr r10, 0x28
mov r8, rbx
shr r8, 0x30
mov r9, rbx
shr r9, 0x38
and rbx, 0xff
movabs r13, 0xcbf29ce484222325
xor r13, rbx
imul r13, rdx
and r12d, 0xff
xor r12, r13
imul r12, rdx
and r14d, 0xff
xor r14, r12
imul r14, rdx
xor r14, r15
imul r14, rdx
and r11, 0xff
xor r11, r14
imul r11, rdx
and r10, 0xff
xor r10, r11
imul r10, rdx
and r8, 0xff
xor r8, r10
imul r8, rdx
xor r8, r9
imul r8, rdx
mov r9b, byte [rcx]
test r9b, r9b
je 0x140147db3
inc rcx
nop dword [rax]
movzx ebx, r9b
xor rbx, r8
imul rbx, rdx
movzx r9d, byte [rcx]
inc rcx
mov r8, rbx
test r9b, r9b
jne 0x140147b60
cmp eax, 0x800
jne 0x140147d03
cmp qword [rsi + 0x10], 0
jne 0x140147da6
lea rax, [rsp + 0x3a]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x50
lea rcx, [rsp + 0x39]
cmp rbx, 0x80
jae 0x140147c99
mov r14, rcx
mov byte [rax], bl
sub r14, rcx
add r14, 2
mov rbx, qword [rsi]
mov r8d, r14d
mov rcx, qword [rbx + 0x18]
lea r15, [rcx + r8]
cmp r15, qword [rbx + 0x10]
ja 0x140147d78
test r8, r8
je 0x140147bef
lea rdx, [rsp + 0x39]
call fcn.1401cd6e0
mov qword [rbx + 0x18], r15
add dword [rsi + 0x20], r14d
mov rdi, qword [rdi]
test rdi, rdi
je 0x140147a3a
movabs r12, 0x7ffffffffffffff7
mov rcx, rdi
call fcn.1401b34d0
cmp rax, r12
ja 0x140147dc8
mov r14, rax
lea rbx, [rsp + 0x20]
cmp rax, 0x16
ja 0x140147cbf
mov byte [rsp + 0x37], r14b
mov rcx, rbx
lea r15, [rcx + r14]
cmp rcx, rdi
seta al
cmp r15, rdi
setbe dl
or dl, al
je 0x140147dd2
test r14, r14
je 0x140147c60
mov rdx, rdi
mov r8, r14
call fcn.1401cd6e0
mov byte [r15], 0
movsx r9, byte [rsp + 0x37]
test r9, r9
cmovs r9, qword [rsp + 0x28]
cmovs rbx, qword [rsp + 0x20]
mov rcx, rsi
mov edx, 7
mov r8, rbx
call fcn.140147e40
cmp byte [rsp + 0x37], 0
jns 0x140147a3a
jmp 0x140147d8a
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x140147c99
lea r14, [rax - 1]
jmp 0x140147bbf
lea rax, [r12 + 1]
and rax, r14
add rax, 8
mov r15, r14
or r15, 7
cmp r15, 0x17
cmove r15, rax
inc r15
mov rcx, r15
call fcn.14018f5a8
mov rcx, rax
mov qword [rsp + 0x20], rax
add r12, 9
or r12, r15
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
jmp 0x140147c38
cmp eax, 2
jne 0x140147e11
cmp qword [rsi + 0x10], 0
jne 0x140147dbb
lea rax, [rsp + 0x3a]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x30
lea rcx, [rsp + 0x39]
cmp rbx, 0x80
jb 0x140147bbc
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
jbe 0x140147cb6
jmp 0x140147d43
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140147500
jmp 0x140147a36
lea rdx, [rsp + 0x39]
mov rcx, rbx
call fcn.140147500
jmp 0x140147bf3
mov rcx, qword [rsp + 0x20]
call fcn.14018f5a0
jmp 0x140147a3a
mov rcx, rsi
call fcn.1400fc950
jmp 0x1401479d7
mov rcx, rsi
call fcn.1400fc950
jmp 0x140147b90
mov rbx, r8
jmp 0x140147b7a
mov rcx, rsi
call fcn.1400fc950
jmp 0x140147d17
lea rcx, [rsp + 0x20]
call fcn.1401ceaf0
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:145:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.1401ceaf0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140191d70
mov rcx, rsi
mov edx, 8
mov r8, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140181860
cmp eax, 0x1000
jne 0x140147bf7
mov rcx, rsi
mov edx, Ordinal_14
mov r8, rbx
call fcn.140181860
jmp 0x140147bf7