Function at 0x1401170c0
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, 0x148
movapd xmmword [rsp + 0x130], xmm8
movdqa xmmword [rsp + 0x120], xmm7
movapd xmmword [rsp + 0x110], xmm6
mov rsi, r9
mov edi, r8d
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x108], rax
cmp r8d, 1
setne al
cmp r9, 2
setne cl
or cl, al
je 0x1401178d5
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x90], xmm0
cmp edi, edx
setge bpl
jl 0x1401178a6
mov eax, edi
mov edi, edx
test edi, edi
jle 0x140117709
cmp eax, 0x7fffffff
je 0x1401178ad
mov r12d, eax
cmp rsi, 0x3eb
jae 0x14011782c
cmp r12d, edi
je 0x1401178e4
cmp rsi, 3
jb 0x14011790f
mov eax, r12d
sub eax, edi
add eax, 2
cdqe
cmp rsi, rax
setbe al
test bpl, al
je 0x14011790f
mov r14, qword [rsp + 0x1b8]
mov eax, dword [rsp + 0x1b0]
movabs r13, 0xfffffffc00000000
lea r15, [rsp + 0x58]
movups xmm0, xmmword [rbx]
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], 1
mov dword [r15 + 0x14], edi
mov dword [r15 + 0x18], r12d
mov qword [r15 + 0x20], rsi
mov dword [r15 + 0x28], eax
lea r12, [0x140271800]
mov qword [r15 - 8], r12
mov qword [r15 + 0x30], 0
mov rax, r14
and rax, r13
cmp rax, qword [0x1402b5708]
je 0x1401178ef
mov qword [rsp + 0x88], r14
movupd xmm0, xmmword [r15]
lea rcx, [rsp + 0xd0]
movapd xmmword [rcx], xmm0
call fcn.140117970
mov rsi, rax
test rax, rax
je 0x1401173b6
mov edi, dword [rsp + 0x68]
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14018d880]
cmp rax, rdx
jne 0x140117313
cmp edi, ecx
jne 0x1401177fb
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x1401172b6
mov edx, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x70]
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x14009e510]
cmp rax, rcx
jne 0x1401177ea
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov r10, rcx
sar r10, 2
lea r11, [r10 - 1]
cmp r11, r9
jne 0x1401177fb
cmp r11, 2
jb 0x1401178fc
cmp r10, 1
jbe 0x1401178c2
cmp dword [rax + 4], edx
jne 0x1401177fb
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x1401177fb
mov qword [rsp + 0x50], r12
mov rcx, qword [rsp + 0x88]
and r13, rcx
cmp r13, qword [0x1402b5708]
je 0x1401178b8
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140191d70
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x1401132b0]
cmp rax, rdx
je 0x140117234
mov ecx, 2
lea rdx, [0x14009e580]
cmp rax, rdx
je 0x140117234
jmp 0x140117738
lea rcx, [0x1401d2f50]
cmp rax, rcx
jne 0x140117748
mov ecx, 0x20
call fcn.14018f5a8
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.1401132c0
mov ecx, 1
mov edx, 2
jmp 0x1401173a9
lea rcx, [0x1401f8240]
cmp rax, rcx
jne 0x140117342
mov ecx, 0x20
call fcn.14018f5a8
mov rsi, rax
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rax
call fcn.1401132c0
mov ecx, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x70]
mov r8, rsi
call fcn.140113a50
jmp 0x14011759b
movupd xmm0, xmmword [r15]
lea rcx, [rsp + 0xc0]
movapd xmmword [rcx], xmm0
call fcn.140113580
mov ecx, eax
call fcn.140113360
test al, al
je 0x14011781f
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea rcx, [0x1401f8030]
cmp rax, rcx
jne 0x140117378
mov ecx, 0x20
call fcn.14018f5a8
mov rsi, rax
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rax
call fcn.1401132c0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x70]
call fcn.1401c42e0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x140117893
mov r14d, dword [rsp + 0x6c]
mov dword [rax + 4], r14d
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov rbx, rax
sub rbx, rcx
sar rbx, 2
lea rdx, [rbx - 1]
cmp rdx, 3
jb 0x140117510
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r12d, 2
lea rdi, [rsp + 0xf0]
movq xmm7, qword [0x140276260]
movapd xmm8, xmmword [0x140276270]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.1401c42e0
movsd qword [rsp + 0xf0], xmm0
mov rcx, rdi
call fcn.14012ae90
mov rbp, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rbp
sar rax, 2
cmp rax, r12
jbe 0x140117893
movsd xmm1, qword [rsp + 0xf0]
movq xmm2, rbx
punpckldq xmm2, xmm7
subpd xmm2, xmm8
haddpd xmm2, xmm2
movapd xmm0, xmm6
subsd xmm0, xmm1
divsd xmm0, xmm2
addsd xmm0, xmm1
call fcn.1401cb840
call fcn.1401cb7d0
cvttsd2si eax, xmm0
cmp r14d, eax
lea ecx, [r14 + 1]
cmovl ecx, eax
mov dword [rbp + r12*4], ecx
inc r12
mov r14d, ecx
dec rbx
jne 0x14011747d
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rax, rcx
je 0x140117893
mov dword [rax - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rcx, rax
sub rcx, r8
lea r12, [0x140271800]
je 0x140117944
js 0x14011794b
test cl, 1
jne 0x140117721
shr rcx, 2
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x140117598
mov r8d, 0xff
lea r9, [0x140283050]
mov r10d, ecx
and r10d, r8d
movzx r11d, byte [rdx]
xor r11d, r10d
shr ecx, 8
xor ecx, dword [r9 + r11*4]
mov r10d, ecx
and r10d, r8d
movzx r11d, byte [rdx + 1]
xor r11d, r10d
shr ecx, 8
xor ecx, dword [r9 + r11*4]
add rdx, 2
cmp rdx, rax
jne 0x140117566
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1401143f0
mov rsi, rax
cmp qword [rsp + 0x78], 0
je 0x14011775b
mov dword [rsp + 0xbc], 0
mov rdi, qword [0x1402c5e10]
test rdi, rdi
je 0x1401177b2
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x6c]
movupd xmm0, xmmword [r15]
lea r9, [rsp + 0xa0]
movapd xmmword [r9], xmm0
lea r10, [rsp + 0xbc]
mov qword [rsp + 0x40], r10
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rbx, [rsp + 0xf0]
mov rcx, rdi
mov rdx, rbx
call fcn.140113700
mov rbx, qword [rbx]
test rbx, rbx
je 0x1401177b2
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1401d35f0]
cmp rax, rcx
jne 0x140117673
mov rcx, rbx
call fcn.140113c20
mov rsi, rax
mov edx, dword [rsp + 0xbc]
test edx, edx
je 0x140117217
cmp rsi, rbx
sete r8b
mov rcx, rdi
call fcn.140113410
jmp 0x140117217
lea rcx, [0x1401f8280]
cmp rax, rcx
jne 0x14011794e
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [0x1402a3ee8]
cmp eax, 5
je 0x140117645
mov r8, qword [rsp + 0x88]
test r8, r8
je 0x140117645
mov rsi, qword [r8 + 8]
test rsi, rsi
je 0x140117645
lea r14, [rbx + 0x28]
mov ebp, 0x10
mov qword [rsp + 0xe8], r8
mov rcx, r14
lea rdx, [rsp + 0xf0]
lea r9, [rsp + 0xe8]
call fcn.1401f8340
mov rcx, qword [rsp + 0xf0]
add rcx, 0x28
mov rdx, rsi
call fcn.14017d080
mov r8, qword [rsp + 0x88]
mov rsi, qword [r8 + rbp + 8]
add r8, rbp
add rbp, 0x10
test rsi, rsi
jne 0x1401176b7
jmp 0x140117645
mov edi, 1
mov r12d, 1
test eax, eax
jg 0x140117143
jmp 0x140117151
movzx ecx, byte [r8]
lea rdx, [0x140283050]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r8 + 1]
jmp 0x140117550
mov rcx, rsi
call qword [0x1402a3ee8]
mov ecx, eax
jmp 0x140117234
lea rcx, [rsp + 0x50]
call qword [0x1402a3ee8]
mov rsi, rax
jmp 0x14011759b
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 2
lea rcx, [rax - 1]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rcx
cmp rdx, 4
jbe 0x1401178c2
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x6c], ecx
lea rdx, [rax - 2]
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rcx
sar r8, 2
cmp r8, rdx
jbe 0x1401178c2
mov eax, dword [rcx + rax*4 - 8]
mov dword [rsp + 0x70], eax
jmp 0x1401175b2
lea r14, [rsp + 0x50]
and byte [r14 + 0x30], 0xbf
mov rax, qword [r14]
mov rax, qword [rax + 8]
lea rbx, [rsp + 0xf0]
mov rcx, r14
mov rdx, rbx
mov r8, rsi
call qword [0x1402a3ee8]
mov rbx, qword [rbx]
mov eax, dword [r14 + 0x30]
lock or dword [rbx + 0x10], eax
jmp 0x140117630
mov rcx, rsi
call qword [0x1402a3ee8]
test al, al
jne 0x1401172b6
movupd xmm0, xmmword [r15]
lea rcx, [rsp + 0xf0]
movapd xmmword [rcx], xmm0
call fcn.140117ea0
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.1401183a0
call fcn.1401ce7b0
mov rsi, rax
jmp 0x1401172b6
movups xmm0, xmmword [rbx]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
call fcn.140117ea0
lea rcx, str.Histogram.TooManyBuckets.1000
mov edx, eax
call fcn.1401183a0
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0xf0]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
movaps xmm0, xmmword [rsp + 0x90]
lea rcx, [rsp + 0xd0]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.14017ba50
test al, al
jne 0x14011715e
mov esi, 0x66
xor ebp, ebp
jmp 0x14011715e
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceaf0
mov eax, edx
jmp 0x14011713b
mov r12d, 0x7ffffffe
jmp 0x140117151
call fcn.1400fd6f0
jmp 0x1401172d3
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceaf0
mov edi, 2
mov esi, 3
jmp 0x140117120
lea r12d, [rdi + 1]
xor ebp, ebp
jmp 0x140117167
mov rcx, r14
call fcn.1400fd430
jmp 0x1401171ed
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x1401172ad
jmp 0x1401177fb
movapd xmm0, xmmword [rsp + 0x90]
lea rcx, [rsp + 0xc0]
movapd xmmword [rcx], xmm0
call fcn.140117ea0
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.1401183a0
call fcn.1401ce7b0
mov rsi, rax
jmp 0x1401172d3
xor ecx, ecx
jmp 0x140117598
int3
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [0x1402a3ee8]
jmp 0x140117645