Function at 0x1800512d0
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 0x18005168f
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 0x18005135a
lea rcx, [0x1801f0c10]
call fcn.180100388
cmp dword [0x1801f0c10], 0xffffffff
jne 0x180051352
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 0x18005168b
mov rax, qword [r13 + 0x28]
mov qword [rsp + 0xa0], rbp
mov ebp, 1
cmp dword [rax + 0x10], ebp
jle 0x180051687
mov qword [rsp + 0x58], r14
lea r11, [0x18013c420]
mov qword [rsp + 0x50], r15
mov rcx, rdi
movaps xmmword [rsp + 0x40], xmm6
mov r15d, 0x28
movss xmm6, dword [0x18015609c]
mov qword [rsp + 0x90], rcx
mov rax, qword [rax + 0x18]
mov r9, qword gs:[0x58]
mov r14, qword [r15 + rax]
test r14, r14
je 0x18005162e
mov r8, qword [r14]
test r8, r8
jne 0x1800513dd
xor edx, edx
jmp 0x180051440
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x1800513f0
test eax, eax
je 0x18005143e
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 0x180051410
mov rcx, qword [rsp + 0x90]
mov r9, qword gs:[0x58]
not edx
cmp edx, r10d
jne 0x18005162e
mov rdi, qword [r9 + rcx*8]
mov ebx, esi
mov eax, dword [rbx + rdi]
cmp dword [0x1801f0d5c], eax
jle 0x18005148f
lea rcx, [0x1801f0d5c]
call fcn.180100388
cmp dword [0x1801f0d5c], 0xffffffff
jne 0x18005148f
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 0x1800514ae
mov qword [rsp + 0x2c], rax
mov dword [rsp + 0x34], eax
jmp 0x1800514fc
mov eax, dword [rbx + rdi]
cmp dword [0x1801f0728], eax
jle 0x1800514ee
lea rcx, [0x1801f0728]
call fcn.180100388
cmp dword [0x1801f0728], 0xffffffff
jne 0x1800514ee
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 0x1800515d0
mov eax, dword [rbx + rdi]
cmp dword [0x1801f0d5c], eax
jle 0x180051545
lea rcx, [0x1801f0d5c]
call fcn.180100388
cmp dword [0x1801f0d5c], 0xffffffff
jne 0x180051545
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 0x1800515d0
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 0x1800515ae
lea rcx, [0x1801f0728]
call fcn.180100388
cmp dword [0x1801f0728], 0xffffffff
jne 0x1800515ae
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 0x1800515eb
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 0x180051652
lea r11, [0x18013c420]
mov esi, 4
mov rax, qword [r13 + 0x28]
inc ebp
add r15, 8
cmp ebp, dword [rax + 0x10]
jge 0x180051683
mov rcx, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x98]
jmp 0x1800513b7
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 0x180051655
xor eax, eax
jmp 0x180051664
xor eax, eax
jmp 0x18005166c
xor eax, eax
add rsp, 0x78
pop r12
pop rbx
ret