Function at 0x1401124b0
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 rdi, r9
mov rax, r8
mov r8, rdx
mov rsi, rcx
mov rcx, qword [0x1402b3040]
xor rcx, rsp
mov qword [rsp + 0x128], rcx
movsx rcx, byte [rsi + 0x17]
test rcx, rcx
jns 0x1401131d9
mov r14, qword [rsi + 8]
test cl, cl
jns 0x140112516
mov rsi, qword [rsi]
test r14, r14
js 0x140113226
sete cl
test rsi, rsi
setne dl
or dl, cl
je 0x140113239
movabs r15, 0x7fffffffffffffff
lea rdx, [rax + r15]
add rdx, 2
movabs rcx, 0x20c49ba5e353f7cf
cmp rdx, 2
jb 0x14011326a
imul rcx
mov rbx, rdx
mov rax, rdx
shr rax, 0x3f
sar rbx, 7
add rbx, rax
lea rax, [r15 + r8]
add rax, 2
cmp rax, 2
jb 0x14011327a
mov rax, r8
imul rcx
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
cmp edx, ebx
setle bpl
jg 0x1401131e1
mov eax, ebx
mov ebx, edx
test ebx, ebx
jle 0x140112fb6
cmp eax, 0x7fffffff
je 0x1401131e8
mov r12d, eax
cmp rdi, 0x3eb
jae 0x140113162
cmp r12d, ebx
je 0x14011324c
cmp rdi, 3
jb 0x140113206
mov eax, r12d
sub eax, ebx
add eax, 2
cdqe
cmp rdi, rax
setbe al
test bpl, al
je 0x140113206
mov eax, dword [rsp + 0x1d0]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r14
lea rcx, [0x1402717e0]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x10c], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movapd xmm0, xmmword [0x1402821a0]
movupd xmmword [rsp + 0xc0], xmm0
lea rdi, [rsp + 0xd8]
test r14, r14
je 0x1401126ac
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0xd4], ecx
mov dword [rsp + 0xd0], eax
mov r8, r14
cmp r14, 0x40
jae 0x140112f0a
mov dword [rsp + 0x118], r14d
mov rcx, rdi
mov rdx, rsi
call fcn.1401cd6f0
mov eax, dword [rsp + 0x118]
lea rcx, [rax + 1]
mov esi, dword [rsp + 0xd0]
mov ebx, dword [rsp + 0xd4]
mov byte [rsp + rax + 0xd8], Ordinal_133
cmp rax, 0x38
jae 0x140112ed6
cmp rcx, 0x38
je 0x1401126f0
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401cdd90
mov dword [rsp + 0x110], esi
mov dword [rsp + 0x114], ebx
lea rcx, [rsp + 0xc0]
mov r8d, 1
mov rdx, rdi
call fcn.140079480
mov rsi, qword [rsp + 0xc0]
mov rbx, qword [0x1402c5e10]
test rbx, rbx
je 0x1401127b7
mov ebp, dword [rbx + 0x50]
movabs r14, 0xaaaaaaaaaaaaaaaa
mov r15d, 0xaaaaaaab
mov qword [rsp + 0xc0], r14
mov edx, dword [rbx + 0x6c]
mov eax, dword [rbx + 0x68]
mov rcx, qword [rbx + 0x60]
cmp eax, 0x30
je 0x140112fa9
lea r10d, [rax + 0x10]
cmp r10d, 0x50
jb 0x1401127b7
mov r9d, eax
mov r8d, r9d
and r8d, 7
jne 0x1401127b7
mov r8d, dword [rcx + 0x14]
cmp r8d, r10d
jb 0x1401127b7
mov rcx, qword [rcx + 8]
mov r10d, dword [rcx + r9 + 4]
cmp r10d, 0xc8799269
jne 0x1401127b7
add rcx, r9
mov r9d, dword [rcx]
cmp r9d, 0x10
jb 0x1401127b7
mov r9d, dword [rcx]
add r9d, eax
jb 0x1401127b7
cmp r9d, r8d
ja 0x1401127b7
test rcx, rcx
je 0x1401127b7
mov r8d, dword [rcx + 0xc]
cmp r8d, 0x30
jne 0x140112a07
mov rdi, qword [0x1402c5dd0]
cmp rdi, 1
jbe 0x140113020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140112f9b
lea r13, [rsp + 0x50]
mov rbx, qword [0x1402c5de0]
test rbx, rbx
je 0x140112b47
mov rax, qword [0x1402c5dd0]
cmp rax, 1
jbe 0x140113052
mov r8, qword [rbx + 8]
test r8, r8
je 0x140112b47
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 0x140112fce
mov rcx, rsi
cmp rsi, r8
jb 0x140112888
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 0x140112b47
mov r10, qword [rax]
test r10, r10
je 0x140112b47
mov rax, qword [r10 + 8]
cmp rsi, rax
jne 0x1401129df
cmp qword [r10 + 0x10], rsi
jne 0x1401129ff
mov rsi, qword [r10 + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rsi, rsi
je 0x140112b50
mov edi, dword [rsp + 0x60]
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14018d890]
cmp rax, rdx
jne 0x1401129b0
cmp edi, ecx
jne 0x140113124
mov r9, qword [rsp + 0x70]
test r9, r9
je 0x140112970
mov edx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x68]
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x14009e520]
cmp rax, rcx
jne 0x140113113
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 0x140113124
cmp r11, 2
jb 0x140113257
cmp r10, 1
jbe 0x1401131f3
cmp dword [rax + 4], edx
jne 0x140113124
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x140113124
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140191d80
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, [0x1401132c0]
cmp rax, rdx
je 0x1401128ee
mov ecx, 2
lea rdx, [0x14009e590]
cmp rax, rdx
je 0x1401128ee
jmp 0x140113010
cmp r9d, 1
jbe 0x140112fda
cmp rax, r8
jb 0x1401129f6
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x140112b47
mov r10, qword [r10]
jmp 0x14011289b
mov rcx, qword [rbx + 0x60]
lea r9d, [r8 + 0x10]
cmp r9d, 0x50
jb 0x140113156
mov r10d, r8d
and r10d, 7
jne 0x140113156
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x140113156
mov r9, qword [rcx + 8]
mov r11d, dword [r9 + r8 + 4]
cmp r11d, 0xc8799269
jne 0x140113156
add r9, r8
mov r11d, dword [r9]
cmp r11d, 0x10
jb 0x140113156
mov r11d, dword [r9]
add r11d, r8d
setb dil
test r9, r9
je 0x140113156
test dil, dil
jne 0x140113156
cmp r11d, r10d
ja 0x140113156
lock cmpxchg dword [rbx + 0x68], r8d
jne 0x14011274d
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 0x140113156
lock inc dword [rbx + 0x6c]
cmp eax, 0xf1645913
jne 0x140112747
cmp r8d, ebp
je 0x140112747
jmp 0x140112f3d
lea rcx, [0x1401d2f60]
cmp rax, rcx
jne 0x140112ffd
mov ecx, 0x20
call fcn.14018f5b8
mov rsi, rax
mov edx, 4
mov rcx, rax
call fcn.1401132d0
mov ecx, 1
mov edx, 2
jmp 0x140112b3a
lea rcx, [0x1401f8250]
cmp rax, rcx
jne 0x140112ad3
mov ecx, 0x20
call fcn.14018f5b8
mov rsi, rax
mov rdx, qword [rsp + 0x70]
inc rdx
mov rcx, rax
call fcn.1401132d0
mov ecx, dword [rsp + 0x64]
mov edx, dword [rsp + 0x68]
mov r8, rsi
call fcn.140113a60
jmp 0x140112d41
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movupd xmm0, xmmword [r13]
lea rcx, [rsp + 0xa0]
movapd xmmword [rcx], xmm0
call fcn.140113590
mov ecx, eax
call fcn.140113370
test al, al
je 0x140113149
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
lea rcx, [0x1401f8040]
cmp rax, rcx
jne 0x140112b09
mov ecx, 0x20
call fcn.14018f5b8
mov rsi, rax
mov rdx, qword [rsp + 0x70]
inc rdx
mov rcx, rax
call fcn.1401132d0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x68]
call fcn.1401c42f0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x1401131c6
mov r14d, dword [rsp + 0x64]
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 0x140112cba
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r15d, 2
lea rdi, [rsp + 0xc0]
movq xmm7, qword [0x140276270]
movapd xmm8, xmmword [0x140276280]
nop dword [rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.1401c42f0
movsd qword [rsp + 0xc0], xmm0
mov rcx, rdi
call fcn.14012aea0
mov r12, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r12
sar rax, 2
cmp rax, r15
jbe 0x1401131c6
movsd xmm1, qword [rsp + 0xc0]
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.1401cb850
call fcn.1401cb7e0
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 0x140112c20
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
cmp rax, rcx
je 0x1401131c6
mov dword [rax - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rcx, rax
sub rcx, r8
je 0x14011328a
js 0x140113291
test cl, 1
jne 0x140112fe6
shr rcx, 2
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x140112d3e
lea r8, [0x140282ff0]
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 0x140112d10
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140114400
mov rsi, rax
cmp qword [rsp + 0x70], 0
je 0x140113084
mov dword [rsp + 0x9c], 0
mov rdi, qword [0x1402c5e10]
test rdi, rdi
je 0x1401130db
mov eax, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x64]
movupd xmm0, xmmword [r13]
lea r9, [rsp + 0x80]
movapd xmmword [r9], xmm0
lea r10, [rsp + 0x9c]
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 + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.140113710
mov rbx, qword [rbx]
test rbx, rbx
je 0x1401130db
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1401d3600]
cmp rax, rcx
jne 0x140112e17
mov rcx, rbx
call fcn.140113c30
mov rsi, rax
mov edx, dword [rsp + 0x9c]
test edx, edx
je 0x1401128d1
cmp rsi, rbx
sete r8b
mov rcx, rdi
call fcn.140113420
jmp 0x1401128d1
lea rcx, [0x1401f8290]
cmp rax, rcx
jne 0x140113294
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
call qword [0x1402a3e88]
cmp eax, 5
je 0x140112de9
mov r8, qword [rsp + 0x80]
test r8, r8
je 0x140112de9
mov rsi, qword [r8 + 8]
test rsi, rsi
je 0x140112de9
lea r14, [rbx + 0x28]
mov ebp, 0x10
lea r15, [rsp + 0xc0]
lea r12, [rsp + 0xb8]
mov qword [rsp + 0xb8], r8
mov rcx, r14
mov rdx, r15
mov r9, r12
call fcn.1401f8350
mov rcx, qword [rsp + 0xc0]
add rcx, 0x28
mov rdx, rsi
call fcn.14017d090
mov r8, qword [rsp + 0x80]
mov rsi, qword [r8 + rbp + 8]
add r8, rbp
add rbp, 0x10
test rsi, rsi
jne 0x140112e6b
jmp 0x140112de9
mov byte [rcx + 4], 0
mov dword [rcx], 0
jmp 0x140112eed
cmp eax, 0x3a
je 0x140112eb3
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1401cdd90
jmp 0x140112eed
cmp eax, 0x3f
je 0x140112eed
add rcx, rdi
cmp rax, 0x3c
jne 0x140112ebf
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xc0]
mov r8d, 1
mov rdx, rdi
call fcn.140079480
xor ecx, ecx
jmp 0x1401126dd
shr r8, 6
lea rcx, [rsp + 0xc0]
mov rdx, rsi
call fcn.140079480
mov r8, r14
and r8, 0x3f
je 0x1401126ac
add r15, 0xffffffffffffffc1
and r14, r15
add rsi, r14
mov r14d, r8d
jmp 0x140112699
mov rcx, qword [rbx + 0x58]
lea rdi, [rsp + 0xc0]
mov rdx, rdi
call fcn.140003c00
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401127b7
xor edi, edi
mov qword [rsp + 0xc0], rdi
call fcn.140113c30
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], rdi
test rcx, rcx
je 0x14011273f
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1402a3e88]
jmp 0x14011273f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1401127d9
mov rcx, qword [rcx + 8]
add rcx, 0x30
jmp 0x1401127a4
mov ebx, 1
mov r12d, 1
test eax, eax
jg 0x1401125a8
jmp 0x1401125b6
lea rcx, [r8 - 1]
and rcx, rsi
jmp 0x140112888
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x1401129f6
movzx ecx, byte [r8]
lea rdx, [0x140282ff0]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r8 + 1]
jmp 0x140112cf3
lea rcx, [rsp + 0x48]
call qword [0x1402a3e88]
mov rsi, rax
jmp 0x140112d41
mov rcx, rsi
call qword [0x1402a3e88]
mov ecx, eax
jmp 0x1401128ee
lea rcx, [0x1402c5dd0]
call fcn.140003dc0
test al, al
je 0x1401132a7
mov qword [0x1402c5dd8], 0
lea rdi, [0x1402c5dd8]
mov qword [0x1402c5dd0], rdi
jmp 0x1401127c8
lea rcx, [0x1402c5dd0]
call fcn.140003dc0
test al, al
je 0x1401132b3
mov qword [0x1402c5dd8], 0
lea rax, [0x1402c5dd8]
mov qword [0x1402c5dd0], rax
jmp 0x1401127ff
mov rax, qword [rsi + 8]
sub rax, qword [rsi]
sar rax, 2
lea rcx, [rax - 1]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rcx
cmp rdx, 4
jbe 0x1401131f3
mov ecx, dword [rcx + 4]
mov dword [rsp + 0x64], ecx
lea rdx, [rax - 2]
mov rcx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rcx
sar r8, 2
cmp r8, rdx
jbe 0x1401131f3
mov eax, dword [rcx + rax*4 - 8]
mov dword [rsp + 0x68], eax
jmp 0x140112d58
lea r14, [rsp + 0x48]
and byte [r14 + 0x30], 0xbf
mov rax, qword [r14]
mov rax, qword [rax + 8]
lea rbx, [rsp + 0xc0]
mov rcx, r14
mov rdx, rbx
mov r8, rsi
call qword [0x1402a3e88]
mov rbx, qword [rbx]
mov eax, dword [r14 + 0x30]
lock or dword [rbx + 0x10], eax
jmp 0x140112dd4
mov rcx, rsi
call qword [0x1402a3e88]
test al, al
jne 0x140112970
movupd xmm0, xmmword [r13]
lea rcx, [rsp + 0xc0]
movapd xmmword [rcx], xmm0
call fcn.140117eb0
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.1401183b0
call fcn.1401ce7c0
mov rsi, rax
jmp 0x140112970
mov dl, 1
call fcn.1401cf840
jmp 0x1401127b7
lea rcx, [rsp + 0xc0]
mov qword [rcx], rsi
mov qword [rcx + 8], r14
call fcn.140117eb0
lea rcx, str.Histogram.TooManyBuckets.1000
mov edx, eax
call fcn.1401183b0
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x48]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
lea rcx, [rsp + 0xa0]
mov qword [rcx], rsi
mov qword [rcx + 8], r14
xor r8d, r8d
call fcn.14017ba60
test al, al
jne 0x1401125c3
mov edi, 0x66
xor ebp, ebp
jmp 0x1401125c3
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceb00
mov r14, rcx
jmp 0x14011250f
mov eax, edx
jmp 0x1401125a0
mov r12d, 0x7ffffffe
jmp 0x1401125b6
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceb00
lea rcx, [rsp + 0x80]
mov qword [rcx], rsi
mov qword [rcx + 8], r14
call fcn.140117eb0
lea rcx, str.Histogram.BadConstructionArguments
jmp 0x140113142
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401ceb00
lea r12d, [rbx + 1]
xor ebp, ebp
jmp 0x1401125cc
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x140112967
jmp 0x140113124
lea rbx, [r15 + 1]
test rax, rax
cmovns rbx, r15
jmp 0x14011256a
lea rdx, [r15 + 1]
test r8, r8
cmovns rdx, r15
jmp 0x140112590
xor ecx, ecx
jmp 0x140112d3e
int3
lea rcx, [rsp + 0x48]
mov rdx, rbx
call qword [0x1402a3e88]
jmp 0x140112de9
mov rdi, qword [0x1402c5dd0]
jmp 0x1401127c8
mov rax, qword [0x1402c5dd0]
jmp 0x1401127ff