Function at 0x1400fd300
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 [0x14029c028]
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 0x1400fd39b
mov r10d, eax
and r10d, 7
jne 0x1400fd39b
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x1400fdcef
mov r9, qword [rcx + 8]
mov edx, dword [r9 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400fdcef
add r9, rax
mov edx, dword [r9]
cmp edx, 0x68
jb 0x1400fdcef
xor edx, edx
mov r11d, dword [r9]
add r11d, r8d
jb 0x1400fd39b
cmp r11d, r10d
ja 0x1400fd39b
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 0x1400fd42a
mov r9d, eax
and r9d, 7
jne 0x1400fd42a
mov r9d, dword [rcx + 0x14]
cmp r9d, r10d
jb 0x1400fdd02
mov r10, qword [rcx + 8]
mov edx, dword [r10 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400fdd02
add r10, rax
mov eax, dword [r10]
cmp eax, 0x10
jb 0x1400fdd02
mov eax, dword [r10]
add eax, r8d
setb r11b
xor edx, edx
test r10, r10
je 0x1400fd42a
test r11b, r11b
jne 0x1400fd42a
cmp eax, r9d
ja 0x1400fd42a
mov edx, dword [r10]
cmp rdx, 0x11
jb 0x1400fdcfd
add r8d, edx
jb 0x1400fdcfd
cmp r8d, r9d
ja 0x1400fdcfd
add rdx, 0xfffffffffffffff0
test rbx, rbx
je 0x1400fdc46
cmp byte [rbx + 0x50], 0
je 0x1400fdc46
cmp byte [rdx + rbx - 1], 0
jne 0x1400fdc46
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1400fdc46
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400fdc46
cmp rcx, rax
je 0x1400fd473
inc rax
cmp rcx, rax
jne 0x1400fdc46
lea rsi, [rbx + 0x50]
mov rcx, rsi
call fcn.1401ac4b0
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 [0x14027c770]
movups xmmword [r12 - 0x18], xmm0
test rax, rax
je 0x1400fd4f9
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 0x1400fdcb9
mov dword [rsp + 0xe8], r15d
mov rcx, r12
call fcn.140189480
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 0x1400fdc84
cmp rcx, 0x38
je 0x1400fd546
mov r8d, 0x38
sub r8, rcx
add rcx, r12
xor edx, edx
call fcn.140189b30
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.140082a00
mov rax, qword [r13]
bswap rax
cmp rax, qword [r15]
jne 0x1400fdc46
lea rsi, [rbx + 0x38]
mov ebp, dword [rbx]
cmp ebp, 4
je 0x1400fdb24
mov qword [rsp + 0x60], rsi
mov eax, dword [rbx + 4]
mov dword [rsp + 0x58], eax
mov esi, dword [rbx + 0x10]
mov eax, dword [rbx + 0x14]
mov ecx, dword [rbx + 0x18]
mov dword [rsp + 0x5c], ecx
mov rcx, qword [rdi + 8]
lea r8d, [rax + 0x14]
xor edx, edx
cmp r8d, 0x54
jb 0x1400fd609
mov r9d, eax
and r9d, 7
jne 0x1400fd609
mov r9d, dword [rcx + 0x14]
cmp r9d, r8d
jb 0x1400fdcf6
mov r8, qword [rcx + 8]
mov edx, dword [r8 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400fdcf6
add r8, rax
mov edx, dword [r8]
cmp edx, 0x14
jb 0x1400fdcf6
xor edx, edx
mov r10d, dword [r8]
add r10d, eax
jb 0x1400fd609
cmp r10d, r9d
ja 0x1400fd609
mov r9d, dword [r8 + 8]
xor edx, edx
cmp r9d, 0xbcea225b
cmove rdx, r8
mov qword [rsp + 0x50], r14
lea r14, [rdx + 0x10]
test rdx, rdx
cmove r14, rdx
lea r9d, [rax + 0x10]
xor edx, edx
cmp r9d, 0x50
jb 0x1400fd6a0
mov r8d, eax
and r8d, 7
jne 0x1400fd6a0
mov r8d, dword [rcx + 0x14]
cmp r8d, r9d
jb 0x1400fdd0e
mov r9, qword [rcx + 8]
mov edx, dword [r9 + rax + 4]
cmp edx, 0xc8799269
jne 0x1400fdd0e
add r9, rax
mov edx, dword [r9]
cmp edx, 0x10
jb 0x1400fdd0e
mov r10d, dword [r9]
add r10d, eax
setb r11b
xor edx, edx
test r9, r9
je 0x1400fd6a0
test r11b, r11b
jne 0x1400fd6a0
cmp r10d, r8d
ja 0x1400fd6a0
mov edx, dword [r9]
cmp rdx, 0x11
jb 0x1400fdd09
mov r9d, edx
add r9d, eax
jb 0x1400fdd09
cmp r9d, r8d
ja 0x1400fdd09
add rdx, 0xfffffffffffffff0
mov qword [rsp + 0x48], r15
test r14, r14
je 0x1400fdc41
cmp esi, 2
jb 0x1400fdc41
cmp esi, 0x3ffffffe
ja 0x1400fdc41
lea r15d, [rsi + 1]
lea r13, [r15*4]
cmp rdx, r13
jb 0x1400fdc41
mov ecx, 0x20
call fcn.140184dc4
mov r12, rax
mov rcx, r13
call fcn.140184dc4
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 0x1400fdd41
mov dword [r8], 0
add rdx, 4
cmp r13, rdx
jne 0x1400fd710
mov qword [r12 + 8], rcx
mov qword [r12 + 0x18], 0
test r15, r15
je 0x1400fdd15
mov ecx, dword [r14]
mov dword [rax], ecx
mov eax, 1
nop dword [rax]
mov ecx, dword [r14 + rax*4]
cmp ecx, dword [r14 + rax*4 - 4]
jle 0x1400fdc38
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
sub r8, rdx
sar r8, 2
cmp r8, rax
jbe 0x1400fdd15
mov dword [rdx + rax*4], ecx
inc rax
cmp r15, rax
jne 0x1400fd750
mov rcx, qword [r12]
mov r8, qword [r12 + 8]
mov rdx, r8
sub rdx, rcx
je 0x1400fdd6d
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
je 0x1400fd80c
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
lea r10, [0x14027d470]
nop dword [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 0x1400fd7c0
jmp 0x1400fd80f
mov rcx, rdi
call fcn.1400ddc60
jmp 0x1400fd912
mov rcx, r13
call fcn.1400ddc60
jmp 0x1400fd8a1
xor r8d, r8d
test dl, 1
je 0x1400fd82b
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x14027d470]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [r12 + 0x18], eax
cmp eax, dword [rsp + 0x5c]
jne 0x1400fdc38
test r12, r12
je 0x1400fdc41
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x1400fdc52
mov rcx, r12
call fcn.1400fbc20
mov r12, rax
lea r14, [rsi*8]
mov ecx, dword [rbx + 0x1c]
mov r13, qword [rdi + 8]
test ecx, ecx
jne 0x1400fdb5a
movabs r15, 0xfffffffc00000000
movabs rax, 0xaaaaaaaa00000000
mov qword [rsp + 0xa0], rax
mov rax, r13
and rax, r15
cmp rax, qword [0x14029ce48]
je 0x1400fd7ff
add rbx, 0x1c
mov qword [rsp + 0x90], r13
mov dword [rsp + 0x98], 0x53215531
cmp esi, 0x1fffffff
ja 0x1400fdd74
mov eax, r14d
mov dword [rsp + 0x9c], eax
mov r13, rbx
and r13, r15
cmp r13, qword [0x14029ce48]
je 0x1400fdd7c
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 [0x14029ce48]
je 0x1400fd7f2
lea eax, [rsi*4]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], 0x53215531
cmp esi, 0x1fffffff
ja 0x1400fdd89
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x80], eax
cmp r13, qword [0x14029ce48]
je 0x1400fdd92
mov qword [rsp + 0x88], rbx
cmp ebp, 3
mov r14, qword [rsp + 0x50]
ja case.default.0x1400fd976
mov eax, ebp
lea rcx, [0x140283bec]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov qword [rsp + 0x30], rsi
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 + 0x40]
mov r8, r12
call fcn.14000a490
mov rdi, qword [rdi]
test rdi, rdi
je case.default.0x1400fd976
mov eax, dword [rsp + 0x58]
lock or dword [rdi + 0x10], eax
mov qword [r14], rdi
mov rcx, qword [rsp + 0x88]
mov rax, rcx
and rax, r15
cmp rax, qword [0x14029ce48]
je 0x1400fdc70
mov qword [rsp + 0x88], 0
mov rcx, qword [rsp + 0x70]
mov rax, rcx
and rax, r15
cmp rax, qword [0x14029ce48]
jne 0x1400fda05
call fcn.1400e1670
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
and rax, r15
cmp rax, qword [0x14029ce48]
je 0x1400fdc66
mov qword [rsp + 0xa8], 0
mov rcx, qword [rsp + 0x90]
and r15, rcx
cmp r15, qword [0x14029ce48]
jne 0x1400fda45
call fcn.1400e1670
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401879f0
mov rax, r14
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x40
call fcn.140184dc4
mov rdi, rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
mov r8, r12
call fcn.1400fc2e0
lea rax, [0x1402729f0]
mov qword [rdi], rax
lea rax, [rdi + 0x30]
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x28], rax
jmp 0x1400fd9b1
mov ecx, 0x40
call fcn.140184dc4
mov rdi, rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
mov r8, r12
call fcn.1400fc2e0
lea rax, [rdi + 0x30]
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x28], rax
lea rax, [0x140272ab0]
mov qword [rdi], rax
jmp 0x1400fd9b1
mov ecx, 0x38
call fcn.140184dc4
mov r12, rax
mov qword [rsp + 0x20], rsi
mov rcx, rax
mov rdx, rdi
mov r8, qword [rsp + 0x40]
mov r9, r15
call fcn.140022b40
mov qword [r14], r12
mov eax, dword [rbx + 4]
lock or dword [r12 + 0x10], eax
jmp 0x1400fda45
lea r8d, [rcx + 0x10]
xor eax, eax
cmp r8d, 0x50
jb 0x1400fdbd9
mov edx, ecx
and edx, 7
jne 0x1400fdbd9
mov edx, dword [r13 + 0x14]
cmp edx, r8d
jb 0x1400fdc5f
mov r8, qword [r13 + 8]
mov eax, dword [r8 + rcx + 4]
cmp eax, 0xc8799269
jne 0x1400fdc5f
add r8, rcx
mov eax, dword [r8]
cmp eax, 0x10
jb 0x1400fdc5f
mov r9d, dword [r8]
add r9d, ecx
setb r10b
xor eax, eax
test r8, r8
je 0x1400fdbd9
test r10b, r10b
jne 0x1400fdbd9
cmp r9d, edx
ja 0x1400fdbd9
mov eax, dword [r8]
cmp rax, 0x11
jb 0x1400fdc7a
add ecx, eax
jb 0x1400fdc7a
cmp ecx, edx
ja 0x1400fdc7a
add rax, 0xfffffffffffffff0
cmp rax, r14
jb 0x1400fdc41
mov r13, qword [rdi + 8]
jmp 0x1400fd872
mov ecx, 0x28
call fcn.140184dc4
mov rdi, rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
mov r8, r12
call fcn.1400fc2e0
lea rax, [0x140272b70]
jmp 0x1400fdb1c
xor edi, edi
jmp 0x1400fd9c2
test r12, r12
jne 0x1400fdd9f
mov r14, qword [rsp + 0x50]
mov qword [r14], 0
jmp 0x1400fda45
mov rdx, r12
call fcn.1400fe1f0
jmp 0x1400fd858
xor eax, eax
jmp 0x1400fdbd9
call fcn.1400e1670
jmp 0x1400fda20
call fcn.1400e1670
jmp 0x1400fd9e0
mov rcx, r13
call fcn.1401c2f40
jmp 0x1400fdc5f
cmp eax, 0x3f
je 0x1400fdc9c
mov r8d, 0x3f
sub r8, rax
add rcx, r12
xor edx, edx
call fcn.140189b30
lea rcx, [rsp + 0x90]
mov r8d, 1
mov rdx, r12
call fcn.140082a00
xor ecx, ecx
jmp 0x1400fd533
mov r8, r15
shr r8, 6
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.140082a00
mov r8, r15
and r8, 0x3f
je 0x1400fd4f9
and r15, 0xffffffffffffffc0
mov rdx, r15
add rdx, rsi
mov r15d, r8d
jmp 0x1400fd4e9
xor edx, edx
jmp 0x1400fd39b
xor edx, edx
jmp 0x1400fd609
call fcn.1401c2f40
xor edx, edx
jmp 0x1400fd42a
call fcn.1401c2f40
xor edx, edx
jmp 0x1400fd6a0
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, str.__n___size__
mov r8d, 0x622
call fcn.1401c2f20
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.1401c2f20
xor eax, eax
jmp 0x1400fd82b
int3
mov rcx, rbx
call fcn.1400ddc60
jmp 0x1400fd8e1
int3
mov rcx, rbx
call fcn.1400ddc60
jmp 0x1400fd950
mov rcx, r12
call fcn.1401789b0
mov rcx, r12
call fcn.140184dbc
jmp 0x1400fdc41