Function at 0x14009f3c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov rbp, rdx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x98], rax
test r8, r8
je 0x14009f8e5
mov rbx, r8
mov r14, rcx
mov eax, dword [r8]
cmp eax, 4
je 0x14009f88a
mov dword [rsp + 0x48], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x44], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x38], eax
mov esi, dword [rbx + 0x10]
mov edi, dword [rbx + 0x14]
mov r13d, dword [rbx + 0x18]
mov rcx, qword [r14 + 8]
mov r9d, 4
mov edx, edi
mov r8d, 0xbcea225b
call fcn.14009f0d0
mov r12, rax
mov rcx, qword [r14 + 8]
mov edx, edi
call fcn.14009fae0
test r12, r12
je 0x14009f8e5
lea ecx, [rsi - 0x3fffffff]
cmp ecx, 0xc0000003
jb 0x14009f8e5
lea r15d, [rsi + 1]
lea rcx, [r15*4]
cmp rax, rcx
jb 0x14009f8e5
mov ecx, 0x20
call fcn.1400d2b88
mov rdi, rax
mov rcx, rax
mov rdx, r15
call fcn.14009f9a0
mov rax, qword [rdi]
cmp qword [rdi + 8], rax
je 0x14009f8cb
mov ecx, dword [r12]
mov dword [rax], ecx
mov eax, 1
nop word cs:[rax + rax]
mov ecx, dword [r12 + rax*4]
cmp ecx, dword [r12 + rax*4 - 4]
jle 0x14009f8cd
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
sar r8, 2
cmp r8, rax
jbe 0x14009f8cb
mov dword [rdx + rax*4], ecx
inc rax
cmp r15, rax
jne 0x14009f4c0
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
mov rcx, rdx
sub rcx, rax
je 0x14009f8fa
js 0x14009f902
test cl, 1
jne 0x14009f827
mov r8, rcx
shr r8, 2
mov r9, rax
lea r10, [rdx - 1]
cmp r10, rax
je 0x14009f560
lea r10, [0x1401d7b70]
nop dword [rax]
movzx r11d, r8b
movzx r12d, byte [r9]
xor r12d, r11d
shr r8d, 8
xor r8d, dword [r10 + r12*4]
movzx r11d, r8b
movzx r12d, byte [r9 + 1]
xor r12d, r11d
shr r8d, 8
xor r8d, dword [r10 + r12*4]
add r9, 2
cmp r9, rdx
jne 0x14009f530
mov dword [rdi + 0x18], r8d
cmp r8d, r13d
jne 0x14009f8cd
test rdi, rdi
je 0x14009f8d6
sar rcx, 2
cmp rcx, r15
jne 0x14009f8d8
cmp r15d, 1
jbe 0x14009f8cb
mov ecx, dword [rsp + 0x44]
cmp dword [rax + 4], ecx
jne 0x14009f8d8
lea ecx, [rsi - 1]
cmp r15d, ecx
jbe 0x14009f8cb
mov ecx, ecx
mov edx, dword [rsp + 0x38]
cmp dword [rax + rcx*4], edx
jne 0x14009f8d8
mov rcx, qword [r14 + 0x10]
mov r15, rbp
test rcx, rcx
jne 0x14009f963
mov rcx, rdi
call fcn.14009fe40
mov qword [rsp + 0x38], rax
xor edi, edi
lea rbp, [rsi*8]
mov edx, dword [rbx + 0x1c]
test edx, edx
jne 0x14009f92d
lea r13, [rbx + 0x1c]
movaps xmm6, xmmword [0x1401c7000]
lea rcx, [rsp + 0x70]
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], 0
mov r8, r13
mov r9d, 0x53215531
call fcn.14009fa30
shl rsi, 2
lea r12, [rsp + 0x50]
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
mov rdx, qword [r14 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbp
mov rcx, r12
mov r8, r13
mov r9d, 0x53215531
call fcn.14009fa30
lea r13, [rbx + 0x50]
mov eax, dword [rsp + 0x48]
test eax, eax
jne 0x14009f76a
lea rsi, [rbx + 0x38]
add rbx, 0x20
mov ecx, 0x28
call fcn.1400d2b88
mov r14, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov rcx, rax
mov rdx, r13
mov r8, qword [rsp + 0x38]
call fcn.140008b60
mov rbp, r15
test r14, r14
je 0x14009f8f2
mov eax, dword [rsp + 0x4c]
lock or dword [r14 + 0x10], eax
movabs rsi, 0xfffffffc00000000
mov qword [rbp], r14
mov rcx, qword [rsp + 0x68]
mov rax, rcx
and rax, rsi
cmp rax, qword [0x1401f8688]
je 0x14009f905
mov qword [rsp + 0x68], 0
mov rcx, qword [rsp + 0x50]
mov rax, rcx
and rax, rsi
cmp rax, qword [0x1401f8688]
je 0x14009f90f
mov rcx, qword [rsp + 0x88]
mov rax, rcx
and rax, rsi
cmp rax, qword [0x1401f8688]
je 0x14009f919
mov qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x70]
and rsi, rcx
cmp rsi, qword [0x1401f8688]
je 0x14009f923
test rdi, rdi
jne 0x14009f94e
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d4e20
mov rax, rbp
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp eax, 1
mov rbp, r15
jne 0x14009f7ca
lea rsi, [rbx + 0x38]
add rbx, 0x20
mov ecx, 0x40
call fcn.1400d2b88
mov r14, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov rcx, rax
mov rdx, r13
mov r8, qword [rsp + 0x38]
call fcn.140008b60
lea rax, [0x1401ca318]
mov qword [r14], rax
lea rax, [r14 + 0x30]
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
mov qword [r14 + 0x28], rax
jmp 0x14009f69d
cmp eax, 2
jne 0x14009f83f
lea rsi, [rbx + 0x38]
add rbx, 0x20
mov ecx, 0x40
call fcn.1400d2b88
mov r14, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov rcx, rax
mov rdx, r13
mov r8, qword [rsp + 0x38]
call fcn.140008b60
lea rax, [r14 + 0x30]
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
mov qword [r14 + 0x28], rax
lea rax, [0x1401ca3d8]
mov qword [r14], rax
jmp 0x14009f69d
movzx r8d, byte [rax]
lea r9, [0x1401d7b70]
mov r8d, dword [r9 + r8*4]
lea r9, [rax + 1]
jmp 0x14009f51d
cmp eax, 3
jne 0x14009f8f2
lea rsi, [rbx + 0x38]
add rbx, 0x20
mov ecx, 0x28
call fcn.1400d2b88
mov r14, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
mov rcx, rax
mov rdx, r13
mov r8, qword [rsp + 0x38]
call fcn.140008b60
lea rax, [0x1401ca498]
jmp 0x14009f81f
lea rsi, [rbx + 0x38]
lea rdi, [rbx + 0x20]
lea r15, [rbx + 0x50]
mov ecx, 0x38
call fcn.1400d2b88
mov r12, rax
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdx, r14
mov r8, r15
mov r9, rdi
call fcn.140035a40
mov qword [rbp], r12
mov eax, dword [rbx + 4]
lock or dword [r12 + 0x10], eax
jmp 0x14009f73b
ud2
test rdi, rdi
jne 0x14009f97e
xor edi, edi
mov qword [rbp], 0
jmp 0x14009f732
mov qword [rbp], 0
jmp 0x14009f73b
xor r14d, r14d
jmp 0x14009f6af
xor r8d, r8d
jmp 0x14009f560
int3
call fcn.14007c240
jmp 0x14009f6d5
call fcn.14007c240
jmp 0x14009f6f6
call fcn.14007c240
jmp 0x14009f711
call fcn.14007c240
jmp 0x14009f732
mov rcx, qword [r14 + 8]
call fcn.14009fae0
cmp rax, rbp
jae 0x14009f5e7
mov rbp, r15
mov qword [r15], 0
jmp 0x14009f732
mov rcx, rdi
call fcn.1400cb5c0
mov rcx, rdi
call fcn.1400d2b80
jmp 0x14009f73b
mov rdx, rdi
call fcn.1400cfbe0
xor ecx, ecx
mov qword [rsp + 0x38], rax
cmp rax, rdi
cmove rdi, rcx
jmp 0x14009f5d4
mov rcx, rdi
call fcn.1400cb5c0
mov rcx, rdi
call fcn.1400d2b80
jmp 0x14009f8d6