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

Disassembly:
mov rax, rsp
push rbx
push r12
sub rsp, 0x88
mov r12, r8
mov rbx, rcx
test rcx, rcx
je 0x18005d724
mov qword [rax + 0x20], rdi
mov edi, dword [0x1803ef330]
mov qword [rax - 0x18], r13
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rdi*8]
mov eax, dword [r8 + rdx]
cmp dword [0x180425cc4], eax
jle 0x18005d381
lea rcx, [0x180425cc4]
call fcn.18010bc98
cmp dword [0x180425cc4], 0xffffffff
jne 0x18005d37b
mov ecx, 0xae00109b
call fcn.18000f6e0
lea rcx, [0x180425cc4]
mov qword [0x1804257b0], rax
call fcn.18010bc2c
mov r8d, 4
mov rax, qword [0x1804257b0]
mov r13, qword [rax + rbx]
test r13, r13
je 0x18005d720
mov rax, qword [r13 + 0x28]
mov qword [rsp + 0xa8], rbp
mov ebp, 1
cmp dword [rax + 0x10], ebp
jle 0x18005d71c
mov qword [rsp + 0x78], r14
mov rcx, rdi
mov qword [rsp + 0x70], r15
lea r15d, [rbp + 0x27]
movaps xmmword [rsp + 0x60], xmm6
movss xmm6, dword [0x180286eb4]
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa0], rcx
mov rax, qword [rax + 0x18]
lea r10, [0x18026b7e0]
mov rdx, qword gs:[0x58]
mov r14, qword [r15 + rax]
test r14, r14
je 0x18005d6b9
mov rdi, qword [rdx + rcx*8]
mov esi, r8d
mov eax, dword [rdi + rsi]
cmp dword [0x180425c30], eax
jle 0x18005d449
lea rcx, [0x180425c30]
call fcn.18010bc98
cmp dword [0x180425c30], 0xffffffff
jne 0x18005d442
mov ecx, 0x33f7a6a3
call fcn.18000f6e0
lea rcx, [0x180425c30]
mov qword [0x1804259f0], rax
call fcn.18010bc2c
lea r10, [0x18026b7e0]
mov rax, qword [0x1804259f0]
cmp byte [rax + r14], 0
jne 0x18005d6b9
mov r8, qword [r14]
test r8, r8
je 0x18005d6b9
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x18005d480
test eax, eax
je 0x18005d6b9
mov r9d, eax
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 [r10 + rax*4]
sub r9, 1
jne 0x18005d4a0
not edx
cmp edx, 0x45c1ab94
jne 0x18005d6b9
mov eax, dword [rdi + rsi]
cmp dword [0x180425dc0], eax
jle 0x18005d50b
lea rcx, [0x180425dc0]
call fcn.18010bc98
cmp dword [0x180425dc0], 0xffffffff
jne 0x18005d50b
mov ecx, 0x3300df68
call fcn.18000e040
mov rcx, qword [rax]
mov qword [0x180425a18], rcx
lea rcx, [0x180425dc0]
call fcn.18010bc2c
mov r8, r14
call fcn.18005c890
mov rbx, rax
test rax, rax
jne 0x18005d526
mov qword [rsp + 0x2c], rax
mov dword [rsp + 0x34], eax
jmp 0x18005d590
mov eax, dword [rdi + rsi]
cmp dword [0x180425998], eax
jle 0x18005d566
lea rcx, [0x180425998]
call fcn.18010bc98
cmp dword [0x180425998], 0xffffffff
jne 0x18005d566
mov ecx, 0x56e64b7d
call fcn.18000e040
mov rcx, qword [rax]
mov qword [0x180425878], rcx
lea rcx, [0x180425998]
call fcn.18010bc2c
mov rdx, qword [0x180425878]
lea r8, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x2c]
mov dword [rsp + 0x48], 0
call fcn.18005c7f0
test r12, r12
je 0x18005d667
mov eax, dword [rdi + rsi]
cmp dword [0x180425dc0], eax
jle 0x18005d5d9
lea rcx, [0x180425dc0]
call fcn.18010bc98
cmp dword [0x180425dc0], 0xffffffff
jne 0x18005d5d9
mov ecx, 0x3300df68
call fcn.18000e040
mov rcx, qword [rax]
mov qword [0x180425a18], rcx
lea rcx, [0x180425dc0]
call fcn.18010bc2c
mov r8, r12
call fcn.18005c890
mov rbx, rax
test rax, rax
je 0x18005d667
mov ecx, dword [rsi + rdi]
cmp dword [0x180425998], ecx
jle 0x18005d629
lea rcx, [0x180425998]
call fcn.18010bc98
cmp dword [0x180425998], 0xffffffff
jne 0x18005d629
mov ecx, 0x56e64b7d
call fcn.18000e040
mov rcx, qword [rax]
mov qword [0x180425878], rcx
lea rcx, [0x180425998]
call fcn.18010bc2c
mov rdx, qword [0x180425878]
lea r8, [rsp + 0x50]
mov r9, rbx
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x58], 0
call fcn.18005c7f0
movss xmm3, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
movss xmm2, dword [rsp + 0x20]
jmp 0x18005d682
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 0x18005d6db
mov rax, qword [r13 + 0x28]
inc ebp
add r15, 8
cmp ebp, dword [rax + 0x10]
jge 0x18005d718
mov rcx, qword [rsp + 0xa0]
mov r8d, 4
jmp 0x18005d3dd
mov rax, r14
mov rsi, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0x80]
add rsp, 0x88
pop r12
pop rbx
ret
xor eax, eax
jmp 0x18005d6de
xor eax, eax
jmp 0x18005d6f5
xor eax, eax
jmp 0x18005d6fd
xor eax, eax
add rsp, 0x88
pop r12
pop rbx
ret