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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push r12
sub rsp, 0x78
mov r12, r8
mov r10d, edx
mov rbx, rcx
test rcx, rcx
je 0x1800854aa
mov rax, qword gs:[0x58]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov edi, dword [0x1802844c0]
mov esi, 4
mov qword [rsp + 0x60], r13
mov r8, qword [rax + rdi*8]
mov eax, dword [rsi + r8]
cmp dword [0x1802bb668], eax
jle 0x18008518a
lea rcx, [0x1802bb668]
call fcn.18019a5c8
cmp dword [0x1802bb668], 0xffffffff
jne 0x180085182
mov ecx, 0xae00109b
call fcn.1800162f0
lea rcx, [0x1802bb668]
mov qword [0x1802baf70], rax
call fcn.18019a55c
mov r10d, dword [rsp + 0x98]
mov rax, qword [0x1802baf70]
mov r13, qword [rax + rbx]
test r13, r13
je 0x1800854a6
mov rax, qword [r13 + 0x28]
mov qword [rsp + 0xa0], rbp
mov ebp, 1
cmp dword [rax + 0x10], ebp
jle 0x1800854a2
mov qword [rsp + 0x58], r14
lea r11, [0x1801cc180]
mov qword [rsp + 0x50], r15
mov rcx, rdi
movaps xmmword [rsp + 0x40], xmm6
lea r15d, [rbp + 0x27]
movss xmm6, dword [0x1801d5de4]
mov qword [rsp + 0x90], rcx
mov rax, qword [rax + 0x18]
mov r9, qword gs:[0x58]
mov r14, qword [r15 + rax]
test r14, r14
je 0x180085449
mov r8, qword [r14]
test r8, r8
jne 0x18008520b
xor edx, edx
jmp 0x180085270
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x180085220
test eax, eax
je 0x18008526e
mov r9d, eax
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8]
lea r8, [r8 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r11 + rax*4]
sub r9, 1
jne 0x180085240
mov rcx, qword [rsp + 0x90]
mov r9, qword gs:[0x58]
not edx
cmp edx, r10d
jne 0x180085449
mov rbx, qword [r9 + rcx*8]
mov edi, esi
mov eax, dword [rbx + rdi]
cmp dword [0x1802bb7cc], eax
jle 0x1800852bf
lea rcx, [0x1802bb7cc]
call fcn.18019a5c8
cmp dword [0x1802bb7cc], 0xffffffff
jne 0x1800852bf
mov ecx, 0x3300df68
call fcn.1800131d0
mov rcx, qword [rax]
mov qword [0x1802bb240], rcx
lea rcx, [0x1802bb7cc]
call fcn.18019a55c
mov rax, qword [0x1802bb240]
mov rcx, r14
call rax
mov rsi, rax
test rax, rax
jne 0x1800852de
mov qword [rsp + 0x2c], rax
mov dword [rsp + 0x34], eax
jmp 0x18008532c
mov eax, dword [rbx + rdi]
cmp dword [0x1802bb1b8], eax
jle 0x18008531e
lea rcx, [0x1802bb1b8]
call fcn.18019a5c8
cmp dword [0x1802bb1b8], 0xffffffff
jne 0x18008531e
mov ecx, 0x56e64b7d
call fcn.1800131d0
mov rcx, qword [rax]
mov qword [0x1802bb058], rcx
lea rcx, [0x1802bb1b8]
call fcn.18019a55c
mov rdx, rsi
lea rcx, [rsp + 0x2c]
call qword [0x1802bb058]
test r12, r12
je 0x1800853eb
mov eax, dword [rbx + rdi]
cmp dword [0x1802bb7cc], eax
jle 0x180085375
lea rcx, [0x1802bb7cc]
call fcn.18019a5c8
cmp dword [0x1802bb7cc], 0xffffffff
jne 0x180085375
mov ecx, 0x3300df68
call fcn.1800131d0
mov rcx, qword [rax]
mov qword [0x1802bb240], rcx
lea rcx, [0x1802bb7cc]
call fcn.18019a55c
mov rax, qword [0x1802bb240]
mov rcx, r12
call rax
mov rsi, rax
test rax, rax
je 0x1800853eb
mov ecx, dword [rdi + rbx]
cmp dword [0x1802bb1b8], ecx
jle 0x1800853c9
lea rcx, [0x1802bb1b8]
call fcn.18019a5c8
cmp dword [0x1802bb1b8], 0xffffffff
jne 0x1800853c9
mov ecx, 0x56e64b7d
call fcn.1800131d0
mov rcx, qword [rax]
mov qword [0x1802bb058], rcx
lea rcx, [0x1802bb1b8]
call fcn.18019a55c
mov rdx, rsi
lea rcx, [rsp + 0x20]
call qword [0x1802bb058]
movss xmm3, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
movss xmm2, dword [rsp + 0x20]
jmp 0x180085406
xorps xmm2, xmm2
xorps xmm0, xmm0
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm2
movss dword [rsp + 0x24], xmm0
movss dword [rsp + 0x28], xmm3
movss xmm1, dword [rsp + 0x2c]
subss xmm1, xmm2
movss xmm2, dword [rsp + 0x30]
subss xmm2, xmm0
movss xmm0, dword [rsp + 0x34]
subss xmm0, xmm3
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, xmm6
jbe 0x18008546d
lea r11, [0x1801cc180]
mov esi, 4
mov rax, qword [r13 + 0x28]
inc ebp
add r15, 8
cmp ebp, dword [rax + 0x10]
jge 0x18008549e
mov r10d, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
jmp 0x1800851e5
mov rax, r14
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x40]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
add rsp, 0x78
pop r12
pop rbx
ret
xor eax, eax
jmp 0x180085470
xor eax, eax
jmp 0x18008547f
xor eax, eax
jmp 0x180085487
xor eax, eax
add rsp, 0x78
pop r12
pop rbx
ret