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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x98
mov r12d, dword [rsp + 0xf0]
mov ebp, r8d
movdqa xmm0, xmmword [0x1400b54a0]
mov eax, r9d
imul ebp, r12d
mov r15d, r8d
mov dword [rsp + 0x78], 6
mov dword [rsp + 0x48], 0x474e5089
mov dword [rsp + 0x4c], 0xa1a0a0d
movdqu xmmword [rsp + 0x68], xmm0
test edx, edx
jne 0x14005f4c8
mov dword [rsp + 0xd8], ebp
lea esi, [rbp + 1]
mov qword [rsp + 0x88], r14
mov ecx, esi
imul ecx, eax
mov dword [rsp + 0x44], ecx
movsxd rcx, ecx
call fcn.14007ebfc
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x14005f50c
movsxd r14, ebp
mov rcx, r14
call fcn.14007ebfc
mov rbx, rax
test rax, rax
jne 0x14005f526
mov rcx, rdi
call fcn.14007ddec
xor eax, eax
mov r14, qword [rsp + 0x88]
add rsp, 0x98
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor edi, edi
mov qword [rsp + 0x90], r13
mov r13d, edi
cmp dword [rsp + 0xe8], edi
jle 0x14005f728
movsxd rax, esi
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov r12d, edi
mov r15d, 0x7fffffff
mov esi, edi
nop dword [rax]
mov eax, dword [rsp + 0xf0]
mov r8d, dword [rsp + 0xe0]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call fcn.14005f100
mov r10d, edi
mov rcx, rdi
test ebp, ebp
jle 0x14005f637
cmp ebp, 8
jb 0x14005f637
cmp dword [0x1400c50c0], 2
jl 0x14005f637
mov edx, ebp
xorps xmm3, xmm3
xorps xmm4, xmm4
and edx, 0x80000007
jge 0x14005f5d0
dec edx
or edx, 0xfffffff8
inc edx
mov eax, ebp
sub eax, edx
movsxd rdx, eax
nop word [rax + rax]
movd xmm0, dword [rcx + rbx]
pmovsxbd xmm1, xmm0
movd xmm0, dword [rcx + rbx + 4]
pabsd xmm2, xmm1
paddd xmm3, xmm2
add rcx, 8
pmovsxbd xmm1, xmm0
pabsd xmm2, xmm1
paddd xmm2, xmm4
movdqa xmm4, xmm2
cmp rcx, rdx
jl 0x14005f5e0
paddd xmm3, xmm2
movdqa xmm0, xmm3
psrldq xmm0, 8
paddd xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
paddd xmm3, xmm0
movd r10d, xmm3
mov r8d, edi
mov r9d, edi
cmp rcx, r14
jge 0x14005f68c
mov rax, r14
sub rax, rcx
cmp rax, 2
jl 0x14005f679
lea r11, [r14 - 1]
movsx eax, byte [rcx + rbx]
cdq
xor eax, edx
sub eax, edx
add r8d, eax
movsx eax, byte [rcx + rbx + 1]
cdq
add rcx, 2
xor eax, edx
sub eax, edx
add r9d, eax
cmp rcx, r11
jl 0x14005f652
cmp rcx, r14
jge 0x14005f685
movsx eax, byte [rcx + rbx]
cdq
xor eax, edx
sub eax, edx
add r10d, eax
lea eax, [r9 + r8]
add r10d, eax
cmp r10d, r15d
mov eax, esi
cmovge eax, r12d
inc esi
cmp r10d, r15d
mov r12d, eax
cmovge r10d, r15d
mov r15d, r10d
cmp esi, 5
jl 0x14005f560
mov r15d, dword [rsp + 0xe0]
cmp esi, eax
je 0x14005f6ec
mov edx, dword [rsp + 0xd8]
mov r8d, r15d
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call fcn.14005f100
mov esi, r12d
mov r12, qword [rsp + 0x50]
mov r8, r14
mov rdx, rbx
lea rcx, [r12 + 1]
mov byte [r12], sil
call fcn.1400713e0
add r12, qword [rsp + 0x60]
inc r13d
mov qword [rsp + 0x50], r12
cmp r13d, dword [rsp + 0xe8]
jl 0x14005f552
mov r12d, dword [rsp + 0xf0]
mov rcx, rbx
call fcn.14007ddec
mov edx, dword [rsp + 0x44]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov r9d, 8
call fcn.14005dea0
mov rcx, qword [rsp + 0x58]
mov rbp, rax
call fcn.14007ddec
mov r13, qword [rsp + 0x90]
test rbp, rbp
je 0x14005f50c
mov ecx, dword [rsp + 0x40]
add ecx, 0x39
movsxd rcx, ecx
call fcn.14007ebfc
mov r14, rax
test rax, rax
je 0x14005f50c
mov rax, qword [rsp + 0xf8]
lea rsi, [r14 + 8]
movsxd r9, dword [rsp + 0x40]
lea ecx, [r9 + 0x39]
mov dword [rax], ecx
mov ecx, dword [rsp + 0xe8]
mov rax, qword [rsp + 0x48]
mov qword [r14], rax
mov eax, r15d
mov byte [rsi + 0xf], cl
sar eax, 0x18
mov byte [rsi + 8], al
mov eax, r15d
sar eax, 0x10
mov byte [rsi + 9], al
mov eax, r15d
sar eax, 8
mov byte [rsi + 0xa], al
mov eax, ecx
sar eax, 0x18
mov byte [rsi + 0xc], al
mov eax, ecx
sar eax, 0x10
mov byte [rsi + 0xd], al
mov eax, ecx
sar eax, 8
mov byte [rsi + 0xe], al
mov byte [rsi + 0xb], r15b
lea r15, [0x1400b4bf0]
mov dword [rsi], 0xd000000
mov dword [rsi + 4], 0x52444849
mov byte [rsi + 0x10], 8
mov word [rsi + 0x12], di
mov byte [rsi + 0x14], dil
movsxd rax, r12d
movzx edx, byte [rsp + rax*4 + 0x68]
mov byte [rsi + 0x11], dl
movzx eax, byte [rsi + 4]
not al
movzx ecx, al
movzx eax, byte [rsi + 5]
mov r8d, dword [r15 + rcx*4]
xor r8d, 0xffffff
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 6]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 7]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 8]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 9]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 0xa]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 0xb]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 0xc]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r15 + rcx*4]
mov rbx, r9
movzx eax, byte [rsi + 0xd]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 0xe]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 0xf]
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsi + 0x10]
mov byte [rsi + 0x1c], r9b
mov dword [rsi + 0x1d], 0x54414449
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor rcx, rdx
mov rdx, rbp
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r15 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r15 + rcx*4]
not r8d
mov eax, r8d
mov byte [rsi + 0x18], r8b
shr eax, 0x18
mov byte [rsi + 0x15], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 0x16], al
mov eax, r8d
shr eax, 8
mov r8, r9
mov byte [rsi + 0x17], al
mov eax, r9d
sar eax, 0x18
mov byte [rsi + 0x19], al
mov eax, r9d
sar eax, 0x10
mov byte [rsi + 0x1a], al
mov eax, r9d
sar eax, 8
mov byte [rsi + 0x1b], al
add rsi, 0x21
mov rcx, rsi
call fcn.1400713e0
mov rcx, rbp
add rsi, rbx
call fcn.14007ddec
movsxd rcx, dword [rsp + 0x40]
mov r8d, 0xffffffff
lea eax, [rcx + 4]
movsxd r10, eax
test eax, eax
jle 0x14005f9dc
mov rax, rsi
sub rax, rcx
nop dword [rax + rax]
movzx edx, byte [rdi + rax - 4]
inc rdi
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r15 + rdx*4]
cmp rdi, r10
jl 0x14005f9c0
mov edx, dword [0x1400b4ec8]
not r8d
xor edx, 0xffffff
mov byte [rsi + 3], r8b
movzx ecx, dl
mov eax, r8d
shr eax, 0x18
mov byte [rsi], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 1], al
mov eax, r8d
mov dword [rsi + 4], 0
mov dword [rsi + 8], 0x444e4549
shr edx, 8
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rsi + 9]
xor rcx, rax
movzx eax, byte [rsi + 0xa]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r15 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, r14
xor edx, dword [r15 + rcx*4]
not edx
mov ecx, edx
mov byte [rsi + 0xf], dl
shr ecx, 0x18
mov byte [rsi + 0xc], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 0xd], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 0xe], cl
jmp 0x14005f50e