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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, qword [rcx + 8]
mov eax, r8d
lea r9d, [r8 + 0x68]
xor edx, edx
cmp r9d, 0xa8
jb 0x1400ae98b
mov r10d, eax
and r10d, 7
jne 0x1400ae98b
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x1400af23c
mov r9, qword [rcx + 8]
mov edx, dword [r9 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400af23c
add r9, rax
mov edx, dword [r9]
cmp edx, 0x68
jb 0x1400af23c
xor edx, edx
mov r11d, dword [r9]
add r11d, r8d
jb 0x1400ae98b
cmp r11d, r10d
ja 0x1400ae98b
mov r10d, dword [r9 + 8]
xor edx, edx
cmp r10d, 0xf1645913
cmove rdx, r9
lea rbx, [rdx + 0x10]
test rdx, rdx
cmove rbx, rdx
lea r10d, [r8 + 0x10]
xor edx, edx
cmp r10d, 0x50
jb 0x1400aea1a
mov r9d, eax
and r9d, 7
jne 0x1400aea1a
mov r9d, dword [rcx + 0x14]
cmp r9d, r10d
jb 0x1400af227
mov r10, qword [rcx + 8]
mov edx, dword [r10 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400af227
add r10, rax
mov eax, dword [r10]
cmp eax, 0x10
jb 0x1400af227
mov eax, dword [r10]
add eax, r8d
setb r11b
xor edx, edx
test r10, r10
je 0x1400aea1a
test r11b, r11b
jne 0x1400aea1a
cmp eax, r9d
ja 0x1400aea1a
mov edx, dword [r10]
cmp rdx, 0x11
jb 0x1400af220
add r8d, edx
jb 0x1400af220
cmp r8d, r9d
ja 0x1400af220
add rdx, 0xfffffffffffffff0
mov qword [rsp + 0x40], rsi
test rbx, rbx
je 0x1400af20f
cmp byte [rbx + 0x50], 0
je 0x1400af20f
cmp byte [rbx + rdx - 1], 0
jne 0x1400af20f
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400af20f
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400af20f
cmp rcx, rax
je 0x1400aea68
inc rax
cmp rcx, rax
jne 0x1400af20f
lea r14, [rbx + 0x50]
mov rcx, r14
call fcn.14012f6e0
xorps xmm0, xmm0
lea r12, [rsp + 0xa8]
movups xmmword [r12 + 0x34], xmm0
movups xmmword [r12 + 0x28], xmm0
movups xmmword [r12 + 0x18], xmm0
movups xmmword [r12 + 8], xmm0
movups xmmword [r12 - 8], xmm0
movaps xmm0, xmmword [0x1402ab1e0]
movups xmmword [r12 - 0x18], xmm0
test rax, rax
je 0x1400aeaee
mov r15, rax
lea eax, [rax*8]
mov rcx, r15
shr rcx, 0x1d
mov dword [rsp + 0xa4], ecx
mov dword [rsp + 0xa0], eax
mov r8, r15
mov rdx, r14
cmp r15, 0x40
jae 0x1400af12d
mov dword [rsp + 0xe8], r15d
mov rcx, r12
call fcn.140111620
lea r15, [rbx + 0x20]
mov eax, dword [rsp + 0xe8]
lea rcx, [rax + 1]
mov esi, dword [rsp + 0xa0]
mov ebp, dword [rsp + 0xa4]
mov byte [rsp + rax + 0xa8], 0x80
cmp rax, 0x38
jae 0x1400af0f8
cmp rcx, 0x38
je 0x1400aeb36
mov r8d, 0x38
sub r8, rcx
add rcx, r12
xor edx, edx
call fcn.140111cd0
lea r13, [rsp + 0x90]
mov dword [r13 + 0x50], esi
mov dword [r13 + 0x54], ebp
mov r8d, 1
mov rcx, r13
mov rdx, r12
call fcn.14000bf40
mov rax, qword [r13]
bswap rax
cmp rax, qword [r15]
jne 0x1400af20f
mov qword [rsp + 0x48], r15
lea rsi, [rbx + 0x38]
mov eax, dword [rbx]
cmp eax, 4
je 0x1400af1c7
mov dword [rsp + 0x60], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x64], eax
mov r15d, dword [rbx + 0x10]
mov eax, dword [rbx + 0x14]
mov ebp, dword [rbx + 0x18]
mov rcx, qword [rdi + 8]
lea r8d, [rax + 0x14]
xor edx, edx
cmp r8d, 0x54
jb 0x1400aebfa
mov r9d, eax
and r9d, 7
jne 0x1400aebfa
mov r9d, dword [rcx + 0x14]
cmp r9d, r8d
jb 0x1400af243
mov r8, qword [rcx + 8]
mov edx, dword [r8 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400af243
add r8, rax
mov edx, dword [r8]
cmp edx, 0x14
jb 0x1400af243
xor edx, edx
mov r10d, dword [r8]
add r10d, eax
jb 0x1400aebfa
cmp r10d, r9d
ja 0x1400aebfa
mov r9d, dword [r8 + 8]
xor edx, edx
cmp r9d, 0xbcea225b
cmove rdx, r8
mov qword [rsp + 0x58], r14
lea r14, [rdx + 0x10]
test rdx, rdx
cmove r14, rdx
lea r9d, [rax + 0x10]
xor edx, edx
cmp r9d, 0x50
jb 0x1400aec91
mov r8d, eax
and r8d, 7
jne 0x1400aec91
mov r8d, dword [rcx + 0x14]
cmp r8d, r9d
jb 0x1400af235
mov r9, qword [rcx + 8]
mov edx, dword [r9 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400af235
add r9, rax
mov edx, dword [r9]
cmp edx, 0x10
jb 0x1400af235
mov r10d, dword [r9]
add r10d, eax
setb r11b
xor edx, edx
test r9, r9
je 0x1400aec91
test r11b, r11b
jne 0x1400aec91
cmp r10d, r8d
ja 0x1400aec91
mov edx, dword [r9]
cmp rdx, 0x11
jb 0x1400af22e
mov r9d, edx
add r9d, eax
jb 0x1400af22e
cmp r9d, r8d
ja 0x1400af22e
add rdx, 0xfffffffffffffff0
mov qword [rsp + 0x50], rsi
test r14, r14
je 0x1400af20f
cmp r15d, 2
jb 0x1400af20f
cmp r15d, 0x3ffffffe
ja 0x1400af20f
lea esi, [r15 + 1]
lea r12, [rsi*4]
cmp rdx, r12
jb 0x1400af20f
mov ecx, 0x20
call fcn.14010cc14
mov r13, rax
mov rcx, r12
call fcn.14010cc14
mov qword [r13], rax
mov qword [r13 + 8], rax
lea rcx, [rax + rsi*4]
mov qword [r13 + 0x10], rcx
xor edx, edx
nop word cs:[rax + rax]
mov r8, rax
add r8, rdx
je 0x1400af200
mov dword [r8], 0
add rdx, 4
cmp r12, rdx
jne 0x1400aed00
mov qword [r13 + 8], rcx
mov qword [r13 + 0x18], 0
mov ecx, dword [r14]
mov dword [rax], ecx
mov eax, 1
nop word cs:[rax + rax]
mov ecx, dword [r14 + rax*4]
cmp ecx, dword [r14 + rax*4 - 4]
jle 0x1400af206
mov rdx, qword [r13]
mov r8, qword [r13 + 8]
sub r8, rdx
sar r8, 2
cmp r8, rax
jbe 0x1400af203
mov dword [rdx + rax*4], ecx
inc rax
cmp rsi, rax
jne 0x1400aed40
mov rcx, qword [r13]
mov r8, qword [r13 + 8]
mov rdx, r8
sub rdx, rcx
je 0x1400af251
mov rax, rdx
shr rax, 2
neg r8
xor r8, rcx
cmp r8, 0xffffffffffffffff
je 0x1400af176
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x1402b5b50]
nop
movzx r11d, al
movzx esi, byte [rcx + r8]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
movzx r11d, al
movzx esi, byte [rcx + r8 + 1]
xor esi, r11d
shr eax, 8
xor eax, dword [r10 + rsi*4]
add r8, 2
cmp r9, r8
jne 0x1400aedb0
test dl, 1
je 0x1400aedfc
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x1402b5b50]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [r13 + 0x18], eax
cmp eax, ebp
jne 0x1400af206
test r13, r13
je 0x1400af20f
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400af163
mov rdx, r13
call fcn.14016e7c0
mov rbp, rax
xor r12d, r12d
cmp rax, r13
cmovne r12, r13
lea rsi, [r15*8]
mov edx, dword [rbx + 0x1c]
test edx, edx
jne 0x1400af053
movabs r14, 0xfffffffc00000000
movabs rax, 0xaaaaaaaa00000000
mov qword [rsp + 0xa0], rax
mov r13, qword [rdi + 8]
mov rax, r13
and rax, r14
cmp rax, qword [0x1402e3948]
jne 0x1400aee7d
mov rcx, r13
call fcn.140103420
add rbx, 0x1c
mov qword [rsp + 0x90], r13
mov dword [rsp + 0x98], 0x53215531
cmp r15d, 0x1fffffff
ja 0x1400af26c
mov eax, esi
mov dword [rsp + 0x9c], eax
mov r13, rbx
and r13, r14
cmp r13, qword [0x1402e3948]
je 0x1400af274
mov qword [rsp + 0xa8], rbx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
mov rdi, qword [rdi + 8]
mov rax, rdi
and rax, r14
cmp rax, qword [0x1402e3948]
jne 0x1400aeef2
mov rcx, rdi
call fcn.140103420
lea eax, [r15*4]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], 0x53215531
cmp r15d, 0x1fffffff
ja 0x1400af281
mov r15, qword [rsp + 0x40]
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], eax
cmp r13, qword [0x1402e3948]
je 0x1400af289
mov qword [rsp + 0x88], rbx
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x1400af06a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x68]
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, rbp
call fcn.1400af8d0
mov rax, qword [rdi]
test rax, rax
je 0x1400af24a
mov ecx, dword [rsp + 0x64]
lock or dword [rax + 0x10], ecx
mov qword [r15], rax
mov rcx, qword [rsp + 0x88]
mov rax, rcx
and rax, r14
cmp rax, qword [0x1402e3948]
je 0x1400af258
mov qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x70]
mov rax, rcx
and rax, r14
cmp rax, qword [0x1402e3948]
jne 0x1400aefd7
call fcn.140103630
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
and rax, r14
cmp rax, qword [0x1402e3948]
je 0x1400af262
mov qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0x90]
and r14, rcx
cmp r14, qword [0x1402e3948]
jne 0x1400af017
call fcn.140103630
test r12, r12
je 0x1400af02c
mov rcx, r12
call fcn.1400af2c0
mov rcx, r12
call fcn.14010cc0c
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14010fba0
mov rax, r15
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rdi + 8]
call fcn.1400c8360
cmp rax, rsi
jae 0x1400aee46
jmp 0x1400af296
cmp eax, 1
jne 0x1400af0af
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x68]
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, rbp
call fcn.1400af330
jmp 0x1400aef80
cmp eax, 2
jne 0x1400af17e
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x68]
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, rbp
call fcn.1400af840
jmp 0x1400aef80
cmp eax, 0x3f
je 0x1400af110
mov r8d, 0x3f
sub r8, rax
add rcx, r12
xor edx, edx
call fcn.140111cd0
lea rcx, [rsp + 0x90]
mov r8d, 1
mov rdx, r12
call fcn.14000bf40
xor ecx, ecx
jmp 0x1400aeb23
mov r8, r15
shr r8, 6
lea rcx, [rsp + 0x90]
mov rdx, r14
call fcn.14000bf40
mov r8, r15
and r8, 0x3f
je 0x1400aeaee
and r15, 0xffffffffffffffc0
mov rdx, r15
add rdx, r14
mov r15d, r8d
jmp 0x1400aeade
mov rcx, r13
call fcn.14005af90
mov rbp, rax
xor r12d, r12d
jmp 0x1400aee33
xor r8d, r8d
jmp 0x1400aede0
cmp eax, 3
jne 0x1400af24a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x68]
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, rbp
call fcn.1400c8760
jmp 0x1400aef80
movabs rax, 0xaaaaaaaaaaaaaaaa
mov r15, qword [rsp + 0x40]
mov qword [r15], rax
mov qword [rsp + 0x20], rsi
mov rcx, r15
mov rdx, rdi
mov r8, r14
mov r9, qword [rsp + 0x48]
call fcn.1400c83f0
mov rax, qword [r15]
mov ecx, dword [rbx + 4]
lock or dword [rax + 0x10], ecx
jmp 0x1400af02c
int3
int3
test r13, r13
jne 0x1400af2a7
mov r15, qword [rsp + 0x40]
mov qword [r15], 0
jmp 0x1400af02c
mov dl, 1
call fcn.1401e6390
xor edx, edx
jmp 0x1400aea1a
mov dl, 1
call fcn.1401e6390
xor edx, edx
jmp 0x1400aec91
xor edx, edx
jmp 0x1400ae98b
xor edx, edx
jmp 0x1400aebfa
xor eax, eax
jmp 0x1400aef94
xor eax, eax
jmp 0x1400aedfc
call fcn.140103630
jmp 0x1400aefb2
call fcn.140103630
jmp 0x1400aeff2
int3
mov rcx, rbx
call fcn.140103420
jmp 0x1400aeebd
int3
mov rcx, rbx
call fcn.140103420
jmp 0x1400aef31
mov r15, qword [rsp + 0x40]
mov qword [r15], 0
jmp 0x1400af017
mov rcx, r13
call fcn.1400af2c0
mov rcx, r13
call fcn.14010cc0c
jmp 0x1400af20f