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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0xd0
mov rax, qword [0x140400788]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov esi, dword [rsp + 0x120]
mov r12d, r8d
mov rax, qword [rsp + 0x128]
mov ebp, esi
movdqa xmm0, xmmword [0x14029b2b0]
mov r15d, edx
imul ebp, r8d
mov qword [rsp + 0x80], rax
mov eax, dword [0x1403ff088]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], edx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x98], 6
mov dword [rsp + 0xa0], 0x474e5089
mov dword [rsp + 0xa4], 0xa1a0a0d
movdqu xmmword [rsp + 0x88], xmm0
test edx, edx
jne 0x140060f4e
mov r15d, ebp
mov dword [rsp + 0x44], ebp
cmp eax, 5
mov qword [rsp + 0xc8], rbx
mov ecx, 0xffffffff
mov qword [rsp + 0xc0], r13
cmovge eax, ecx
mov qword [rsp + 0xb8], r14
mov dword [rsp + 0x50], eax
lea eax, [rbp + 1]
imul eax, r9d
movsxd rcx, eax
mov dword [rsp + 0x54], eax
call fcn.14025c70c
mov qword [rsp + 0x70], rax
mov rdi, rax
test rax, rax
je 0x140060fb0
movsxd r14, ebp
mov rcx, r14
call fcn.14025c70c
mov rbx, rax
test rax, rax
jne 0x140060fe9
mov rcx, rdi
call fcn.140252d50
xor eax, eax
mov r14, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1402499e0
add rsp, 0xd0
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x40]
xor edi, edi
mov r13d, edi
test eax, eax
jle 0x140061207
lea ecx, [rbp + 1]
movsxd rcx, ecx
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x68], rcx
nop
mov ecx, dword [rsp + 0x50]
cmp ecx, 0xffffffff
jle 0x140061049
mov qword [rsp + 0x38], rbx
mov esi, ecx
mov dword [rsp + 0x30], ecx
mov r9d, eax
mov ecx, dword [rsp + 0x4c]
mov r8d, r12d
mov dword [rsp + 0x28], ecx
mov edx, r15d
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], r13d
call fcn.14005fa50
jmp 0x1400611cf
mov r12d, edi
mov r15d, 0x7fffffff
mov esi, edi
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x4c]
mov r9d, eax
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x44]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], r13d
call fcn.14005fa50
mov r10d, edi
mov rcx, rdi
test ebp, ebp
jle 0x140061111
cmp ebp, 8
jb 0x140061111
cmp dword [0x1404007a0], 2
jl 0x140061111
mov edx, ebp
xorps xmm3, xmm3
xorps xmm4, xmm4
and edx, 0x80000007
jge 0x1400610bb
dec edx
or edx, 0xfffffff8
inc edx
mov eax, ebp
sub eax, edx
movsxd rdx, eax
pmovsxbd xmm1, dword [rcx + rbx]
pabsd xmm2, xmm1
pmovsxbd xmm1, dword [rcx + rbx + 4]
paddd xmm3, xmm2
add rcx, 8
pabsd xmm2, xmm1
paddd xmm2, xmm4
movdqa xmm4, xmm2
cmp rcx, rdx
jl 0x1400610c2
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 0x14006116a
mov rax, r14
sub rax, rcx
cmp rax, 2
jl 0x140061157
lea r11, [r14 - 1]
nop dword [rax]
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 0x140061130
cmp rcx, r14
jge 0x140061163
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
mov eax, dword [rsp + 0x40]
cmovge r10d, r15d
mov r15d, r10d
cmp esi, 5
jl 0x140061060
mov r15d, dword [rsp + 0x44]
cmp esi, r12d
je 0x1400611ca
mov eax, dword [rsp + 0x4c]
mov edx, r15d
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
call fcn.14005fa50
mov esi, r12d
mov r12d, dword [rsp + 0x48]
mov rax, qword [rsp + 0x68]
mov r8, r14
mov rdx, rbx
mov byte [rax], sil
lea rcx, [rax + 1]
mov rsi, rax
call fcn.14024aa30
add rsi, qword [rsp + 0x78]
inc r13d
mov eax, dword [rsp + 0x40]
mov qword [rsp + 0x68], rsi
cmp r13d, eax
jl 0x140061010
mov esi, dword [rsp + 0x4c]
mov rcx, rbx
call fcn.140252d50
mov r9d, dword [0x1403ff084]
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
call fcn.140061530
mov rcx, qword [rsp + 0x70]
mov r13, rax
call fcn.140252d50
test r13, r13
je 0x140060fb0
movsxd r15, dword [rsp + 0x50]
lea ebx, [r15 + 0x39]
movsxd rcx, ebx
call fcn.14025c70c
mov r14, rax
test rax, rax
je 0x140060fb0
mov r9d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x80]
mov dword [rax], ebx
mov rax, qword [rsp + 0xa0]
mov qword [r14], rax
mov eax, r12d
sar eax, 0x18
mov byte [r14 + 0x10], al
mov eax, r12d
sar eax, 0x10
mov byte [r14 + 0x11], al
mov eax, r12d
sar eax, 8
mov byte [r14 + 0x12], al
mov eax, r9d
sar eax, 0x18
mov byte [r14 + 0x14], al
mov eax, r9d
sar eax, 0x10
mov byte [r14 + 0x15], al
mov eax, r9d
sar eax, 8
mov byte [r14 + 0x16], al
mov byte [r14 + 0x13], r12b
lea r12, [0x1403ff1f0]
mov dword [r14 + 8], 0xd000000
mov dword [r14 + 0xc], 0x52444849
mov byte [r14 + 0x17], r9b
mov byte [r14 + 0x18], 8
mov word [r14 + 0x1a], di
mov byte [r14 + 0x1c], dil
movsxd rax, esi
movzx r8d, byte [rsp + rax*4 + 0x88]
mov byte [r14 + 0x19], r8b
movzx eax, byte [r14 + 0xc]
not al
movzx ecx, al
movzx eax, byte [r14 + 0xd]
mov edx, dword [r12 + rcx*4]
xor edx, 0xffffff
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0xe]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0xf]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x10]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x11]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x12]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x13]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x14]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x15]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x16]
lea rsi, [r14 + 0x29]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, r9b
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [r14 + 0x18]
mov byte [r14 + 0x24], r15b
mov dword [r14 + 0x25], 0x54414449
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
shr edx, 8
xor rcx, r8
mov r8, r15
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
shr edx, 8
xor edx, dword [r12 + rcx*4]
mov rcx, rsi
not edx
mov eax, edx
mov byte [r14 + 0x20], dl
shr eax, 0x18
mov byte [r14 + 0x1d], al
mov eax, edx
shr eax, 0x10
mov byte [r14 + 0x1e], al
mov eax, edx
shr eax, 8
mov rdx, r13
mov byte [r14 + 0x1f], al
mov eax, r15d
sar eax, 0x18
mov byte [r14 + 0x21], al
mov eax, r15d
sar eax, 0x10
mov byte [r14 + 0x22], al
mov eax, r15d
sar eax, 8
mov byte [r14 + 0x23], al
call fcn.14024aa30
mov rcx, r13
add rsi, r15
call fcn.140252d50
lea eax, [r15 + 4]
mov r8d, 0xffffffff
movsxd r9, eax
test eax, eax
jle 0x14006149d
nop
movzx edx, byte [rdi + r14 + 0x25]
inc rdi
movzx ecx, r8b
xor rdx, rcx
shr r8d, 8
xor r8d, dword [r12 + rdx*4]
cmp rdi, r9
jl 0x140061480
mov edx, dword [0x1403ff4c8]
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 [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsi + 0xb]
xor edx, dword [r12 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, r14
xor edx, dword [r12 + 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 0x140060fb2