Function at 0x14007f200
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], xmm10
movapd xmmword [rsp + 0x140], xmm9
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 [0x140114040]
xor rax, rsp
mov qword [rsp + 0x108], rax
cmp r8d, 1
jne 0x14007f26e
cmp rsi, 2
je 0x14007ffe3
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x70], xmm0
mov bpl, 1
cmp edi, edx
jl 0x14007ff7d
mov eax, edi
mov edi, edx
test edi, edi
jle 0x14007fc5d
cmp eax, 0x7fffffff
je 0x14007ff62
mov r12d, eax
cmp rsi, 0x3eb
jae 0x14007fd9f
cmp r12d, edi
je 0x14007ff86
cmp rsi, 3
jb 0x14007ffb1
test bpl, bpl
je 0x14007ffb1
mov eax, r12d
sub eax, edi
add eax, 2
cdqe
cmp rsi, rax
ja 0x14007ffb1
mov r14, qword [rsp + 0x1d8]
mov eax, dword [rsp + 0x1d0]
movupd xmm0, xmmword [rbx]
movupd xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], edi
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], eax
lea r15, fcn.14005ceb0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x68], 0
mov rax, qword [0x1401165a0]
and rax, r14
cmp rax, qword [0x140116588]
je 0x14007ff91
mov qword [rsp + 0x68], r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorpd xmm0, xmm0
lea rsi, [rsp + 0xb8]
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 xmm6, xmmword [0x1400fd870]
movupd xmmword [rsi - 0x18], xmm6
test rbx, rbx
je 0x14007f3b8
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007f732
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
call fcn.1400c3c30
mov eax, dword [rsp + 0xf8]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0xb0]
mov ebp, dword [rsp + 0xb4]
mov byte [rsp + rax + 0xb8], 0x80
cmp rax, 0x38
jae 0x14007f6ff
cmp rcx, 0x38
je 0x14007f3fc
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400c42d0
lea rdi, [rsp + 0xa0]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140034940
mov r14, qword [rdi]
mov rdi, qword [0x140125a28]
cmp rdi, 1
jbe 0x14007fc95
mov rax, qword [0x1401165a0]
and rax, rdi
cmp rax, qword [0x140116588]
jne 0x14007f44a
mov rcx, rdi
call fcn.1400562e0
test rdi, rdi
je 0x14007ff6d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14007fc10
mov rbx, qword [0x140125a38]
test rbx, rbx
je 0x14007f6bf
mov rax, qword [0x140125a28]
cmp rax, 1
jbe 0x14007fcc7
mov r8, qword [rbx + 8]
test r8, r8
je 0x14007f6bf
bswap r14
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 r10, 0x101010101010101
imul r10, rax
shr r10, 0x38
cmp r10, 1
jbe 0x14007fc51
mov rcx, r14
cmp r14, r8
jb 0x14007f50e
mov rax, r14
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [rbx]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14007f6bf
mov r9, qword [rax]
test r9, r9
je 0x14007f6bf
cmp r10d, 2
jb 0x14007fc1e
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007f6c6
cmp qword [r9 + 0x10], r14
jne 0x14007f6dc
mov rbx, qword [r9 + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401165a0]
and rax, rdi
cmp rax, qword [0x140116588]
jne 0x14007f575
mov rcx, rdi
call fcn.1400565a0
test rbx, rbx
je 0x14007f799
mov esi, dword [rsp + 0x48]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x1400909e0]
cmp rax, rdx
jne 0x14007f690
cmp esi, ecx
jne 0x14007ff2a
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x14007f61d
mov edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rcx, [0x140046050]
cmp rax, rcx
jne 0x14007ff19
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x20]
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 0x14007ff2a
cmp r9, 1
je 0x14007ff9e
cmp r10, 1
jbe 0x14007ff7a
cmp dword [rax + 4], edx
jne 0x14007ff2a
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x14007ff2a
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x68]
mov rax, qword [0x1401165a0]
and rax, rcx
cmp rax, qword [0x140116588]
je 0x14007ff70
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400941a0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm10, 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, [0x1400909f0]
cmp rax, rdx
je 0x14007f59b
mov ecx, 2
lea rdx, [0x140046270]
cmp rax, rdx
je 0x14007f59b
jmp 0x14007fc85
xor ebx, ebx
jmp 0x14007f551
cmp rax, r8
jb 0x14007f6d3
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x14007f551
mov r9, qword [r9]
test r9, r9
jne 0x14007f536
jmp 0x14007f551
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400c42d0
jmp 0x14007f715
cmp eax, 0x3f
je 0x14007f715
add rcx, rsi
cmp eax, 0x3c
jne 0x14007f6ed
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
call fcn.140034940
xor ecx, ecx
jmp 0x14007f3e9
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140034940
mov r8, rbx
and r8, 0x3f
je 0x14007f3b8
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007f3a5
cmp eax, 0x3f
je 0x14007f77c
add rcx, rsi
cmp eax, 0x3c
jne 0x14007fbcb
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
call fcn.140034940
xor ecx, ecx
jmp 0x14007f84f
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorpd xmm0, xmm0
movupd xmmword [rsp + 0xec], xmm0
movupd xmmword [rsp + 0xe0], xmm0
movupd xmmword [rsp + 0xd0], xmm0
movupd xmmword [rsp + 0xc0], xmm0
movupd xmmword [rsp + 0xb0], xmm0
movupd xmmword [rsp + 0xa0], xmm6
test rbx, rbx
je 0x14007f81e
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007fbe0
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
call fcn.1400c3c30
mov eax, dword [rsp + 0xf8]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0xb0]
mov ebp, dword [rsp + 0xb4]
mov byte [rsp + rax + 0xb8], 0x80
cmp rax, 0x38
jae 0x14007f762
cmp rcx, 0x38
je 0x14007f862
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400c42d0
lea rdi, [rsp + 0xa0]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.140034940
mov ecx, dword [rdi]
bswap ecx
call fcn.140080050
test al, al
je 0x14007ff52
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rcx, [0x140024600]
cmp rax, rcx
jne 0x14007f912
mov ecx, 0x20
call fcn.14009208c
mov rsi, rax
mov r14, qword [rsp + 0x58]
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14007f98e
mov rax, r14
shr rax, 0x3e
jne 0x140080002
lea rbx, [r14*4]
mov rcx, rbx
call fcn.14009208c
mov rdi, rax
mov qword [rsi], rax
lea r12, [rax + r14*4]
mov qword [rsi + 0x10], r12
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.1400c42d0
mov qword [rsi + 8], r12
jmp 0x14007f993
lea rcx, [fcn.14005ceb0]
cmp rax, rcx
jne 0x14007f930
lea rcx, [rsp + 0x30]
call fcn.14005ceb0
mov rsi, rax
jmp 0x14007fb41
lea rcx, [0x1400df610]
cmp rax, rcx
jne 0x14007fc75
mov ecx, 0x20
call fcn.14009208c
mov rsi, rax
mov ecx, 0x10
call fcn.14009208c
mov qword [rsi], rax
lea rcx, [rax + 0x10]
mov qword [rsi + 0x10], rcx
xor edx, edx
mov dword [rax], edx
mov qword [rsi + 8], rcx
mov dword [rsi + 0x1c], edx
movabs rcx, 0x200000001
mov qword [rax + 4], rcx
mov dword [rax + 0xc], 0x7fffffff
mov dword [rsi + 0x18], 0x3eb2a456
jmp 0x14007fb41
xor edi, edi
xor r12d, r12d
mov qword [rsi + 0x18], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x50]
call fcn.1400c1890
mov rbx, r12
sub rbx, rdi
cmp rbx, 4
jbe 0x14007fff2
mov r14d, dword [rsp + 0x4c]
mov dword [rdi + 4], r14d
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 3
jb 0x14007fac1
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r12d, 2
lea rdi, [rsp + 0xa0]
movdqa xmm7, xmmword [0x1400f68d0]
movapd xmm8, xmmword [0x1400f68e0]
movapd xmm9, xmmword [0x1400f0450]
movapd xmm10, xmmword [0x1400fd880]
nop dword [rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.1400c1890
movsd qword [rsp + 0xa0], xmm0
mov rcx, rdi
call fcn.1400562d0
mov r13, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x14007ff5f
movsd xmm1, qword [rsp + 0xa0]
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.1400c1dc0
movapd xmm1, xmm0
andpd xmm1, xmm9
orpd xmm1, xmm10
addsd xmm1, xmm0
xorps xmm0, xmm0
roundsd xmm0, xmm1, 0xb
cvttsd2si eax, xmm0
cmp r14d, eax
lea ecx, [r14 + 1]
cmovl ecx, eax
mov dword [r13 + r12*4], ecx
inc r12
mov r14d, ecx
dec rbx
jne 0x14007fa10
mov rdi, qword [rsi]
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14007fff5
mov dword [r12 - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, r8
je 0x14007fff8
js 0x14007ffff
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x14007fd50
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x14007fb3e
lea r8, [0x1400fe960]
nop
movzx r9d, byte [rdx]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, byte [rdx + 1]
movzx r10d, cl
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x14007fb10
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140081ff0
cmp qword [rsp + 0x58], 0
je 0x14007fcf9
lea rdi, [rsp + 0x30]
and byte [rdi + 0x30], 0xbf
mov rcx, qword [rdi]
mov r9, qword [rcx + 8]
lea rsi, [rsp + 0xa0]
mov rcx, rdi
mov rdx, rsi
mov r8, rax
mov rax, r9
call qword [str.P:_f_]
mov rsi, qword [rsi]
mov eax, dword [rdi + 0x30]
lock or dword [rsi + 0x10], eax
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
lea rcx, [method.std::__Cr::basic_streambuf_wchar_t__struct_std::__Cr::char_traits_wchar_t__.virtual_8]
cmp rax, rcx
jne 0x14007fbac
mov rcx, rsi
call fcn.14005bcb0
mov rbx, rax
jmp 0x14007f57e
lea rcx, [section..text]
cmp rax, rcx
jne 0x140080005
lea rcx, [rsp + 0x30]
mov rdx, rsi
call section..text
jmp 0x14007fb9c
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400c42d0
jmp 0x14007f77c
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140034940
mov r8, rbx
and r8, 0x3f
je 0x14007f81e
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007f80b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14007f464
dec r8
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007fc38
cmp qword [r9 + 0x10], r14
je 0x14007f54d
jmp 0x14007fc44
and rax, r8
cmp rax, rcx
jne 0x14007f551
mov r9, qword [r9]
test r9, r9
jne 0x14007fc23
jmp 0x14007f551
lea rcx, [r8 - 1]
and rcx, r14
jmp 0x14007f50e
mov edi, 1
mov r12d, 1
test eax, eax
jg 0x14007f28d
jmp 0x14007f29b
lea rcx, [rsp + 0x30]
call qword [str.P:_f_]
jmp 0x14007f928
mov rcx, rbx
call qword [str.P:_f_]
mov ecx, eax
jmp 0x14007f59b
lea rcx, [0x140125a28]
call fcn.14001b980
test al, al
je 0x14008001e
mov qword [0x140125a30], 0
lea rdi, [0x140125a30]
mov qword [0x140125a28], rdi
jmp 0x14007f42f
lea rcx, [0x140125a28]
call fcn.14001b980
test al, al
je 0x14008002a
mov qword [0x140125a30], 0
lea rax, [0x140125a30]
mov qword [0x140125a28], rax
jmp 0x14007f485
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
lea rdx, [rcx - 1]
mov qword [rsp + 0x58], rdx
mov rdx, qword [rax]
mov r8, qword [rax + 8]
sub r8, rdx
cmp r8, 4
jbe 0x140080018
mov edx, dword [rdx + 4]
mov dword [rsp + 0x4c], edx
lea r8, [rcx - 2]
mov rdx, qword [rax]
mov r9, qword [rax + 8]
sub r9, rdx
sar r9, 2
cmp r9, r8
jbe 0x14008001b
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0x50], ecx
jmp 0x14007fb55
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x1400fe960]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x14007faff
mov r8, r13
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, r15
call fcn.140034940
mov r8, r13
and r8, 0x3f
je 0x14007fe18
and r13, 0xffffffffffffffc0
add r15, r13
jmp 0x14007fe05
mov r15, qword [rbx]
mov r13, qword [rbx + 8]
xorps xmm0, xmm0
lea r14, [rsp + 0xb8]
movups xmmword [r14 + 0x34], xmm0
movups xmmword [r14 + 0x28], xmm0
movups xmmword [r14 + 0x18], xmm0
movups xmmword [r14 + 8], xmm0
movups xmmword [r14 - 8], xmm0
movaps xmm0, xmmword [0x1400fd870]
movups xmmword [r14 - 0x18], xmm0
test r13, r13
je 0x14007fe18
lea eax, [r13*8]
mov rcx, r13
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp r13, 0x40
jae 0x14007fd72
mov r8, r13
mov dword [rsp + 0xf8], r8d
mov rcx, r14
mov rdx, r15
call fcn.1400c3c30
mov eax, dword [rsp + 0xf8]
lea rcx, [rax + 1]
mov r13d, dword [rsp + 0xb0]
mov edx, dword [rsp + 0xb4]
mov dword [rsp + 0x2c], edx
mov byte [rsp + rax + 0xb8], 0x80
cmp rax, 0x38
jae 0x14007fed4
cmp rcx, 0x38
je 0x14007fe61
mov r8d, 0x38
sub r8, rcx
add rcx, r14
xor edx, edx
call fcn.1400c42d0
lea r15, [rsp + 0xa0]
mov dword [r15 + 0x50], r13d
mov eax, dword [rsp + 0x2c]
mov dword [r15 + 0x54], eax
mov r8d, 1
mov rcx, r15
mov rdx, r14
call fcn.140034940
mov rdx, qword [r15]
bswap rdx
lea rcx, str.Histogram.TooManyBuckets.1000
call fcn.140002a40
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x90]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.14005de60
test al, al
jne 0x14007f2a8
jmp 0x140080036
cmp eax, 0x3f
je 0x14007feea
add rcx, r14
cmp eax, 0x3c
jne 0x14007ff07
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, r14
call fcn.140034940
xor ecx, ecx
jmp 0x14007fe4e
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400c42d0
jmp 0x14007feea
mov rcx, rbx
call qword [str.P:_f_]
test al, al
jne 0x14007f61d
lea rax, [rsp + 0x38]
movupd xmm0, xmmword [rax]
lea rcx, [rsp + 0xa0]
movapd xmmword [rcx], xmm0
call fcn.140080140
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140002a40
call fcn.1400c4660
mov rbx, rax
jmp 0x14007f61d
int3
mov r12d, 0x7ffffffe
jmp 0x14007f29b
int3
call fcn.140056990
jmp 0x14007f63e
int3
xor ebp, ebp
mov eax, edx
jmp 0x14007f285
lea r12d, [rdi + 1]
xor ebp, ebp
jmp 0x14007f2b1
mov rcx, r14
call fcn.140056440
jmp 0x14007f336
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14007f614
jmp 0x14007ff2a
movapd xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x80]
movapd xmmword [rcx], xmm0
call fcn.140080140
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.140002a40
call fcn.1400c4660
mov rbx, rax
jmp 0x14007f63e
mov edi, 2
mov esi, 3
jmp 0x14007f26e
int3
int3
xor ecx, ecx
jmp 0x14007fb3e
int3
int3
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [str.P:_f_]
jmp 0x14007fb9c
int3
int3
mov rdi, qword [0x140125a28]
jmp 0x14007f42f
mov rax, qword [0x140125a28]
jmp 0x14007f485
mov esi, 0x66
xor ebp, ebp
jmp 0x14007f2a8