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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov rsi, rcx
mov qword [rcx + 0x10], r12
mov r14, r8
mov qword [rcx + 0x18], r12
mov rbx, rdx
mov qword [rcx + 0x20], r12
mov qword [rcx + 0x28], r12
mov qword [rcx + 0x30], r12
mov qword [rcx + 0x38], r12
mov qword [rcx + 0x54], r12
mov qword [rcx + 0x5c], r12
mov qword [rcx + 0x64], r12
mov qword [rcx + 0x6c], r12
mov qword [rcx + 0x74], r12
mov qword [rcx + 0xb0], r12
mov qword [rcx + 0xb8], r12
mov qword [rcx + 0xc0], r12
mov qword [rcx + 0xc8], r12
add rcx, 0xd0
call fcn.180040c60
lea rbp, [rsi + 0x2b8]
mov qword [rsi + 0x218], r12
mov rcx, rbp
mov qword [rsi + 0x220], r12
lea rdx, [rbx + 0x1930]
mov qword [rsi + 0x228], r12
mov qword [rsi + 0x230], r12
mov qword [rsi + 0x238], r12
mov qword [rsi + 0x240], r12
mov qword [rsi + 0x248], r12
mov qword [rsi + 0x250], r12
mov qword [rsi + 0x258], r12
mov qword [rsi + 0x260], r12
mov qword [rsi + 0x268], r12
mov qword [rsi + 0x270], r12
mov qword [rsi + 0x288], r12
mov qword [rsi + 0x290], r12
mov qword [rsi + 0x298], r12
mov qword [rsi + 0x2a0], r12
call fcn.18003f8b0
lea rax, [rsi + 0x390]
mov ecx, 2
nop dword [rax + rax]
mov qword [rax], r12
mov qword [rax + 8], r12
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x1800408c0
mov rcx, r14
call fcn.18003e8b0
mov rcx, qword [0x180147368]
test rcx, rcx
je 0x1800408eb
inc dword [rcx + 0x3bc]
mov rdx, qword [0x180147378]
lea rbx, [rax + 1]
mov rcx, rbx
call qword [0x180145a10]
mov r8, rbx
mov rdx, r14
mov rcx, rax
mov rdi, rax
call fcn.18007feb0
mov qword [rsi], rdi
lea r8, [r14 + 1]
movzx r9d, byte [r14]
mov r10d, 0xffffffff
mov edx, r10d
test r9b, r9b
je 0x180040960
lea r11, [0x180005550]
cmp r9b, 0x23
jne 0x180040943
cmp byte [r8], r9b
jne 0x180040943
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180040930
not edx
mov dword [rsi + 8], edx
mov ecx, dword [rsi + 0xc4]
mov ebx, dword [rsi + 0xc0]
cmp ebx, ecx
jne 0x180040a1c
inc ebx
test ecx, ecx
je 0x18004098a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18004098f
mov eax, 8
cmp eax, ebx
cmovg ebx, eax
cmp ebx, ecx
jle 0x180040a1c
mov rax, qword [0x180147368]
test rax, rax
je 0x1800409ae
inc dword [rax + 0x3bc]
mov rdx, qword [0x180147378]
movsxd rcx, ebx
shl rcx, 2
call qword [0x180145a10]
mov rdx, qword [rsi + 0xc8]
mov rdi, rax
test rdx, rdx
je 0x180040a0f
movsxd r8, dword [rsi + 0xc0]
mov rcx, rax
shl r8, 2
call fcn.18007feb0
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x180040a02
mov rax, qword [0x180147368]
test rax, rax
je 0x180040a02
dec dword [rax + 0x3bc]
mov rdx, qword [0x180147378]
call qword [0x180145a18]
mov qword [rsi + 0xc8], rdi
mov dword [rsi + 0xc4], ebx
movsxd rdx, dword [rsi + 0xc0]
mov rcx, qword [rsi + 0xc8]
mov eax, dword [rsi + 8]
mov dword [rcx + rdx*4], eax
mov rcx, r14
inc dword [rsi + 0xc0]
mov qword [rsi + 0xc], r12
mov qword [rsi + 0x14], r12
mov qword [rsi + 0x20], r12
mov dword [rsi + 0x1c], r12d
mov qword [rsi + 0x30], r12
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x38], r12
mov qword [rsi + 0x40], r12
call fcn.18003e8b0
inc eax
mov r8, r12
mov dword [rsi + 0x48], eax
movabs r9, 0x47ae147ae147ae15
mov eax, dword [0x180005aa8]
mov dword [rsp + 0x50], eax
movzx eax, word [0x180005aac]
mov word [rsp + 0x54], ax
nop word [rax + rax]
mov rax, r9
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
movsx eax, al
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [rsp + r8 + 0x50], al
inc r8
cmp r8, 6
jb 0x180040a90
movsxd rcx, dword [rsi + 0xc0]
xor edx, edx
mov rax, qword [rsi + 0xc8]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x50]
call fcn.180048db0
mov rcx, qword [0x180147368]
cmp dword [rcx + 0x1ac8], eax
jne 0x180040af6
mov dword [rcx + 0x1acc], eax
cmp dword [rcx + 0x1b08], eax
jne 0x180040b05
mov byte [rcx + 0x1b0c], 1
mov rbx, qword [rsp + 0x58]
xorps xmm0, xmm0
mov dword [rsi + 0x4c], eax
mov eax, 0xffffffff
mov word [rsi + 0x8e], ax
mov dword [rsi + 0x98], eax
mov dword [rsi + 0x278], eax
mov dword [rsi + 0x2ac], eax
mov rax, qword [rsi]
mov qword [rsi + 0x50], r12
mov dword [rsi + 0x58], r12d
mov dword [rsi + 0x64], 0x7f7fffff
mov dword [rsi + 0x68], 0x7f7fffff
mov dword [rsi + 0x6c], 0x3f000000
mov qword [rsi + 0x70], 0x3f000000
mov qword [rsi + 0x78], r12
mov qword [rsi + 0x80], r12
mov byte [rsi + 0x88], 0xff
mov dword [rsi + 0x8a], 0xffff0000
mov dword [rsi + 0x90], r12d
mov dword [rsi + 0x94], 0xffff
mov qword [rsi + 0x9c], r12
mov dword [rsi + 0xac], 0xf
mov dword [rsi + 0xa8], 0xf
mov dword [rsi + 0xa4], 0xf
mov dword [rsi + 0xb8], 0x7f7fffff
mov dword [rsi + 0xbc], 0x7f7fffff
mov dword [rsi + 0xb0], 0x7f7fffff
mov dword [rsi + 0xb4], 0x7f7fffff
movups xmmword [rsi + 0x228], xmm0
mov qword [rsi + 0x2b0], rbp
mov dword [rsi + 0x27c], 0xbf800000
mov dword [rsi + 0x280], r12d
mov dword [rsi + 0x2a8], 0x3f800000
mov qword [rbp + 0x40], rax
mov rax, rsi
mov rbp, qword [rsp + 0x60]
mov qword [rsi + 0x388], r12
mov qword [rsi + 0x360], r12
mov qword [rsi + 0x368], r12
mov qword [rsi + 0x370], r12
mov qword [rsi + 0x378], r12
movups xmmword [rsi + 0x3a0], xmm0
movups xmmword [rsi + 0x390], xmm0
mov qword [rsi + 0x380], r12
mov byte [rsi + 0x3b0], r12b
mov qword [rsi + 0x3b4], r12
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret