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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x10], edx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm3
mov r12, r8
mov ebx, edx
call fcn.18001dad0
mov r13, qword [rax]
test r13, r13
je 0x180047c60
mov ebp, 1
mov rax, qword [r13 + 0x28]
cmp dword [rax + 0x10], ebp
jle 0x180047c60
lea r15d, [rbp + 0x27]
lea r10, [0x1800da4b0]
mov r11d, 4
mov r9, qword gs:[0x58]
mov ecx, dword [0x1800f58d0]
mov rax, qword [rax + 0x18]
mov r14, qword [r15 + rax]
test r14, r14
je 0x180047c4d
mov r8, qword [r14]
test r8, r8
jne 0x1800479cd
xor edx, edx
jmp 0x180047a1f
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x1800479e0
test eax, eax
je 0x180047a1d
mov r9d, eax
movsx ecx, byte [r8]
mov eax, edx
xor rcx, rax
movzx eax, cl
shr edx, 8
xor edx, dword [r10 + rax*4]
lea r8, [r8 + 1]
sub r9, 1
jne 0x1800479f1
mov ecx, dword [0x1800f58d0]
mov r9, qword gs:[0x58]
not edx
cmp edx, ebx
jne 0x180047c4d
mov rbx, qword [r9 + rcx*8]
mov edi, r11d
mov eax, dword [rbx + rdi]
cmp dword [0x1800f7038], eax
jle 0x180047a6e
lea rcx, [0x1800f7038]
call fcn.180098600
cmp dword [0x1800f7038], 0xffffffff
jne 0x180047a6e
mov ecx, 0x3300df68
call fcn.1800194b0
mov rcx, qword [rax]
mov qword [0x1800f6fc0], rcx
lea rcx, [0x1800f7038]
call fcn.180098594
mov r8, r14
call fcn.180045f80
mov rsi, rax
test rax, rax
jne 0x180047a89
mov qword [rsp + 0x2c], rax
mov dword [rsp + 0x34], eax
jmp 0x180047af3
mov eax, dword [rbx + rdi]
cmp dword [0x1800f7048], eax
jle 0x180047ac9
lea rcx, [0x1800f7048]
call fcn.180098600
cmp dword [0x1800f7048], 0xffffffff
jne 0x180047ac9
mov ecx, 0x56e64b7d
call fcn.1800194b0
mov rcx, qword [rax]
mov qword [0x1800f6f60], rcx
lea rcx, [0x1800f7048]
call fcn.180098594
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov r9, rsi
lea r8, [rsp + 0x40]
mov rdx, qword [0x1800f6f60]
lea rcx, [rsp + 0x2c]
call fcn.180045fa0
test r12, r12
je 0x180047bce
mov eax, dword [rbx + rdi]
cmp dword [0x1800f7038], eax
jle 0x180047b3c
lea rcx, [0x1800f7038]
call fcn.180098600
cmp dword [0x1800f7038], 0xffffffff
jne 0x180047b3c
mov ecx, 0x3300df68
call fcn.1800194b0
mov rcx, qword [rax]
mov qword [0x1800f6fc0], rcx
lea rcx, [0x1800f7038]
call fcn.180098594
mov r8, r12
call fcn.180045f80
mov rsi, rax
test rax, rax
je 0x180047bce
mov ecx, dword [rdi + rbx]
cmp dword [0x1800f7048], ecx
jle 0x180047b90
lea rcx, [0x1800f7048]
call fcn.180098600
cmp dword [0x1800f7048], 0xffffffff
jne 0x180047b90
mov ecx, 0x56e64b7d
call fcn.1800194b0
mov rcx, qword [rax]
mov qword [0x1800f6f60], rcx
lea rcx, [0x1800f7048]
call fcn.180098594
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
mov r9, rsi
lea r8, [rsp + 0x50]
mov rdx, qword [0x1800f6f60]
lea rcx, [rsp + 0x20]
call fcn.180045fa0
movss xmm3, dword [rsp + 0x28]
movss xmm0, dword [rsp + 0x24]
movss xmm2, dword [rsp + 0x20]
jmp 0x180047be9
xorps xmm2, xmm2
movss dword [rsp + 0x20], xmm2
xorps xmm0, xmm0
movss dword [rsp + 0x24], xmm0
xorps xmm3, xmm3
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 xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
mulss xmm0, xmm0
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x180047c2c
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x180047c34
movaps xmm0, xmm2
call fcn.1800c6708
comiss xmm6, xmm0
jae 0x180047c85
mov ebx, dword [rsp + 0xa8]
lea r10, [0x1800da4b0]
mov r11d, 4
inc ebp
add r15, 8
mov rax, qword [r13 + 0x28]
cmp ebp, dword [rax + 0x10]
jl 0x1800479a1
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, r14
jmp 0x180047c62