Function at 0x180045290
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, [0x1801e3e30]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0xa8]
call fcn.18004d1c0
movzx ebp, byte [rsp + 0x60]
cmp ebp, 3
jne 0x1800452dd
mov qword [rsi], 2
jmp 0x18004573b
mov r10, qword [r14 + 0x38]
test r10, r10
je 0x1800453b4
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 0x1800453bb
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 [0x180190810]
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.180040390
test ebp, ebp
je 0x18004544b
mov eax, ebp
cmp ebp, 2
jne 0x18004549c
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 0x1800454ac
xor eax, eax
jmp 0x180045730
xor eax, eax
cmp bpl, 2
setne al
movabs r15, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x1efac7090aef4a21
imul r15, rax
cmp bpl, 2
jne 0x1800453f7
movzx ecx, dl
xor r15, rcx
imul r15, rax
mov r9b, 2
jmp 0x1800455ae
lea rax, [rdx + r13]
test bpl, bpl
je 0x18004574f
mov r9b, 1
test r13, r13
je 0x1800457b0
movabs rcx, 0x100000001b3
mov r8, r13
and r8, 7
je 0x1800457c6
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 0x180045430
jmp 0x1800457c9
test r13, r13
mov rdx, qword [rsp + 0x28]
je 0x1800454b4
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.180040390
mov rdx, qword [rsp + 0x28]
inc rsi
cmp r13, rsi
jne 0x180045470
jmp 0x1800454b4
lea rcx, [rsp + 0x50]
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r8, r13
call fcn.180040390
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 0x1800455f6
inc rsi
inc r12
mov rax, r12
nop dword [rax]
mov r12, rax
mov eax, 0
cmp r12, r13
jae 0x180045600
movzx r14d, word [rbx + r12*4]
cmp r14, 0xffff
je 0x180045729
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 0x180045729
cmp ax, r15w
jne 0x1800455f0
cmp r10, r14
jbe 0x1800458c9
imul rcx, r14, 0x68
lea rax, [rdi + rcx]
add rax, 0x40
cmp qword [rdi + rcx + 0x40], 0
je 0x1800456ad
cmp r9b, 2
je 0x1800455f0
test r9b, r9b
je 0x1800456c5
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
jne 0x1800455f0
mov rcx, qword [rax + 8]
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x98], r10
call fcn.180182a30
mov r9d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x28]
mov r10, qword [rsp + 0x98]
test eax, eax
jne 0x1800455f0
jmp 0x1800457bc
cmp r9b, 2
jne 0x1800455f0
cmp byte [rax + 8], dl
jne 0x1800455f0
jmp 0x1800457bc
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
jne 0x1800455f0
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 0x18004572b
movzx r8d, byte [rdx + r11 + 1]
lea r9, [0x1801e3e30]
movzx r9d, byte [r8 + r9]
lea r8, [r11 + 1]
cmp r9b, byte [rcx + r11 + 1]
mov r11, r8
je 0x1800456e0
cmp r8, qword [rsp + 0x30]
mov r9d, dword [rsp + 0x4c]
jb 0x1800455f0
jmp 0x18004572b
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, [0x1801e3e30]
je 0x180045840
mov rdi, r10
movabs rcx, 0x100000001b3
mov r8, r13
and r8, 3
je 0x18004584c
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 0x180045790
jmp 0x180045851
xor eax, eax
mov qword [rsp + 0x30], rax
jmp 0x1800455ae
mov eax, 1
jmp 0x18004572b
mov r11, rdx
cmp r13, 8
jb 0x180045838
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 0x1800457d0
mov r9b, 1
jmp 0x1800455ae
xor eax, eax
mov qword [rsp + 0x30], rax
xor r9d, r9d
jmp 0x1800458bf
mov rdx, qword [rsp + 0x28]
cmp r13, 4
jae 0x18004585f
xor r9d, r9d
mov r10, rdi
jmp 0x1800458bf
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 0x180045870
mov rdx, qword [rsp + 0x28]
jmp 0x1800455ae
ud2