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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push r12
sub rsp, 0x78
movaps xmmword [rsp + 0x40], xmm6
movaps xmm6, xmm3
mov r12, r8
mov r10d, edx
mov rbx, rcx
test rcx, rcx
je 0x180051ec6
mov rax, qword gs:[0x58]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], rdi
mov edi, dword [0x1801ca090]
mov esi, 4
mov qword [rsp + 0x60], r13
mov r8, qword [rax + rdi*8]
mov eax, dword [rsi + r8]
cmp dword [0x1801f0c10], eax
jle 0x180051b92
lea rcx, [0x1801f0c10]
call fcn.180100388
cmp dword [0x1801f0c10], 0xffffffff
jne 0x180051b8a
mov ecx, 0xae00109b
call fcn.180007500
lea rcx, [0x1801f0c10]
mov qword [0x1801f0538], rax
call fcn.18010031c
mov r10d, dword [rsp + 0x98]
mov rax, qword [0x1801f0538]
mov r13, qword [rax + rbx]
test r13, r13
je 0x180051ec2
mov rax, qword [r13 + 0x28]
mov qword [rsp + 0xa0], rbp
mov ebp, 1
cmp dword [rax + 0x10], ebp
jle 0x180051ebe
mov qword [rsp + 0x58], r14
lea r11, [0x18013c420]
mov rcx, rdi
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x90], rcx
mov r15d, 0x28
mov rax, qword [rax + 0x18]
mov r9, qword gs:[0x58]
mov r14, qword [r15 + rax]
test r14, r14
je 0x180051e65
mov r8, qword [r14]
test r8, r8
jne 0x180051c08
xor edx, edx
jmp 0x180051c70
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x180051c20
test eax, eax
je 0x180051c6e
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 0x180051c40
mov rcx, qword [rsp + 0x90]
mov r9, qword gs:[0x58]
not edx
cmp edx, r10d
jne 0x180051e65
mov rdi, qword [r9 + rcx*8]
mov ebx, esi
mov eax, dword [rbx + rdi]
cmp dword [0x1801f0d5c], eax
jle 0x180051cbf
lea rcx, [0x1801f0d5c]
call fcn.180100388
cmp dword [0x1801f0d5c], 0xffffffff
jne 0x180051cbf
mov ecx, 0x3300df68
call fcn.180005e40
mov rcx, qword [rax]
mov qword [0x1801f07c0], rcx
lea rcx, [0x1801f0d5c]
call fcn.18010031c
mov rax, qword [0x1801f07c0]
mov rcx, r14
call rax
mov rsi, rax
test rax, rax
jne 0x180051cde
mov qword [rsp + 0x2c], rax
mov dword [rsp + 0x34], eax
jmp 0x180051d2c
mov eax, dword [rbx + rdi]
cmp dword [0x1801f0728], eax
jle 0x180051d1e
lea rcx, [0x1801f0728]
call fcn.180100388
cmp dword [0x1801f0728], 0xffffffff
jne 0x180051d1e
mov ecx, 0x56e64b7d
call fcn.180005e40
mov rcx, qword [rax]
mov qword [0x1801f05d8], rcx
lea rcx, [0x1801f0728]
call fcn.18010031c
mov rdx, rsi
lea rcx, [rsp + 0x2c]
call qword [0x1801f05d8]
test r12, r12
je 0x180051e00
mov eax, dword [rbx + rdi]
cmp dword [0x1801f0d5c], eax
jle 0x180051d75
lea rcx, [0x1801f0d5c]
call fcn.180100388
cmp dword [0x1801f0d5c], 0xffffffff
jne 0x180051d75
mov ecx, 0x3300df68
call fcn.180005e40
mov rcx, qword [rax]
mov qword [0x1801f07c0], rcx
lea rcx, [0x1801f0d5c]
call fcn.18010031c
mov rax, qword [0x1801f07c0]
mov rcx, r12
call rax
mov rdi, rax
test rax, rax
je 0x180051e00
mov rcx, qword [rsp + 0x90]
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbx + rcx]
cmp dword [0x1801f0728], edx
jle 0x180051dde
lea rcx, [0x1801f0728]
call fcn.180100388
cmp dword [0x1801f0728], 0xffffffff
jne 0x180051dde
mov ecx, 0x56e64b7d
call fcn.180005e40
mov rcx, qword [rax]
mov qword [0x1801f05d8], rcx
lea rcx, [0x1801f0728]
call fcn.18010031c
mov rdx, rdi
lea rcx, [rsp + 0x20]
call qword [0x1801f05d8]
movss xmm3, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
movss xmm2, dword [rsp + 0x20]
jmp 0x180051e1b
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 xmm0, xmm0
mulss xmm2, xmm2
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, xmm6
jbe 0x180051e89
lea r11, [0x18013c420]
mov esi, 4
mov rax, qword [r13 + 0x28]
inc ebp
add r15, 8
cmp ebp, dword [rax + 0x10]
jge 0x180051eba
mov rcx, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x98]
jmp 0x180051be2
mov rax, r14
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov rbp, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x78
pop r12
pop rbx
ret
xor eax, eax
jmp 0x180051e8c
xor eax, eax
jmp 0x180051e96
xor eax, eax
jmp 0x180051e9e
movaps xmm6, xmmword [rsp + 0x40]
xor eax, eax
add rsp, 0x78
pop r12
pop rbx
ret