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

Disassembly:
mov rax, rsp
push rbx
push r12
sub rsp, 0x98
mov r12, r8
mov rbx, rcx
test rcx, rcx
je 0x18004217d
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov edi, dword [0x1802bf4d4]
mov qword [rax - 0x18], r13
mov rax, qword gs:[0x58]
mov esi, 4
mov rdx, qword [rax + rdi*8]
mov eax, dword [rsi + rdx]
cmp dword [0x1802f5ff4], eax
jle 0x180041dfd
lea rcx, [0x1802f5ff4]
call fcn.180080f98
cmp dword [0x1802f5ff4], 0xffffffff
jne 0x180041dfd
mov ecx, 0xae00109b
call fcn.18000e690
lea rcx, [0x1802f5ff4]
mov qword [0x1802f5be8], rax
call fcn.180080f2c
mov rax, qword [0x1802f5be8]
mov r13, qword [rax + rbx]
test r13, r13
je 0x180042179
mov rax, qword [r13 + 0x28]
mov qword [rsp + 0xb8], rbp
mov ebp, 1
cmp dword [rax + 0x10], ebp
jle 0x180042175
mov r11, qword gs:[0x58]
lea rbx, [0x180244010]
mov qword [rsp + 0x88], r14
mov r10, rdi
mov qword [rsp + 0x80], r15
mov r15d, 0x28
movaps xmmword [rsp + 0x70], xmm6
xorps xmm6, xmm6
movaps xmmword [rsp + 0x60], xmm7
movss xmm7, dword [0x180272600]
mov qword [rsp + 0xb0], rdi
mov rax, qword [rax + 0x18]
mov r14, qword [r15 + rax]
test r14, r14
je 0x180042116
mov r8, qword [r14]
test r8, r8
je 0x180042116
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r8 + rax], 0
jne 0x180041ea0
test eax, eax
je 0x180042116
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 [rbx + rax*4]
sub r9, 1
jne 0x180041ec0
not edx
cmp edx, 0x45c1ab94
jne 0x180042116
mov rdi, qword [r11 + r10*8]
mov ebx, esi
mov eax, dword [rbx + rdi]
cmp dword [0x1802f60d8], eax
jle 0x180041f30
lea rcx, [0x1802f60d8]
call fcn.180080f98
cmp dword [0x1802f60d8], 0xffffffff
jne 0x180041f30
mov ecx, 0x3300df68
call fcn.18000cfd0
mov rcx, qword [rax]
mov qword [0x1802f5dd8], rcx
lea rcx, [0x1802f60d8]
call fcn.180080f2c
mov r8, r14
call fcn.1800419b0
mov rsi, rax
test rax, rax
jne 0x180041f4b
mov qword [rsp + 0x2c], rax
mov dword [rsp + 0x34], eax
jmp 0x180041fb6
mov eax, dword [rbx + rdi]
cmp dword [0x1802f5d70], eax
jle 0x180041f8b
lea rcx, [0x1802f5d70]
call fcn.180080f98
cmp dword [0x1802f5d70], 0xffffffff
jne 0x180041f8b
mov ecx, 0x56e64b7d
call fcn.18000cfd0
mov rcx, qword [rax]
mov qword [0x1802f5c88], rcx
lea rcx, [0x1802f5d70]
call fcn.180080f2c
mov rdx, qword [0x1802f5c88]
lea r8, [rsp + 0x40]
movaps xmm0, xmm6
movss dword [rsp + 0x48], xmm6
unpcklps xmm0, xmm6
lea rcx, [rsp + 0x2c]
mov r9, rsi
movsd qword [rsp + 0x40], xmm0
call fcn.180041910
test r12, r12
je 0x1800420a7
mov eax, dword [rbx + rdi]
cmp dword [0x1802f60d8], eax
jle 0x180041fff
lea rcx, [0x1802f60d8]
call fcn.180080f98
cmp dword [0x1802f60d8], 0xffffffff
jne 0x180041fff
mov ecx, 0x3300df68
call fcn.18000cfd0
mov rcx, qword [rax]
mov qword [0x1802f5dd8], rcx
lea rcx, [0x1802f60d8]
call fcn.180080f2c
mov r8, r12
call fcn.1800419b0
mov rdi, rax
test rax, rax
je 0x1800420a7
mov rcx, qword [rsp + 0xb0]
mov rax, qword gs:[0x58]
mov rcx, qword [rax + rcx*8]
mov edx, dword [rbx + rcx]
cmp dword [0x1802f5d70], edx
jle 0x180042068
lea rcx, [0x1802f5d70]
call fcn.180080f98
cmp dword [0x1802f5d70], 0xffffffff
jne 0x180042068
mov ecx, 0x56e64b7d
call fcn.18000cfd0
mov rcx, qword [rax]
mov qword [0x1802f5c88], rcx
lea rcx, [0x1802f5d70]
call fcn.180080f2c
mov rdx, qword [0x1802f5c88]
lea r8, [rsp + 0x50]
movaps xmm0, xmm6
movss dword [rsp + 0x58], xmm6
unpcklps xmm0, xmm6
lea rcx, [rsp + 0x20]
mov r9, rdi
movsd qword [rsp + 0x50], xmm0
call fcn.180041910
movss xmm3, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
movss xmm2, dword [rsp + 0x20]
jmp 0x1800420c2
movss dword [rsp + 0x20], xmm6
movaps xmm2, xmm6
movss dword [rsp + 0x24], xmm6
movaps xmm0, xmm6
movss dword [rsp + 0x28], xmm6
movaps xmm3, xmm6
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, xmm7
jbe 0x180042170
mov r10, qword [rsp + 0xb0]
lea rbx, [0x180244010]
mov r11, qword gs:[0x58]
mov esi, 4
mov rax, qword [r13 + 0x28]
inc ebp
add r15, 8
cmp ebp, dword [rax + 0x10]
jl 0x180041e71
xor eax, eax
movaps xmm6, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
movaps xmm7, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
mov r13, qword [rsp + 0x90]
add rsp, 0x98
pop r12
pop rbx
ret
mov rax, r14
jmp 0x18004212b
xor eax, eax
jmp 0x180042145
xor eax, eax
jmp 0x18004214d
xor eax, eax
add rsp, 0x98
pop r12
pop rbx
ret