Function at 0x1400eb8f0
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, 0x178
movapd xmmword [rsp + 0x160], xmm8
movdqa xmmword [rsp + 0x150], xmm7
movapd xmmword [rsp + 0x140], xmm6
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rcx, rcx
je 0x1400ec5e4
mov rbx, r9
mov r14d, r8d
mov ebp, edx
mov rsi, rcx
call fcn.14014a8a0
mov rdi, rax
cmp r14d, 1
setne al
cmp rbx, 2
setne cl
or cl, al
je 0x1400ec5f7
cmp r14d, ebp
setge r15b
jl 0x1400ec5b6
mov eax, r14d
mov r14d, ebp
test r14d, r14d
jle 0x1400ec393
cmp eax, 0x7fffffff
je 0x1400ec5bd
mov ebp, eax
cmp rbx, 0x3eb
jae 0x1400ec53e
cmp ebp, r14d
je 0x1400ec607
cmp rbx, 3
jb 0x1400ec626
mov eax, ebp
sub eax, r14d
add eax, 2
cdqe
cmp rbx, rax
setbe al
test r15b, al
je 0x1400ec626
mov eax, dword [rsp + 0x1e0]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x6c], r14d
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x80], eax
lea r13, [0x1401ff7c0]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x88], 0
xorps xmm0, xmm0
lea rbx, [rsp + 0xe8]
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 [0x14020f520]
movupd xmmword [rbx - 0x18], xmm0
test rdi, rdi
je 0x1400eba77
lea eax, [rdi*8]
mov rcx, rdi
shr rcx, 0x1d
mov dword [rsp + 0xe4], ecx
mov dword [rsp + 0xe0], eax
mov r8, rdi
cmp rdi, 0x40
jae 0x1400ec2ea
mov dword [rsp + 0x128], edi
mov rcx, rbx
mov rdx, rsi
call fcn.14012dd60
mov eax, dword [rsp + 0x128]
lea rcx, [rax + 1]
mov edi, dword [rsp + 0xe0]
mov ebp, dword [rsp + 0xe4]
mov byte [rsp + rax + 0xe8], 0x80
cmp rax, 0x38
jae 0x1400ec2b6
cmp rcx, 0x38
je 0x1400ebabb
mov r8d, 0x38
sub r8, rcx
add rcx, rbx
xor edx, edx
call fcn.14012e410
lea rsi, [rsp + 0xd0]
mov dword [rsi + 0x50], edi
mov dword [rsi + 0x54], ebp
mov r8d, 1
mov rcx, rsi
mov rdx, rbx
call fcn.140079280
mov rsi, qword [rsi]
mov rbx, qword [0x140243b30]
test rbx, rbx
je 0x1400ebb78
mov ebp, dword [rbx + 0x50]
movabs r14, 0xaaaaaaaaaaaaaaaa
mov r15d, 0xaaaaaaab
mov qword [rsp + 0xd0], r14
mov edx, dword [rbx + 0x6c]
mov eax, dword [rbx + 0x68]
mov rcx, qword [rbx + 0x60]
cmp eax, 0x30
je 0x1400ec386
lea r10d, [rax + 0x10]
cmp r10d, 0x50
jb 0x1400ebb78
mov r9d, eax
mov r8d, r9d
and r8d, 7
jne 0x1400ebb78
mov r8d, dword [rcx + 0x14]
cmp r8d, r10d
jb 0x1400ebb78
mov rcx, qword [rcx + 8]
mov r10d, dword [rcx + r9 + 4]
cmp r10d, 0xc8799269
jne 0x1400ebb78
add rcx, r9
mov r9d, dword [rcx]
cmp r9d, 0x10
jb 0x1400ebb78
mov r9d, dword [rcx]
add r9d, eax
jb 0x1400ebb78
cmp r9d, r8d
ja 0x1400ebb78
test rcx, rcx
je 0x1400ebb78
mov r8d, dword [rcx + 0xc]
cmp r8d, 0x30
jne 0x1400ebdef
mov rdi, qword [0x140243af0]
cmp rdi, 1
jbe 0x1400ec3fd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400ec378
lea rbp, [rsp + 0x58]
mov rbx, qword [0x140243b00]
test rbx, rbx
je 0x1400ebf2f
mov rax, qword [0x140243af0]
cmp rax, 1
jbe 0x1400ec42f
mov r8, qword [rbx + 8]
test r8, r8
je 0x1400ebf2f
bswap rsi
mov rax, r8
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, r8
sub rax, rcx
movabs rcx, 0x3333333333333333
mov rdx, rax
and rdx, rcx
shr rax, 2
and rax, rcx
add rax, rdx
mov rcx, rax
shr rcx, 4
add rcx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rcx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x1400ec3ab
mov rcx, rsi
cmp rsi, r8
jb 0x1400ebc49
mov rax, rsi
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [rbx]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400ebf2f
mov r10, qword [rax]
test r10, r10
je 0x1400ebf2f
mov rax, qword [r10 + 8]
cmp rsi, rax
jne 0x1400ebdc7
cmp qword [r10 + 0x10], rsi
jne 0x1400ebde7
mov rsi, qword [r10 + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rsi, rsi
je 0x1400ebf38
mov edi, dword [rsp + 0x68]
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x140127b80]
cmp rax, rdx
jne 0x1400ebd98
cmp edi, ecx
jne 0x1400ec50d
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x1400ebd31
mov edx, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x70]
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x140093ce0]
cmp rax, rcx
jne 0x1400ec4fc
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 0x1400ec50d
cmp r11, 2
jb 0x1400ec613
cmp r10, 1
jbe 0x1400ec5d1
cmp dword [rax + 4], edx
jne 0x1400ec50d
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x1400ec50d
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x88]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x140233688]
je 0x1400ec5c7
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14012c2d0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
movaps xmm8, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x1400adc80]
cmp rax, rdx
je 0x1400ebcaf
mov ecx, 2
lea rdx, [0x140093d50]
cmp rax, rdx
je 0x1400ebcaf
jmp 0x1400ec3ed
cmp r9d, 1
jbe 0x1400ec3b7
cmp rax, r8
jb 0x1400ebdde
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x1400ebf2f
mov r10, qword [r10]
jmp 0x1400ebc5c
mov rcx, qword [rbx + 0x60]
lea r9d, [r8 + 0x10]
cmp r9d, 0x50
jb 0x1400ec4f0
mov r10d, r8d
and r10d, 7
jne 0x1400ec4f0
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x1400ec4f0
mov r9, qword [rcx + 8]
mov r11d, dword [r9 + r8 + 4]
cmp r11d, 0xc8799269
jne 0x1400ec4f0
add r9, r8
mov r11d, dword [r9]
cmp r11d, 0x10
jb 0x1400ec4f0
mov r11d, dword [r9]
add r11d, r8d
setb dil
test r9, r9
je 0x1400ec4f0
test dil, dil
jne 0x1400ec4f0
cmp r11d, r10d
ja 0x1400ec4f0
lock cmpxchg dword [rbx + 0x68], r8d
jne 0x1400ebb0e
mov eax, dword [r9 + 8]
mov rcx, qword [rbx + 0x60]
mov r9, qword [rcx + 8]
mov r9d, dword [r9 + 0x28]
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
cmovb r9d, r10d
imul r9, r15
shr r9, 0x24
cmp edx, r9d
ja 0x1400ec4f0
lock inc dword [rbx + 0x6c]
cmp eax, 0xf1645913
jne 0x1400ebb08
cmp r8d, ebp
je 0x1400ebb08
jmp 0x1400ec31a
lea rcx, [0x140167ad0]
cmp rax, rcx
jne 0x1400ec3da
mov ecx, 0x20
call fcn.1401298a8
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.1400adc90
mov ecx, 1
mov edx, 2
jmp 0x1400ebf22
lea rcx, [0x1401861d0]
cmp rax, rcx
jne 0x1400ebebb
mov ecx, 0x20
call fcn.1401298a8
mov rsi, rax
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rax
call fcn.1400adc90
mov ecx, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x70]
mov r8, rsi
call fcn.1400ae1f0
jmp 0x1400ec121
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movupd xmm0, xmmword [rbp]
lea rcx, [rsp + 0xb0]
movapd xmmword [rcx], xmm0
call fcn.140003620
test al, al
je 0x1400ec531
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
lea rcx, [0x140185fc0]
cmp rax, rcx
jne 0x1400ebef1
mov ecx, 0x20
call fcn.1401298a8
mov rsi, rax
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rax
call fcn.1400adc90
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x70]
call fcn.14015aa40
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x1400ec5a3
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 0x1400ec09a
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r15d, 2
lea rdi, [rsp + 0xd0]
movq xmm7, qword [0x140204110]
movapd xmm8, xmmword [0x140204120]
nop dword [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.14015aa40
movsd qword [rsp + 0xd0], xmm0
mov rcx, rdi
call fcn.1400c7300
mov r12, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r12
sar rax, 2
cmp rax, r15
jbe 0x1400ec5a3
movsd xmm1, qword [rsp + 0xd0]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, rbx
punpckldq xmm2, xmm7
subpd xmm2, xmm8
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.140160dd0
call fcn.140160d60
cvttsd2si eax, xmm0
cmp r14d, eax
lea ecx, [r14 + 1]
cmovl ecx, eax
mov dword [r12 + r15*4], ecx
inc r15
mov r14d, ecx
dec rbx
jne 0x1400ec000
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rax, rcx
je 0x1400ec5a3
mov dword [rax - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rcx, rax
sub rcx, r8
je 0x1400ec655
js 0x1400ec65c
test cl, 1
jne 0x1400ec3c3
shr rcx, 2
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1400ec11e
lea r8, [0x140210390]
nop word cs:[rax + rax]
movzx r9d, cl
movzx r10d, byte [rdx]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, cl
movzx r10d, byte [rdx + 1]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x1400ec0f0
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.1400aeb90
mov rsi, rax
cmp qword [rsp + 0x78], 0
je 0x1400ec461
mov dword [rsp + 0xac], 0
mov rdi, qword [0x140243b30]
test rdi, rdi
je 0x1400ec4b8
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x6c]
movupd xmm0, xmmword [rbp]
lea r9, [rsp + 0x90]
movapd xmmword [r9], xmm0
lea r10, [rsp + 0xac]
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 + 0xd0]
mov rcx, rdi
mov rdx, rbx
call fcn.1400adea0
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400ec4b8
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.140167f50]
cmp rax, rcx
jne 0x1400ec1f9
mov rcx, rbx
call fcn.1400ae3c0
mov rsi, rax
mov edx, dword [rsp + 0xac]
test edx, edx
je 0x1400ebc92
cmp rsi, rbx
sete r8b
mov rcx, rdi
call fcn.1400add30
jmp 0x1400ebc92
lea rcx, [0x140186210]
cmp rax, rcx
jne 0x1400ec65f
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [0x140223bc8]
cmp eax, 5
je 0x1400ec1cb
mov r8, qword [rsp + 0x88]
test r8, r8
je 0x1400ec1cb
mov rsi, qword [r8 + 8]
test rsi, rsi
je 0x1400ec1cb
lea r14, [rbx + 0x28]
mov r15d, 0x10
lea r12, [rsp + 0xc8]
mov qword [rsp + 0xc8], r8
mov rcx, r14
lea rdx, [rsp + 0xd0]
mov r9, r12
call fcn.1401862d0
mov rcx, qword [rsp + 0xd0]
add rcx, 0x28
mov rdx, rsi
call fcn.140117950
mov r8, qword [rsp + 0x88]
mov rsi, qword [r8 + r15 + 8]
add r8, r15
add r15, 0x10
test rsi, rsi
jne 0x1400ec246
jmp 0x1400ec1cb
mov byte [rcx + 4], 0
mov dword [rcx], 0
jmp 0x1400ec2cd
cmp eax, 0x3a
je 0x1400ec293
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.14012e410
jmp 0x1400ec2cd
cmp eax, 0x3f
je 0x1400ec2cd
add rcx, rbx
cmp rax, 0x3c
jne 0x1400ec29f
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xd0]
mov r8d, 1
mov rdx, rbx
call fcn.140079280
xor ecx, ecx
jmp 0x1400ebaa8
shr r8, 6
lea rcx, [rsp + 0xd0]
mov rdx, rsi
call fcn.140079280
mov r8, rdi
and r8, 0x3f
je 0x1400eba77
and rdi, 0xffffffffffffffc0
add rsi, rdi
mov edi, r8d
jmp 0x1400eba65
mov rcx, qword [rbx + 0x58]
lea rdi, [rsp + 0xd0]
mov rdx, rdi
call fcn.140003cd0
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400ebb78
xor edi, edi
mov qword [rsp + 0xd0], rdi
call fcn.1400ae3c0
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], rdi
test rcx, rcx
je 0x1400ebb00
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x140223bc8]
jmp 0x1400ebb00
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400ebb9a
mov rcx, qword [rcx + 8]
add rcx, 0x30
jmp 0x1400ebb65
mov r14d, 1
mov ebp, 1
test eax, eax
jg 0x1400eb97f
jmp 0x1400eb98c
lea rcx, [r8 - 1]
and rcx, rsi
jmp 0x1400ebc49
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x1400ebdde
movzx ecx, byte [r8]
lea rdx, [0x140210390]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r8 + 1]
jmp 0x1400ec0d3
lea rcx, [rsp + 0x50]
call qword [0x140223bc8]
mov rsi, rax
jmp 0x1400ec121
mov rcx, rsi
call qword [0x140223bc8]
mov ecx, eax
jmp 0x1400ebcaf
lea rcx, [0x140243af0]
call fcn.140003e90
test al, al
je 0x1400ec672
mov qword [0x140243af8], 0
lea rdi, [0x140243af8]
mov qword [0x140243af0], rdi
jmp 0x1400ebb89
lea rcx, [0x140243af0]
call fcn.140003e90
test al, al
je 0x1400ec67e
mov qword [0x140243af8], 0
lea rax, [0x140243af8]
mov qword [0x140243af0], rax
jmp 0x1400ebbc0
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 0x1400ec5d1
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 0x1400ec5d1
mov eax, dword [rcx + rax*4 - 8]
mov dword [rsp + 0x70], eax
jmp 0x1400ec138
lea r14, [rsp + 0x50]
and byte [r14 + 0x30], 0xbf
mov rax, qword [r14]
mov rax, qword [rax + 8]
lea rbx, [rsp + 0xd0]
mov rcx, r14
mov rdx, rbx
mov r8, rsi
call qword [0x140223bc8]
mov rbx, qword [rbx]
mov eax, dword [r14 + 0x30]
lock or dword [rbx + 0x10], eax
jmp 0x1400ec1b6
mov dl, 1
call fcn.140164510
jmp 0x1400ebb78
mov rcx, rsi
call qword [0x140223bc8]
test al, al
jne 0x1400ebd31
movupd xmm0, xmmword [rbp]
lea rcx, [rsp + 0xd0]
movapd xmmword [rcx], xmm0
call fcn.1400b2630
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.1400b2b30
call fcn.1401632f0
mov rsi, rax
jmp 0x1400ebd31
lea rcx, [rsp + 0xd0]
mov qword [rcx], rsi
mov qword [rcx + 8], rdi
call fcn.1400b2630
lea rcx, str.Histogram.TooManyBuckets.1000
mov edx, eax
call fcn.1400b2b30
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
lea rcx, [rsp + 0xb0]
mov qword [rcx], rsi
mov qword [rcx + 8], rdi
xor r8d, r8d
call fcn.140116320
test al, al
jne 0x1400eb999
mov ebx, 0x66
xor r15d, r15d
jmp 0x1400eb999
lea rcx, [0x14020233c]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140163630
mov eax, ebp
jmp 0x1400eb976
mov ebp, 0x7ffffffe
jmp 0x1400eb98c
call fcn.1400980c0
jmp 0x1400ebd58
lea rcx, [0x14020233c]
lea rdx, str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140163630
lea rcx, [0x14020233c]
lea rdx, str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140163630
mov r14d, 2
mov ebx, 3
jmp 0x1400eb963
lea ebp, [r14 + 1]
xor r15d, r15d
jmp 0x1400eb9a2
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x1400ebd28
jmp 0x1400ec50d
lea rcx, [rsp + 0x90]
mov qword [rcx], rsi
mov qword [rcx + 8], rdi
call fcn.1400b2630
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.1400b2b30
call fcn.1401632f0
mov rsi, rax
jmp 0x1400ebd58
xor ecx, ecx
jmp 0x1400ec11e
int3
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [0x140223bc8]
jmp 0x1400ec1cb
mov rdi, qword [0x140243af0]
jmp 0x1400ebb89
mov rax, qword [0x140243af0]
jmp 0x1400ebbc0