Function at 0x1400667d0
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, 0x108
movapd xmmword [rsp + 0xf0], xmm8
movapd xmmword [rsp + 0xe0], xmm7
movapd xmmword [rsp + 0xd0], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140135028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
movabs r12, 0xfffffffc00000000
mov rax, rcx
and rax, r12
cmp rax, qword [0x140135e48]
je 0x1400672cb
mov qword [rsp + 0x28], rsi
movabs rax, 0x100000002
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x40], 3
mov dword [rsp + 0x48], edi
lea rax, [0x14011aff0]
mov qword [rsp + 0x20], rax
test rsi, rsi
je 0x1400672b5
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400669ee
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
test rcx, rcx
js 0x1400672c5
je 0x1400668a2
test rax, rax
je 0x1400672eb
lea rcx, [rsp + 0x50]
call fcn.14006a830
mov rsi, rax
test rax, rax
je 0x140066a5c
mov edi, dword [rsp + 0x30]
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov ecx, 2
lea rdx, [0x140055c70]
cmp rax, rdx
je 0x1400668e6
xor ecx, ecx
lea rdx, [fcn.14009ae40]
cmp rax, rdx
jne 0x1400669c9
cmp edi, ecx
jne 0x1400671ed
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140066968
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x1400f42a0]
cmp rax, rcx
jne 0x1400672f1
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 0x1400671ed
cmp r11, 2
jb 0x1400672d8
cmp r10, 4
jbe 0x1400672c2
cmp dword [rax + 4], edx
jne 0x1400671ed
mov eax, dword [rax + rcx*4 - 8]
cmp eax, r8d
jne 0x1400671ed
lea rax, [0x14011afb0]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
and r12, rcx
cmp r12, qword [0x140135e48]
je 0x1400672b8
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14009d810
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x140062890]
cmp rax, rdx
je 0x1400668e6
mov rcx, rsi
call qword [0x140159008]
mov ecx, eax
jmp 0x1400668e6
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rax
jmp 0x1400668a2
cmp eax, 0x3f
je 0x140066a15
mov r8d, 0x3f
sub r8, rax
add rcx, rsi
xor edx, edx
call fcn.14009f950
lea rcx, [rsp + 0x68]
mov r8d, 1
mov rdx, rsi
call fcn.1400437c0
xor ecx, ecx
jmp 0x140066b1e
shr r8, 6
lea rcx, [rsp + 0x68]
mov rdx, rdi
call fcn.1400437c0
mov r8, rbx
and r8, 0x3f
je 0x140066af3
and rbx, 0xffffffffffffffc0
add rdi, rbx
mov ebx, r8d
jmp 0x140066ae1
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14006730a
movzx ebx, byte [rdi + 0x17]
test bl, bl
jns 0x140066a8d
mov rbx, qword [rdi + 8]
test rbx, rbx
js 0x140067314
mov rdi, qword [rdi]
je 0x140066a8d
test rdi, rdi
je 0x140067323
xorps xmm0, xmm0
lea rsi, [rsp + 0x80]
movups xmmword [rsi + 0x34], xmm0
movups xmmword [rsi + 0x28], xmm0
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi - 8], xmm0
movapd xmm0, xmmword [0x1401224d0]
movupd xmmword [rsi - 0x18], xmm0
test rbx, rbx
je 0x140066af3
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x78], eax
mov r8, rbx
cmp rbx, 0x40
jae 0x140066a2f
mov dword [rsp + 0xc0], ebx
mov rcx, rsi
mov rdx, rdi
call fcn.14009f2a0
mov eax, dword [rsp + 0xc0]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x78]
mov ebp, dword [rsp + 0x7c]
mov byte [rsp + rax + 0x80], 0x80
cmp rax, 0x38
jae 0x1400669fd
cmp rcx, 0x38
je 0x140066b31
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.14009f950
lea rdi, [rsp + 0x68]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.1400437c0
mov edi, dword [rdi]
mov rsi, qword [0x14014d970]
cmp rsi, 1
jbe 0x14006727d
mov rax, qword [rsi]
test al, 0x1c
jne 0x140067254
mov rcx, rax
or rcx, 1
add rcx, 0x100
lock cmpxchg qword [rsi], rcx
jne 0x140067254
mov rax, qword [0x14014d980]
mov bl, 1
test rax, rax
je 0x140066ba2
mov rcx, qword [rax + 0x98]
test rcx, rcx
jne 0x140067383
mov rax, qword [rsi]
mov ecx, eax
and ecx, 0x15
cmp ecx, 1
jne 0x14006726e
cmp rax, 0x200
mov rcx, rax
sbb rcx, 0
add rcx, 0xffffffffffffff00
lock cmpxchg qword [rsi], rcx
jne 0x14006726e
test bl, bl
je 0x140067247
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
lea rcx, [0x1400347e0]
cmp rax, rcx
jne 0x140066e66
mov ecx, 0x20
call fcn.14009b6c4
mov rsi, rax
mov rdi, qword [rsp + 0x40]
mov rbx, rdi
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc rbx
je 0x140066c6a
mov rax, rbx
shr rax, 0x3e
jne 0x140067320
lea rcx, [rbx*4]
call fcn.14009b6c4
mov qword [rsi], rax
mov qword [rsi + 8], rax
lea rcx, [rax + rbx*4]
mov qword [rsi + 0x10], rcx
lea rdx, [rdi*4 + 4]
test rax, rax
je 0x1400672b2
mov dword [rax], 0
add rax, 4
add rdx, 0xfffffffffffffffc
jne 0x140066c4d
mov qword [rsi + 8], rcx
mov qword [rsi + 0x18], 0
mov ebx, dword [rsp + 0x34]
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x38]
call fcn.1400b75d0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x14006731a
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 0x140066d7b
movapd xmm6, xmm0
mov r15d, 3
sub r15, r14
add r14, 0xfffffffffffffffd
mov r13d, 2
lea rdi, [rsp + 0x68]
movdqa xmm7, xmmword [0x14011d5d0]
movapd xmm8, xmmword [0x14011d5e0]
xorps xmm0, xmm0
cvtsi2sd xmm0, ebx
call fcn.1400b75d0
movsd qword [rsp + 0x68], xmm0
mov rcx, rdi
call fcn.14005e780
movsd xmm1, qword [rsp + 0x68]
movq xmm2, r14
punpckldq xmm2, xmm7
subpd xmm2, xmm8
haddpd xmm2, xmm2
movapd xmm0, xmm6
subsd xmm0, xmm1
divsd xmm0, xmm2
addsd xmm0, xmm1
call fcn.1400b5ed0
mov rbp, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rbp
sar rax, 2
cmp rax, r13
jbe 0x1400672af
call fcn.1400ccfb8
cvttsd2si eax, xmm0
cmp ebx, eax
lea ecx, [rbx + 1]
cmovl ecx, eax
mov dword [rbp + r13*4], ecx
lea rax, [r15 + r13]
inc rax
inc r13
dec r14
mov ebx, ecx
cmp rax, 2
jne 0x140066ce7
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rax, rcx
je 0x14006731d
mov dword [rax - 4], 0x7fffffff
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
je 0x14006730d
mov rdx, rcx
shr rdx, 2
xor r8d, r8d
lea r9, [0x140126870]
movzx r10d, dl
movzx r11d, byte [rax + r8]
xor r11d, r10d
shr edx, 8
xor edx, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x140066dac
mov dword [rsi + 0x18], edx
mov rcx, rsi
call fcn.140081e20
cmp qword [rsp + 0x40], 0
je 0x140067189
lea rdi, [rsp + 0x20]
and byte [rdi + 0x28], 0xbf
mov rcx, qword [rdi]
mov r9, qword [rcx + 8]
lea rsi, [rsp + 0x68]
mov rcx, rdi
mov rdx, rsi
mov r8, rax
mov rax, r9
call qword [0x140159008]
mov rsi, qword [rsi]
mov eax, dword [rdi + 0x28]
lock or dword [rsi + 0x10], eax
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1400cfcf0]
cmp rax, rcx
jne 0x140066e32
mov rcx, rsi
call fcn.14006af30
mov rsi, rax
jmp 0x1400668b8
lea rcx, [0x1400cffa0]
cmp rax, rcx
jne 0x1400673a4
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
call qword [0x140159008]
cmp eax, 5
je 0x140066e22
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140066e22
jmp 0x140067326
lea rcx, [0x1400cfde0]
cmp rax, rcx
jne 0x14006701e
mov ecx, 0x20
call fcn.14009b6c4
mov rsi, rax
mov rdi, qword [rsp + 0x40]
mov rbx, rdi
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc rbx
je 0x1400671e0
mov rax, rbx
shr rax, 0x3e
jne 0x14006739e
lea rcx, [rbx*4]
call fcn.14009b6c4
mov qword [rsi], rax
mov qword [rsi + 8], rax
lea r8, [rax + rbx*4]
mov qword [rsi + 0x10], r8
lea rcx, [rdi*4 + 4]
xor edx, edx
mov r9, rax
add r9, rdx
je 0x1400672c8
mov dword [r9], 0
add rdx, 4
cmp rcx, rdx
jne 0x140066ed7
mov qword [rsi + 8], r8
mov qword [rsi + 0x18], 0
mov rcx, r8
sub rcx, rax
sar rcx, 2
lea rdx, [rcx - 1]
cmp rdx, 2
jb 0x140066fcc
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x34]
cvtsi2sd xmm1, dword [rsp + 0x38]
add rcx, 0xfffffffffffffffd
movq xmm2, rcx
punpckldq xmm2, xmmword [0x14011d5d0]
subpd xmm2, xmmword [0x14011d5e0]
haddpd xmm2, xmm2
mov eax, 1
movdqa xmm3, xmmword [0x14011d5d0]
movapd xmm4, xmmword [0x14011d5e0]
movsd xmm5, qword [0x1401103d0]
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
sub r9, r8
sar r9, 2
cmp r9, rax
jbe 0x1400672ee
movq xmm6, rcx
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r9, [rax - 1]
movq xmm7, r9
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r9d, xmm7
mov dword [r8 + rax*4], r9d
dec rcx
inc rax
cmp rax, rdx
jne 0x140066f60
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
cmp r8, rax
je 0x14006739b
mov dword [r8 - 4], 0x7fffffff
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
je 0x14006730d
mov rdx, rcx
shr rdx, 2
xor r8d, r8d
lea r9, [0x140126870]
movzx r10d, dl
movzx r11d, byte [rax + r8]
xor r11d, r10d
shr edx, 8
xor edx, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x140066ffe
jmp 0x140066dc7
lea rcx, [0x1400f46d0]
cmp rax, rcx
jne 0x140067176
mov ecx, 0x20
call fcn.14009b6c4
mov rsi, rax
mov ecx, 0x10
call fcn.14009b6c4
mov qword [rsi], rax
mov qword [rsi + 8], rax
lea rcx, [rax + 0x10]
mov qword [rsi + 0x10], rcx
test rax, rax
je 0x140067317
mov dword [rax], 0
cmp rax, 0xfffffffffffffffc
je 0x140067317
mov dword [rax + 4], 0
cmp rax, 0xfffffffffffffff8
je 0x140067317
mov dword [rax + 8], 0
add rax, 0xc
je 0x140067317
mov dword [rax], 0
mov qword [rsi + 8], rcx
mov qword [rsi + 0x18], 0
mov eax, 1
movdqa xmm0, xmmword [0x14011d5d0]
movapd xmm1, xmmword [0x14011d5e0]
movsd xmm2, qword [0x1401103d0]
mov ecx, 1
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sar r8, 2
cmp r8, rcx
jbe 0x140067307
movq xmm3, rax
punpckldq xmm3, xmm0
subpd xmm3, xmm1
haddpd xmm3, xmm3
lea r8, [rcx - 1]
movq xmm4, r8
punpckldq xmm4, xmm0
subpd xmm4, xmm1
haddpd xmm4, xmm4
addsd xmm4, xmm4
addsd xmm4, xmm3
addsd xmm4, xmm2
cvttsd2si r8d, xmm4
mov dword [rdx + rcx*4], r8d
dec rax
inc rcx
cmp rcx, 3
jne 0x1400670c3
mov rax, qword [rsi + 8]
cmp rax, qword [rsi]
je 0x1400673a1
mov dword [rax - 4], 0x7fffffff
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
je 0x14006730d
mov rdx, rcx
shr rdx, 2
xor r8d, r8d
lea r9, [0x140126870]
movzx r10d, dl
movzx r11d, byte [rax + r8]
xor r11d, r10d
shr edx, 8
xor edx, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x140067156
jmp 0x140066dc7
lea rcx, [rsp + 0x20]
call qword [0x140159008]
mov rsi, rax
jmp 0x140066dca
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
lea rdx, [rcx - 1]
mov qword [rsp + 0x40], rdx
mov rdx, qword [rax]
mov r8, qword [rax + 8]
sub r8, rdx
cmp r8, 4
jbe 0x1400673b7
mov edx, dword [rdx + 4]
mov dword [rsp + 0x34], edx
lea r8, [rcx - 2]
mov rdx, qword [rax]
mov r9, qword [rax + 8]
sub r9, rdx
sar r9, 2
cmp r9, r8
jbe 0x1400673ba
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0x38], ecx
jmp 0x140066dde
xor eax, eax
xor r8d, r8d
jmp 0x140066ef7
int3
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400671ea
movzx ecx, byte [rax + 0x17]
test cl, cl
jns 0x140067225
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
test rax, rax
js 0x1400673bd
je 0x14006722f
test rcx, rcx
jne 0x14006722f
jmp 0x1400673c0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x68]
call fcn.140067eb0
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140004a40
call fcn.1400cd620
mov rsi, rax
jmp 0x140066968
lea rdx, [0x14011c640]
mov rcx, rsi
xor r8d, r8d
xor r9d, r9d
call fcn.1400cf1f2
jmp 0x140066b84
mov rcx, rsi
xor edx, edx
call fcn.1400ce91a
jmp 0x140066bd2
lea rcx, [0x14014d970]
call fcn.14008a2d0
test al, al
je 0x1400673c3
mov qword [0x14014d978], 0
lea rsi, [0x14014d978]
mov qword [0x14014d970], rsi
jmp 0x140066b60
int3
int3
int3
call fcn.14005f0c0
jmp 0x140066989
int3
int3
int3
mov rcx, rsi
call fcn.14005e790
jmp 0x140066833
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14006695f
jmp 0x1400671ed
int3
int3
mov rcx, rsi
call qword [0x140159008]
test al, al
jne 0x140066968
jmp 0x1400671ed
int3
int3
xor edx, edx
jmp 0x140066dc7
int3
int3
int3
int3
int3
int3
mov rdi, qword [r8 + 8]
test rdi, rdi
je 0x140066e22
lea rbx, [rsi + 0x28]
xor r13d, r13d
lea r14, [rsp + 0x68]
lea r15, [rsp + 0x60]
add r8, r13
mov qword [rsp + 0x60], r8
mov rcx, rbx
mov rdx, r14
mov r9, r15
call fcn.140036700
mov rcx, qword [rsp + 0x68]
add rcx, 0x28
mov rdx, rdi
call fcn.1400965e0
mov r8, qword [rsp + 0x50]
mov rdi, qword [r8 + r13 + 0x18]
add r13, 0x10
test rdi, rdi
jne 0x140067344
jmp 0x140066e22
bswap edi
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov edx, edi
call qword [0x140159008]
mov ebx, eax
jmp 0x140066ba2
int3
int3
int3
lea rcx, [rsp + 0x20]
mov rdx, rsi
call qword [0x140159008]
jmp 0x140066e22
int3
int3
int3
int3
mov rsi, qword [0x14014d970]
jmp 0x140066b60