Function at 0x140150fa0
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, 0x168
movapd xmmword [rsp + 0x150], xmm8
movdqa xmmword [rsp + 0x140], xmm7
movapd xmmword [rsp + 0x130], xmm6
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x128], rax
test rcx, rcx
je 0x140151b45
mov rsi, r9
mov ebp, r8d
mov ebx, edx
mov rdi, rcx
movabs r13, 0x7fffffffffffffef
call fcn.1401ab6c0
cmp rax, r13
ja 0x140151b48
mov r14, rax
cmp rax, 0x16
ja 0x140151021
lea r15, [rsp + 0x58]
mov byte [r15 + 0x17], r14b
jmp 0x14015104c
mov r12, r14
or r12, 0xf
inc r12
mov rcx, r12
call fcn.140184834
mov r15, rax
mov qword [rsp + 0x58], rax
add r13, 0x11
or r13, r12
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
cmp r15, rdi
ja 0x140151060
mov rax, r14
add rax, r15
cmp rax, rdi
ja 0x140151b4b
mov rcx, r15
mov rdx, rdi
mov r8, r14
call fcn.140188f50
mov byte [r15 + r14], 0
movzx r12d, byte [rsp + 0x6f]
test r12b, r12b
jns 0x14015108a
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
jmp 0x14015108f
lea rdi, [rsp + 0x58]
mov r13b, 1
cmp ebx, ebp
jg 0x140151b4e
mov r15d, ebx
mov ebx, ebp
test r15d, r15d
jle 0x140151881
cmp ebx, 0x7fffffff
je 0x140151b59
mov r14d, ebx
cmp rsi, 0x3eb
jae 0x14015190d
cmp r14d, r15d
je 0x140151b64
cmp rsi, 3
jb 0x140151b16
test r13b, r13b
je 0x140151b16
mov eax, r14d
sub eax, r15d
add eax, 2
cdqe
cmp rsi, rax
ja 0x140151b16
mov edi, dword [rsp + 0x1d0]
movabs r13, 0xfffffffc00000000
lea rbp, [0x14026f4a0]
mov qword [rsp + 0x70], rbp
lea rbx, [rsp + 0x58]
mov rax, rbx
and rax, r13
cmp rax, qword [0x1402aaec8]
je 0x140151a8f
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], r15d
mov dword [rsp + 0x88], r14d
movzx eax, byte [rsp + 0x6f]
test al, al
cmovs rbx, qword [rsp + 0x58]
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x98], edi
lea rcx, [rsp + 0xb8]
mov qword [rcx], rbx
cmovs rax, qword [rsp + 0x60]
mov qword [rcx + 8], rax
call fcn.140151c10
mov rsi, rax
test rax, rax
je 0x1401512db
mov edi, dword [rsp + 0x80]
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [fcn.1400051f0]
cmp rax, rdx
jne 0x1401512a1
cmp edi, ecx
jne 0x140151b91
mov r9, qword [rsp + 0x90]
test r9, r9
je 0x140151236
mov edx, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x88]
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x1400b6160]
cmp rax, rcx
jne 0x140151b70
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + 0x20]
mov rax, qword [rcx]
mov r10, qword [rcx + 8]
sub r10, rax
mov rcx, r10
sar rcx, 2
lea r11, [rcx - 1]
cmp r11, r9
jne 0x140151b91
cmp r11, 2
jb 0x140151b83
cmp r10, 4
jbe 0x140151bdc
cmp dword [rax + 4], edx
jne 0x140151b91
mov eax, dword [rax + rcx*4 - 8]
cmp eax, r8d
jne 0x140151b91
mov qword [rsp + 0x70], rbp
mov rcx, qword [rsp + 0x78]
and r13, rcx
cmp r13, qword [0x1402aaec8]
je 0x140151a9e
cmp byte [rsp + 0x6f], 0
jns 0x140151261
mov rcx, qword [rsp + 0x58]
call fcn.14018482c
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1401874c0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmm8, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x1400e8700]
cmp rax, rdx
je 0x1401511ab
mov ecx, 2
lea rdx, [0x1400b61b0]
cmp rax, rdx
je 0x1401511ab
mov rcx, rsi
call qword [case.0x1401eda70.0]
mov ecx, eax
jmp 0x1401511ab
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140151bdf
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x1401512f8
mov rbx, qword [rdi + 8]
mov rdi, qword [rdi]
xorpd xmm0, xmm0
lea rsi, [rsp + 0xe0]
movupd xmmword [rsi + 0x34], xmm0
movupd xmmword [rsi + 0x28], xmm0
movupd xmmword [rsi + 0x18], xmm0
movupd xmmword [rsi + 8], xmm0
movupd xmmword [rsi - 8], xmm0
movapd xmm0, xmmword [0x14027a710]
movupd xmmword [rsi - 0x18], xmm0
test rbx, rbx
je 0x14015136a
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xdc], ecx
mov dword [rsp + 0xd8], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x1401517e4
mov dword [rsp + 0x120], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.140188f50
mov eax, dword [rsp + 0x120]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0xd8]
mov r14d, dword [rsp + 0xdc]
mov byte [rsp + rax + 0xe0], 0x80
cmp rax, 0x38
jae 0x140151814
cmp rcx, 0x38
je 0x1401513af
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.140189600
lea rdi, [rsp + 0xc8]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], r14d
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140080f40
mov ecx, dword [rdi]
bswap ecx
call fcn.1400faf00
test al, al
je 0x140151bcf
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
lea rcx, [0x1401f0e90]
cmp rax, rcx
jne 0x140151586
mov ecx, 0x20
call fcn.140184834
mov rsi, rax
mov rdx, qword [rsp + 0x90]
inc rdx
mov rcx, rax
call fcn.1400fae40
mov ebx, dword [rsp + 0x84]
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x88]
call fcn.1401a5cf0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x140151be5
mov dword [rax + 4], ebx
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov r14, rax
sub r14, rcx
sar r14, 2
lea rdx, [r14 - 1]
cmp rdx, 3
jb 0x140151549
movapd xmm6, xmm0
mov r15d, 3
sub r15, r14
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rdi, [rsp + 0xc8]
movdqa xmm7, xmmword [0x140278800]
movapd xmm8, xmmword [0x140278810]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, ebx
call fcn.1401a5cf0
movsd qword [rsp + 0xc8], xmm0
mov rcx, rdi
call fcn.1400da320
movsd xmm1, qword [rsp + 0xc8]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, r14
punpckldq xmm2, xmm7
subpd xmm2, xmm8
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.1401a3da0
mov rbp, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rbp
sar rax, 2
cmp rax, r12
jbe 0x140151b13
call fcn.1401bd68c
cvttsd2si eax, xmm0
cmp ebx, eax
lea ecx, [rbx + 1]
cmovl ecx, eax
mov dword [rbp + r12*4], ecx
lea rax, [r15 + r12]
inc rax
inc r12
dec r14
mov ebx, ecx
cmp rax, 2
jne 0x1401514a0
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
lea rbp, [0x14026f4a0]
cmp rax, rcx
je 0x140151be8
mov dword [rax - 4], 0x7fffffff
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
mov rdx, r8
sub rdx, rcx
je 0x140151beb
mov rax, rdx
shr rax, 2
mov r9, rcx
not r9
add r9, r8
jne 0x1401515ce
xor r8d, r8d
jmp 0x140151615
lea rcx, [0x1401c69b0]
cmp rax, rcx
jne 0x1401517ab
mov ecx, 0x20
call fcn.140184834
mov rsi, rax
mov rdx, qword [rsp + 0x90]
inc rdx
mov rcx, rax
call fcn.1400fae40
mov ecx, dword [rsp + 0x84]
mov edx, dword [rsp + 0x88]
mov r8, rsi
call fcn.1400fb190
jmp 0x140151634
mov r9, rdx
and r9, 0xfffffffffffffffe
xor r8d, r8d
mov r10d, 0xff
lea r11, [0x14027c090]
mov edi, eax
and edi, r10d
movzx ebx, byte [rcx + r8]
xor ebx, edi
shr eax, 8
xor eax, dword [r11 + rbx*4]
mov edi, eax
and edi, r10d
movzx ebx, byte [rcx + r8 + 1]
xor ebx, edi
shr eax, 8
xor eax, dword [r11 + rbx*4]
add r8, 2
cmp r9, r8
jne 0x1401515e5
test dl, 1
je 0x140151631
movzx edx, al
movzx ecx, byte [rcx + r8]
xor ecx, edx
lea rdx, [0x14027c090]
shr eax, 8
xor eax, dword [rdx + rcx*4]
mov dword [rsi + 0x18], eax
mov rcx, rsi
call fcn.1400fd3f0
mov rsi, rax
cmp qword [rsp + 0x90], 0
je 0x14015189a
mov dword [rsp + 0xb4], 0
mov rdi, qword [0x1402b43c0]
test rdi, rdi
je 0x140151849
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x140151be2
mov r8d, dword [rsp + 0x80]
mov eax, dword [rsp + 0x84]
mov ecx, dword [rsp + 0x88]
mov edx, dword [rsp + 0x98]
lea r10, [rsp + 0xb4]
mov qword [rsp + 0x40], r10
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
lea rbx, [rsp + 0xc8]
mov rcx, rdi
mov rdx, rbx
call fcn.1400fc270
mov rbx, qword [rbx]
test rbx, rbx
je 0x140151849
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1401c71f0]
cmp rax, rcx
jne 0x140151714
mov rcx, rbx
call fcn.1400fb350
mov rsi, rax
mov edx, dword [rsp + 0xb4]
test edx, edx
je 0x14015118b
cmp rsi, rbx
sete r8b
mov rcx, rdi
call fcn.1400fb020
jmp 0x14015118b
lea rcx, [0x1401c69f0]
cmp rax, rcx
jne 0x140151bf2
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [case.0x1401eda70.0]
cmp eax, 5
je 0x1401516e6
mov r8, qword [rsp + 0xa0]
test r8, r8
je 0x1401516e6
mov rsi, qword [r8 + 8]
test rsi, rsi
je 0x1401516e6
lea r14, [rbx + 0x28]
xor r15d, r15d
lea r12, [rsp + 0xa0]
add r8, r15
mov qword [rsp + 0xa0], r8
mov rcx, r14
lea rdx, [rsp + 0xc8]
mov r9, r12
call fcn.140071d50
mov rcx, qword [rsp + 0xc8]
add rcx, 0x28
mov rdx, rsi
call fcn.140010110
mov r8, qword [rsp + 0xa0]
mov rsi, qword [r8 + r15 + 0x18]
add r15, 0x10
test rsi, rsi
jne 0x14015175e
jmp 0x1401516e6
lea rcx, [0x1401f1030]
cmp rax, rcx
jne 0x1401518fa
mov ecx, 0x20
call fcn.140184834
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.1400fae40
mov ecx, 1
mov edx, 2
jmp 0x1401515c4
shr r8, 6
lea rcx, [rsp + 0xc8]
mov rdx, rdi
call fcn.140080f40
mov r8, rbx
and r8, 0x3f
je 0x14015136a
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x140151358
cmp eax, 0x3f
je 0x14015182c
mov r8d, 0x3f
sub r8, rax
add rcx, rsi
xor edx, edx
call fcn.140189600
lea rcx, [rsp + 0xc8]
mov r8d, 1
mov rdx, rsi
call fcn.140080f40
xor ecx, ecx
jmp 0x14015139c
lea r14, [rsp + 0x70]
and byte [r14 + 0x28], 0xbf
mov rax, qword [r14]
mov rax, qword [rax + 8]
lea rbx, [rsp + 0xc8]
mov rcx, r14
mov rdx, rbx
mov r8, rsi
call qword [case.0x1401eda70.0]
mov rbx, qword [rbx]
mov eax, dword [r14 + 0x28]
lock or dword [rbx + 0x10], eax
jmp 0x1401516d1
mov r15d, 1
mov r14d, 1
test ebx, ebx
jg 0x1401510a8
jmp 0x1401510b7
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 2
lea rcx, [rax - 1]
mov qword [rsp + 0x90], rcx
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rcx
cmp rdx, 4
jbe 0x140151c05
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x84], ecx
lea rdx, [rax - 2]
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rcx
sar r8, 2
cmp r8, rdx
jbe 0x140151c08
mov eax, dword [rcx + rax*4 - 8]
mov dword [rsp + 0x88], eax
jmp 0x14015164e
lea rcx, [rsp + 0x70]
call qword [case.0x1401eda70.0]
mov rsi, rax
jmp 0x140151634
xorps xmm0, xmm0
lea rbx, [rsp + 0xe0]
movups xmmword [rbx + 0x34], xmm0
movups xmmword [rbx + 0x28], xmm0
movups xmmword [rbx + 0x18], xmm0
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx - 8], xmm0
movapd xmm0, xmmword [0x14027a710]
movupd xmmword [rbx - 0x18], xmm0
test r12, r12
je 0x14015197d
lea eax, [r12*8]
mov rcx, r12
shr rcx, 0x1d
mov dword [rsp + 0xdc], ecx
mov dword [rsp + 0xd8], eax
mov eax, r12d
mov r8, r12
mov rdx, rdi
cmp r12, 0x40
jae 0x140151aa8
mov dword [rsp + 0x120], eax
mov rcx, rbx
call fcn.140188f50
mov eax, dword [rsp + 0x120]
lea rcx, [rax + 1]
mov edx, dword [rsp + 0xd8]
mov dword [rsp + 0x54], edx
mov edx, dword [rsp + 0xdc]
mov dword [rsp + 0x50], edx
mov byte [rsp + rax + 0xe0], 0x80
cmp rax, 0x38
jae 0x140151ade
cmp rcx, 0x38
je 0x1401519c9
mov r8d, 0x38
sub r8, rcx
add rcx, rbx
xor edx, edx
call fcn.140189600
lea rbp, [rsp + 0xc8]
mov eax, dword [rsp + 0x54]
mov dword [rbp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rbp + 0x54], eax
mov r8d, 1
mov rcx, rbp
mov rdx, rbx
call fcn.140080f40
mov rbx, qword [rbp]
bswap rbx
lea rdx, str.Histogram.TooManyBuckets.1000
lea rbp, [rsp + 0xc8]
mov rcx, rbp
call fcn.1401c45c0
mov rcx, rbp
mov edx, 1
call fcn.140021a80
mov rbp, rax
lea rax, [rsp + 0xc8]
cmp byte [rax + 0x17], 0
jns 0x140151a39
mov rcx, qword [rsp + 0xc8]
call fcn.14018482c
mov rax, qword [rbp]
mov rax, qword [rax + 0x28]
mov rcx, rbp
mov edx, ebx
call qword [case.0x1401eda70.0]
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x70]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
lea rcx, [rsp + 0xb8]
mov qword [rcx], rdi
mov qword [rcx + 8], r12
xor r8d, r8d
call fcn.14016bbc0
test al, al
jne 0x1401510c4
mov esi, 0x66
xor r13d, r13d
jmp 0x1401510c4
lea rcx, [rsp + 0x58]
call fcn.1400da330
jmp 0x140151129
call fcn.1400da480
jmp 0x140151250
mov r8, r12
shr r8, 6
lea rcx, [rsp + 0xc8]
mov rdx, rdi
call fcn.140080f40
mov r8, r12
and r8, 0x3f
je 0x14015197d
mov rdx, r12
and rdx, 0xffffffffffffffc0
add rdx, rdi
mov eax, r8d
jmp 0x14015196e
cmp eax, 0x3f
je 0x140151af6
mov r8d, 0x3f
sub r8, rax
add rcx, rbx
xor edx, edx
call fcn.140189600
lea rcx, [rsp + 0xc8]
mov r8d, 1
mov rdx, rbx
call fcn.140080f40
xor ecx, ecx
jmp 0x1401519b6
int3
lea rcx, [rsp + 0xa0]
mov qword [rcx], rdi
mov qword [rcx + 8], r12
call fcn.140152f00
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.140021a10
call fcn.1401c1b20
mov rsi, rax
jmp 0x140151250
int3
int3
int3
xor r13d, r13d
mov r15d, ebp
jmp 0x14015109f
mov r14d, 0x7ffffffe
jmp 0x1401510b7
lea r14d, [r15 + 1]
xor r13d, r13d
jmp 0x1401510cd
mov rcx, rsi
call qword [case.0x1401eda70.0]
test al, al
jne 0x140151236
jmp 0x140151b91
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14015122d
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140151c0b
movzx edx, byte [rax + 0x17]
test dl, dl
mov r8, qword [rax]
cmovns r8, rax
lea rcx, [rsp + 0xc8]
mov qword [rcx], r8
cmovs rdx, qword [rax + 8]
mov qword [rcx + 8], rdx
call fcn.140152f00
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140021a10
call fcn.1401c1b20
mov rsi, rax
jmp 0x140151236
int3
int3
int3
int3
int3
xor eax, eax
jmp 0x140151631
lea rcx, [rsp + 0x70]
mov rdx, rbx
call qword [case.0x1401eda70.0]
jmp 0x1401516e6
int3
int3
int3