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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, r9
mov rsi, rcx
lea rdi, [0x1801bef48]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0xa8]
call fcn.180045d30
movzx ebp, byte [rsp + 0x60]
cmp ebp, 3
jne 0x18003df1d
mov qword [rsi], 2
jmp 0x18003e37b
mov r10, qword [r14 + 0x38]
test r10, r10
je 0x18003dff4
mov rdx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x58]
cmp dword [r14], 2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r13
jne 0x18003dffb
mov rbx, r10
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x180172710]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x70], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
xor eax, eax
cmp bpl, 2
setne al
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.180039020
test ebp, ebp
je 0x18003e08b
mov eax, ebp
cmp ebp, 2
jne 0x18003e0dc
mov rsi, qword [rsp + 0x28]
movzx eax, sil
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
jmp 0x18003e0ec
xor eax, eax
jmp 0x18003e370
xor eax, eax
cmp bpl, 2
setne al
movabs r15, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x1efac7090aef4a21
imul r15, rax
cmp bpl, 2
jne 0x18003e037
movzx ecx, dl
xor r15, rcx
imul r15, rax
mov r9b, 2
jmp 0x18003e1ee
lea rax, [rdx + r13]
test bpl, bpl
je 0x18003e38f
mov r9b, 1
test r13, r13
je 0x18003e3f0
movabs rcx, 0x100000001b3
mov r8, r13
and r8, 7
je 0x18003e406
mov r9, r15
mov r11, rdx
nop dword [rax]
movzx r15d, byte [r11]
inc r11
xor r15, r9
imul r15, rcx
mov r9, r15
dec r8
jne 0x18003e070
jmp 0x18003e409
test r13, r13
mov rdx, qword [rsp + 0x28]
je 0x18003e0f4
xor esi, esi
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x40]
nop word cs:[rax + rax]
movzx eax, byte [rdx + rsi]
movzx eax, byte [rax + rdi]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.180039020
mov rdx, qword [rsp + 0x28]
inc rsi
cmp r13, rsi
jne 0x18003e0b0
jmp 0x18003e0f4
lea rcx, [rsp + 0x50]
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r8, r13
call fcn.180039020
mov rdx, rsi
mov rax, qword [rsp + 0x60]
mov r9, qword [rsp + 0x80]
shl r9, 0x38
or r9, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov r10, qword [rsp + 0x58]
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add r8, rcx
rol rcx, 0x15
add r10, rax
rol rax, 0x11
xor rcx, r8
xor rax, r10
rol r10, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor r10, 0xff
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add r8, rcx
rol rcx, 0x15
add r10, rax
rol rax, 0x11
xor rax, r10
rol r10, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add r10, rcx
rol rcx, 0x10
xor rcx, r10
add r8, rcx
rol rcx, 0x15
add r10, rax
rol rax, 0x11
xor rax, r10
rol r10, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
add r10, rcx
shl rcx, 0x10
xor rcx, r10
shr rcx, 0x2b
add r10, rax
shr rax, 0x2f
xor rax, rcx
mov r15, r10
shr r15, 0x20
xor r15, r10
xor r15, rax
mov r10, rbx
mov r9d, ebp
and r15d, 0x7fff
movzx ebp, word [r14 + 0x58]
mov r12d, r15d
and r12d, ebp
mov rbx, qword [r14 + 0x18]
mov r13, qword [r14 + 0x20]
mov rdi, qword [r14 + 0x28]
mov rax, qword [rsp + 0x30]
neg rax
mov qword [rsp + 0xa0], rax
xor esi, esi
mov dword [rsp + 0x4c], r9d
jmp 0x18003e236
inc rsi
inc r12
mov rax, r12
nop dword [rax]
mov r12, rax
mov eax, 0
cmp r12, r13
jae 0x18003e240
movzx r14d, word [rbx + r12*4]
cmp r14, 0xffff
je 0x18003e369
movzx eax, word [rbx + r12*4 + 2]
mov ecx, eax
and ecx, ebp
mov r8d, r12d
sub r8d, ecx
and r8d, ebp
cmp rsi, r8
ja 0x18003e369
cmp ax, r15w
jne 0x18003e230
cmp r10, r14
jbe 0x18003e509
imul rcx, r14, 0x68
lea rax, [rdi + rcx]
add rax, 0x40
cmp qword [rdi + rcx + 0x40], 0
je 0x18003e2ed
cmp r9b, 2
je 0x18003e230
test r9b, r9b
je 0x18003e305
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
jne 0x18003e230
mov rcx, qword [rax + 8]
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x98], r10
call fcn.180165850
mov r9d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x28]
mov r10, qword [rsp + 0x98]
test eax, eax
jne 0x18003e230
jmp 0x18003e3fc
cmp r9b, 2
jne 0x18003e230
cmp byte [rax + 8], dl
jne 0x18003e230
jmp 0x18003e3fc
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
jne 0x18003e230
mov rcx, qword [rax + 8]
mov r11, 0xffffffffffffffff
nop
mov rax, qword [rsp + 0xa0]
lea r8, [rax + r11]
mov eax, 1
cmp r8, 0xffffffffffffffff
je 0x18003e36b
movzx r8d, byte [rdx + r11 + 1]
lea r9, [0x1801bef48]
movzx r9d, byte [r8 + r9]
lea r8, [r11 + 1]
cmp r9b, byte [rcx + r11 + 1]
mov r11, r8
je 0x18003e320
cmp r8, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x4c]
jb 0x18003e230
jmp 0x18003e36b
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov qword [rsi], rax
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r14
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r13, r13
lea r11, [0x1801bef48]
je 0x18003e480
mov rdi, r10
movabs rcx, 0x100000001b3
mov r8, r13
and r8, 3
je 0x18003e48c
mov rdx, qword [rsp + 0x28]
mov r9, r15
nop word cs:[rax + rax]
movzx r10d, byte [rdx]
movzx r15d, byte [r10 + r11]
xor r15, r9
imul r15, rcx
inc rdx
mov r9, r15
dec r8
jne 0x18003e3d0
jmp 0x18003e491
xor eax, eax
mov qword [rsp + 0x30], rax
jmp 0x18003e1ee
mov eax, 1
jmp 0x18003e36b
mov r11, rdx
cmp r13, 8
jb 0x18003e478
nop
movzx r8d, byte [r11]
xor r8, r15
imul r8, rcx
movzx r9d, byte [r11 + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r11 + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r11 + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r11 + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r11 + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r11 + 6]
xor r8, r9
imul r8, rcx
movzx r15d, byte [r11 + 7]
add r11, 8
xor r15, r8
imul r15, rcx
cmp r11, rax
jne 0x18003e410
mov r9b, 1
jmp 0x18003e1ee
xor eax, eax
mov qword [rsp + 0x30], rax
xor r9d, r9d
jmp 0x18003e4ff
mov rdx, qword [rsp + 0x28]
cmp r13, 4
jae 0x18003e49f
xor r9d, r9d
mov r10, rdi
jmp 0x18003e4ff
mov r10, rdi
nop word cs:[rax + rax]
movzx r8d, byte [rdx]
movzx r8d, byte [r8 + r11]
xor r8, r15
imul r8, rcx
movzx r9d, byte [rdx + 1]
movzx r9d, byte [r9 + r11]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
movzx r8d, byte [r8 + r11]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
movzx r15d, byte [r9 + r11]
xor r15, r8
imul r15, rcx
add rdx, 4
xor r9d, r9d
cmp rdx, rax
jne 0x18003e4b0
mov rdx, qword [rsp + 0x28]
jmp 0x18003e1ee
ud2