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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rdi, rdx
mov r14, rcx
lea rbx, [rcx + 0x10]
mov qword [rbp + 0x48], rbx
mov rcx, rbx
call fcn.180093ef4
test eax, eax
jne 0x180058673
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x180058663
cmp byte [r14 + 9], 0
je 0x180058651
call fcn.18005bab8
test al, al
je 0x180058651
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
mov dword [rbp + 0x30], eax
movabs rdx, 0xcbf29ce484222325
xor r8d, r8d
movzx ecx, byte [rbp + r8 + 0x30]
xor rdx, rcx
movabs rax, 0x100000001b3
imul rdx, rax
inc r8
cmp r8, 4
jb 0x18005844b
mov rcx, qword [r14 + 0x200]
and rcx, rdx
add rcx, rcx
mov r8, qword [r14 + 0x1e8]
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [r14 + 0x1d8]
cmp rax, rdx
je 0x1800584a7
mov r10, qword [r8 + rcx*8]
jmp 0x18005849f
cmp rax, r10
je 0x1800584a7
mov rax, qword [rax + 8]
cmp r9d, dword [rax + 0x10]
jne 0x180058496
jmp 0x1800584a9
xor eax, eax
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1800584bb
mov rcx, qword [rax + 0x18]
jmp 0x1800584bd
xor ecx, ecx
mov qword [r14 + 0x210], rcx
test rcx, rcx
je 0x180058651
and qword [rbp + 0x40], 0
mov rax, qword [rdi]
lea r8, [rbp + 0x40]
lea rdx, [0x1800d9ec8]
mov rcx, rdi
call qword [rax]
test eax, eax
jne 0x180058651
mov rax, qword [0x1801b7d10]
test rax, rax
je 0x180058502
mov rcx, qword [rax + 0xa0]
jmp 0x180058504
xor ecx, ecx
cmp qword [rcx + 0x10], 0
jne 0x180058510
call fcn.18001ab3c
call fcn.18001f260
mov rcx, r14
call fcn.18005dbe0
mov rcx, qword [rbp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x120]
mov edi, eax
call fcn.1800255c4
and dword [rbp - 4], 0
and dword [rbp - 0x20], 0
and dword [rbp - 0x1c], 0
lea rdi, [rdi + rdi*2]
mov rcx, qword [r14 + 0x220]
mov rax, qword [rcx + rdi*8 + 0x10]
mov qword [rbp - 0x18], rax
or dword [rbp - 0x10], 0xffffffff
and dword [rbp - 0xc], 0
mov dword [rbp - 8], 4
mov rcx, qword [rcx + rdi*8 + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
lea rsi, [r14 + 0x1c0]
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, qword [r14 + 0x220]
xor r8d, r8d
mov rdx, qword [rdx + rdi*8 + 8]
call qword [rax + 0x50]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
mov edx, 1
call qword [rax + 0xd0]
mov rcx, qword [rsi]
mov r10, qword [rcx]
mov rax, qword [r14 + 0x220]
lea r8, [rax + rdi*8]
and qword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 1]
call qword [r10 + 0x170]
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r8, [r14 + 0x1b0]
mov edx, 1
call qword [rax + 0xe0]
mov rax, qword [0x1801b7d10]
mov rcx, qword [rax + 0x48a8]
mov rdx, qword [rcx]
add rdx, 0x48
mov al, byte [rdx]
neg al
sbb rcx, rcx
and rcx, rdx
mov rdx, qword [rsi]
call fcn.18001a274
mov dword [rbp - 0xc], 4
and dword [rbp - 8], 0
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
mov edx, 1
call qword [rax + 0xd0]
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [r14 + 0x210]
mov rax, qword [rcx]
mov r8, rsi
mov edx, 1
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x180058651
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.180093f1c
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180093cd4
int3
mov ecx, 5
call fcn.180093cd4
int3