Function at 0x1401392b0
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 r14, rdx
mov rdi, rcx
mov rax, qword [0x140346038]
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 0x14013934b
mov r10d, eax
and r10d, 7
jne 0x14013934b
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x140139cf2
mov r9, qword [rcx + 8]
mov edx, dword [r9 + rax + 4]
cmp edx, 0xc8799269
jne 0x140139cf2
add r9, rax
mov edx, dword [r9]
cmp edx, 0x68
jb 0x140139cf2
xor edx, edx
mov r11d, dword [r9]
add r11d, r8d
jb 0x14013934b
cmp r11d, r10d
ja 0x14013934b
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 0x1401393da
mov r9d, eax
and r9d, 7
jne 0x1401393da
mov r9d, dword [rcx + 0x14]
cmp r9d, r10d
jb 0x140139cdf
mov r10, qword [rcx + 8]
mov edx, dword [r10 + rax + 4]
cmp edx, 0xc8799269
jne 0x140139cdf
add r10, rax
mov eax, dword [r10]
cmp eax, 0x10
jb 0x140139cdf
mov eax, dword [r10]
add eax, r8d
setb r11b
xor edx, edx
test r10, r10
je 0x1401393da
test r11b, r11b
jne 0x1401393da
cmp eax, r9d
ja 0x1401393da
mov edx, dword [r10]
cmp rdx, 0x11
jb 0x140139cda
add r8d, edx
jb 0x140139cda
cmp r8d, r9d
ja 0x140139cda
add rdx, 0xfffffffffffffff0
test rbx, rbx
je 0x140139bcd
cmp byte [rbx + 0x50], 0
je 0x140139bcd
cmp byte [rdx + rbx - 1], 0
jne 0x140139bcd
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x140139bcd
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140139bcd
cmp rcx, rax
je 0x140139423
inc rax
cmp rcx, rax
jne 0x140139bcd
lea rsi, [rbx + 0x50]
mov rcx, rsi
call fcn.14017ed70
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 [0x140310ae0]
movups xmmword [r12 - 0x18], xmm0
test rax, rax
je 0x1401394a9
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, rsi
cmp r15, 0x40
jae 0x140139c4c
mov dword [rsp + 0xe8], r15d
mov rcx, r12
call fcn.140158a70
mov qword [rsp + 0x40], rsi
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 0x140139c17
cmp rcx, 0x38
je 0x1401394f6
mov r8d, 0x38
sub r8, rcx
add rcx, r12
xor edx, edx
call fcn.140159120
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.14000b180
mov rax, qword [r13]
bswap rax
cmp rax, qword [r15]
jne 0x140139bcd
lea r12, [rbx + 0x38]
mov ebp, dword [rbx]
cmp ebp, 4
je 0x140139b8b
mov eax, dword [rbx + 4]
mov dword [rsp + 0x64], eax
mov esi, dword [rbx + 0x10]
mov eax, dword [rbx + 0x14]
mov ecx, dword [rbx + 0x18]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rdi + 8]
lea r8d, [rax + 0x14]
xor edx, edx
cmp r8d, 0x54
jb 0x1401395b4
mov r9d, eax
and r9d, 7
jne 0x1401395b4
mov r9d, dword [rcx + 0x14]
cmp r9d, r8d
jb 0x140139cf9
mov r8, qword [rcx + 8]
mov edx, dword [r8 + rax + 4]
cmp edx, 0xc8799269
jne 0x140139cf9
add r8, rax
mov edx, dword [r8]
cmp edx, 0x14
jb 0x140139cf9
xor edx, edx
mov r10d, dword [r8]
add r10d, eax
jb 0x1401395b4
cmp r10d, r9d
ja 0x1401395b4
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 0x14013964b
mov r8d, eax
and r8d, 7
jne 0x14013964b
mov r8d, dword [rcx + 0x14]
cmp r8d, r9d
jb 0x140139ceb
mov r9, qword [rcx + 8]
mov edx, dword [r9 + rax + 4]
cmp edx, 0xc8799269
jne 0x140139ceb
add r9, rax
mov edx, dword [r9]
cmp edx, 0x10
jb 0x140139ceb
mov r10d, dword [r9]
add r10d, eax
setb r11b
xor edx, edx
test r9, r9
je 0x14013964b
test r11b, r11b
jne 0x14013964b
cmp r10d, r8d
ja 0x14013964b
mov edx, dword [r9]
cmp rdx, 0x11
jb 0x140139ce6
mov r9d, edx
add r9d, eax
jb 0x140139ce6
cmp r9d, r8d
ja 0x140139ce6
add rdx, 0xfffffffffffffff0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r15
test r14, r14
je 0x140139bc8
cmp esi, 2
jb 0x140139bc8
cmp esi, 0x3ffffffe
ja 0x140139bc8
lea r15d, [rsi + 1]
lea r13, [r15*4]
cmp rdx, r13
jb 0x140139bc8
mov ecx, 0x20
call fcn.140153bd4
mov r12, rax
mov rcx, r13
call fcn.140153bd4
mov qword [r12], rax
mov qword [r12 + 8], rax
lea rcx, [rax + r15*4]
mov qword [r12 + 0x10], rcx
xor edx, edx
nop word cs:[rax + rax]
mov r8, rax
add r8, rdx
je 0x140139cae
mov dword [r8], 0
add rdx, 4
cmp r13, rdx
jne 0x1401396c0
mov qword [r12 + 8], rcx
mov qword [r12 + 0x18], 0
test r15, r15
je 0x140139c82
mov ecx, dword [r14]
mov dword [rax], ecx
mov ecx, dword [r14 + 4]
cmp ecx, dword [r14]
jle 0x140139bbf
mov eax, 2
sub rax, r15
mov edx, 1
nop word cs:[rax + rax]
mov r8, qword [r12]
mov r9, qword [r12 + 8]
sub r9, r8
sar r9, 2
cmp r9, rdx
jbe 0x140139c82
mov dword [r8 + rdx*4], ecx
lea rcx, [rax + rdx]
cmp rcx, 1
je 0x14013975e
mov ecx, dword [r14 + rdx*4 + 4]
lea r8, [rdx + 1]
cmp ecx, dword [r14 + rdx*4]
mov rdx, r8
jg 0x140139720
jmp 0x140139bbf
mov rcx, qword [r12]
mov r8, qword [r12 + 8]
mov rdx, r8
sub rdx, rcx
je 0x140139d0f
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
je 0x140139863
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x14031b5a0]
nop word [rax + rax]
movzx r11d, al
movzx r14d, byte [rcx + r8]
xor r14d, r11d
shr eax, 8
xor eax, dword [r10 + r14*4]
movzx r11d, al
movzx r14d, byte [rcx + r8 + 1]
xor r14d, r11d
shr eax, 8
xor eax, dword [r10 + r14*4]
add r8, 2
cmp r9, r8
jne 0x1401397a0
jmp 0x140139866
lea r8d, [rcx + 0x10]
xor eax, eax
cmp r8d, 0x50
jb 0x140139854
mov edx, ecx
and edx, 7
jne 0x140139854
mov edx, dword [r13 + 0x14]
cmp edx, r8d
jb 0x140139d08
mov r8, qword [r13 + 8]
mov eax, dword [r8 + rcx + 4]
cmp eax, 0xc8799269
jne 0x140139d08
add r8, rcx
mov eax, dword [r8]
cmp eax, 0x10
jb 0x140139d08
mov r9d, dword [r8]
add r9d, ecx
setb r10b
xor eax, eax
test r8, r8
je 0x140139854
test r10b, r10b
jne 0x140139854
cmp r9d, edx
ja 0x140139854
mov eax, dword [r8]
cmp rax, 0x11
jb 0x140139d00
add ecx, eax
jb 0x140139d00
cmp ecx, edx
ja 0x140139d00
add rax, 0xfffffffffffffff0
cmp rax, r14
jb 0x140139bc8
mov r13, qword [rdi + 8]
jmp 0x1401398c9
xor r8d, r8d
test dl, 1
je 0x140139882
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x14031b5a0]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [r12 + 0x18], eax
cmp eax, dword [rsp + 0x60]
jne 0x140139bbf
test r12, r12
je 0x140139bc8
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140139d16
mov rcx, r12
call fcn.14006f340
mov r12, rax
lea r14, [rsi*8]
mov ecx, dword [rbx + 0x1c]
mov r13, qword [rdi + 8]
test ecx, ecx
jne 0x1401397d5
movabs r15, 0xfffffffc00000000
movabs rax, 0xaaaaaaaa00000000
mov qword [rsp + 0xa0], rax
mov rax, r13
and rax, r15
cmp rax, qword [0x140346fc8]
jne 0x1401398fc
mov rcx, r13
call fcn.140151d50
add rbx, 0x1c
mov qword [rsp + 0x90], r13
mov dword [rsp + 0x98], 0x53215531
cmp esi, 0x1fffffff
ja 0x140139d23
mov eax, r14d
mov dword [rsp + 0x9c], eax
mov r13, rbx
and r13, r15
cmp r13, qword [0x140346fc8]
je 0x140139c0a
mov qword [rsp + 0xa8], rbx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
mov rdi, qword [rdi + 8]
mov rax, rdi
and rax, r15
cmp rax, qword [0x140346fc8]
jne 0x140139971
mov rcx, rdi
call fcn.140151d50
lea eax, [rsi*4]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], 0x53215531
cmp esi, 0x1fffffff
ja 0x140139c01
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x80], eax
cmp r13, qword [0x140346fc8]
je 0x140139bf4
mov qword [rsp + 0x88], rbx
test ebp, ebp
mov r14, qword [rsp + 0x58]
jne 0x140139ab8
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
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 + 0x40]
mov r8, r12
call fcn.140139d40
mov rax, qword [rdi]
test rax, rax
je 0x140139bd9
mov ecx, dword [rsp + 0x64]
lock or dword [rax + 0x10], ecx
mov qword [r14], rax
mov rcx, qword [rsp + 0x88]
mov rax, rcx
and rax, r15
cmp rax, qword [0x140346fc8]
je 0x140139bea
mov qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x70]
mov rax, rcx
and rax, r15
cmp rax, qword [0x140346fc8]
jne 0x140139a51
call fcn.140152310
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
and rax, r15
cmp rax, qword [0x140346fc8]
je 0x140139be0
mov qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0x90]
and r15, rcx
cmp r15, qword [0x140346fc8]
jne 0x140139a91
call fcn.140152310
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140156fe0
mov rax, r14
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp ebp, 1
jne 0x140139afd
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
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 + 0x40]
mov r8, r12
call fcn.1400e4e40
jmp 0x1401399fa
cmp ebp, 2
jne 0x140139b42
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
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 + 0x40]
mov r8, r12
call fcn.1400e49f0
jmp 0x1401399fa
cmp ebp, 3
jne 0x140139bd9
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x50]
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 + 0x40]
mov r8, r12
call fcn.1401040e0
jmp 0x1401399fa
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r14], rax
mov qword [rsp + 0x20], r12
mov rcx, r14
mov rdx, rdi
mov r8, qword [rsp + 0x40]
mov r9, r15
call fcn.140104080
mov rax, qword [r14]
mov ecx, dword [rbx + 4]
lock or dword [rax + 0x10], ecx
jmp 0x140139a91
test r12, r12
jne 0x140139d2b
mov r14, qword [rsp + 0x58]
mov qword [r14], 0
jmp 0x140139a91
xor eax, eax
jmp 0x140139a0e
call fcn.140152310
jmp 0x140139a6c
call fcn.140152310
jmp 0x140139a2c
mov rcx, rbx
call fcn.140151d50
jmp 0x1401399aa
int3
mov rcx, rbx
call fcn.140151d50
jmp 0x14013993c
cmp eax, 0x3f
je 0x140139c2f
mov r8d, 0x3f
sub r8, rax
add rcx, r12
xor edx, edx
call fcn.140159120
lea rcx, [rsp + 0x90]
mov r8d, 1
mov rdx, r12
call fcn.14000b180
xor ecx, ecx
jmp 0x1401394e3
mov r8, r15
shr r8, 6
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.14000b180
mov r8, r15
and r8, 0x3f
je 0x1401394a9
and r15, 0xffffffffffffffc0
mov rdx, r15
add rdx, rsi
mov r15d, r8d
jmp 0x140139499
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, [0x140303e3a]
mov r8d, 0x622
call fcn.1401bf470
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401bf470
call fcn.14025a3e0
xor edx, edx
jmp 0x1401393da
call fcn.14025a3e0
xor edx, edx
jmp 0x14013964b
xor edx, edx
jmp 0x14013934b
xor edx, edx
jmp 0x1401395b4
mov rcx, r13
call fcn.14025a3e0
xor eax, eax
jmp 0x140139854
xor eax, eax
jmp 0x140139882
mov rdx, r12
call fcn.1400a1d30
jmp 0x1401398af
int3
mov rcx, r12
call fcn.1400a2140
mov rcx, r12
call fcn.140153bcc
jmp 0x140139bc8