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

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov r11, qword [r8 + 0x10]
mov r9, r8
mov r12, qword [r8 + 0x18]
cmp r12, 8
jb 0x1400048a2
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r8, [r11 + r11]
xor ecx, ecx
test r8, r8
je 0x1400048d5
movabs r10, 0x100000001b3
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x1400048c1
mov r10, qword [rsi + 0x30]
and r10, rdx
mov rdi, qword [rsi + 8]
add r10, r10
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + r10*8]
cmp rdi, rax
je 0x140004997
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, rax
je 0x140004997
nop word [rax + rax]
mov rdi, qword [rdi + 8]
lea rdx, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x140004923
mov rdx, qword [rdi + 0x10]
mov r9, r14
cmp r12, 8
jb 0x14000492f
mov r9, qword [r14]
cmp r11, qword [rdi + 0x20]
jne 0x14000498e
mov r8, r11
test r11, r11
je 0x140004954
sub r9, rdx
movzx ecx, word [rdx]
cmp word [rdx + r9], cx
jne 0x14000498e
add rdx, 2
sub r8, 1
jne 0x140004940
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rdx], rcx
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rdx + 8], rcx
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x10]
call fcn.140003db0
mov rcx, rbx
call fcn.1400062dc
mov qword [r15], rdi
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x140004ac1
cmp rdi, rax
jne 0x140004910
mov qword [rsp + 0x40], rbx
mov rdx, qword [rbx]
cmp rdi, rdx
je 0x1400049d1
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov rcx, qword [rdi + 8]
mov rax, qword [rdx + 8]
mov qword [rdi + 8], rax
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov qword [rbx + 8], rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8]
cmp rax, qword [rsi + 8]
jne 0x1400049ee
mov qword [rdx + r10*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r10*8 + 8], rbx
jmp 0x140004a1d
cmp rax, rdi
jne 0x1400049f9
mov qword [rdx + r10*8], rbx
jmp 0x140004a1d
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r10*8 + 8], rcx
cmp rcx, rbx
je 0x140004a1d
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14000919c]
test rax, rax
jns 0x140004a3e
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140004a4f
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140004ab6
cmp rdx, 0x200
jae 0x140004a6b
lea rdx, [rdx*8]
jmp 0x140004a7d
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140004a7d
add rdx, rdx
mov rcx, rsi
call fcn.140003e30
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140004ab6
mov rdi, qword [rax + 8]
mov r9, qword [rsi + 8]
mov r9, qword [r9]
cmp r9, rdi
sete r14b
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140004850
test r14b, r14b
je 0x140004a92
mov qword [r15], rbx
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005ef0
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret