Function at 0x14007f110
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, 0x148
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 [0x140113040]
xor rax, rsp
mov qword [rsp + 0x108], rax
cmp r8d, 1
jne 0x14007f16a
cmp rsi, 2
je 0x14007feb3
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x70], xmm0
mov bpl, 1
cmp edi, edx
jl 0x14007fe4d
mov eax, edi
mov edi, edx
test edi, edi
jle 0x14007fb2d
cmp eax, 0x7fffffff
je 0x14007fe32
mov r12d, eax
cmp rsi, 0x3eb
jae 0x14007fc6f
cmp r12d, edi
je 0x14007fe56
cmp rsi, 3
jb 0x14007fe81
test bpl, bpl
je 0x14007fe81
mov eax, r12d
sub eax, edi
add eax, 2
cdqe
cmp rsi, rax
ja 0x14007fe81
mov r14, qword [rsp + 0x1b8]
mov eax, dword [rsp + 0x1b0]
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.14005c820
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x68], 0
mov rax, qword [0x1401155a0]
and rax, r14
cmp rax, qword [0x140115588]
je 0x14007fe61
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 [0x1400fc8b0]
movupd xmmword [rsi - 0x18], xmm6
test rbx, rbx
je 0x14007f2b4
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007f61c
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
call fcn.1400c3320
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 0x14007f5e9
cmp rcx, 0x38
je 0x14007f2f8
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400c39c0
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.140034c40
mov r14, qword [rdi]
mov rdi, qword [0x140124a28]
cmp rdi, 1
jbe 0x14007fb65
mov rax, qword [0x1401155a0]
and rax, rdi
cmp rax, qword [0x140115588]
jne 0x14007f346
mov rcx, rdi
call fcn.1400566f0
test rdi, rdi
je 0x14007fe3d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14007fae0
mov rbx, qword [0x140124a38]
test rbx, rbx
je 0x14007f5a9
mov rax, qword [0x140124a28]
cmp rax, 1
jbe 0x14007fb97
mov r8, qword [rbx + 8]
test r8, r8
je 0x14007f5a9
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 0x14007fb21
mov rcx, r14
cmp r14, r8
jb 0x14007f40a
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 0x14007f5a9
mov r9, qword [rax]
test r9, r9
je 0x14007f5a9
cmp r10d, 2
jb 0x14007faee
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007f5b0
cmp qword [r9 + 0x10], r14
jne 0x14007f5c6
mov rbx, qword [r9 + 0x18]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401155a0]
and rax, rdi
cmp rax, qword [0x140115588]
jne 0x14007f471
mov rcx, rdi
call fcn.1400569b0
test rbx, rbx
je 0x14007f683
mov esi, dword [rsp + 0x48]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14008fe00]
cmp rax, rdx
jne 0x14007f57a
cmp esi, ecx
jne 0x14007fdfa
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x14007f519
mov edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rcx, [0x140046410]
cmp rax, rcx
jne 0x14007fde9
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 0x14007fdfa
cmp r9, 1
je 0x14007fe6e
cmp r10, 1
jbe 0x14007fe4a
cmp dword [rax + 4], edx
jne 0x14007fdfa
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x14007fdfa
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x68]
mov rax, qword [0x1401155a0]
and rax, rcx
cmp rax, qword [0x140115588]
je 0x14007fe40
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400935c0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x14008fe10]
cmp rax, rdx
je 0x14007f497
mov ecx, 2
lea rdx, [0x140046630]
cmp rax, rdx
je 0x14007f497
jmp 0x14007fb55
xor ebx, ebx
jmp 0x14007f44d
cmp rax, r8
jb 0x14007f5bd
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x14007f44d
mov r9, qword [r9]
test r9, r9
jne 0x14007f432
jmp 0x14007f44d
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400c39c0
jmp 0x14007f5ff
cmp eax, 0x3f
je 0x14007f5ff
add rcx, rsi
cmp eax, 0x3c
jne 0x14007f5d7
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
call fcn.140034c40
xor ecx, ecx
jmp 0x14007f2e5
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140034c40
mov r8, rbx
and r8, 0x3f
je 0x14007f2b4
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007f2a1
cmp eax, 0x3f
je 0x14007f666
add rcx, rsi
cmp eax, 0x3c
jne 0x14007fa9b
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
call fcn.140034c40
xor ecx, ecx
jmp 0x14007f739
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 0x14007f708
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007fab0
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
call fcn.1400c3320
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 0x14007f64c
cmp rcx, 0x38
je 0x14007f74c
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400c39c0
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.140034c40
mov ecx, dword [rdi]
bswap ecx
call fcn.14007ff20
test al, al
je 0x14007fe22
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rcx, [0x140024600]
cmp rax, rcx
jne 0x14007f7fc
mov ecx, 0x20
call fcn.1400914ac
mov rsi, rax
mov r14, qword [rsp + 0x58]
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14007f878
mov rax, r14
shr rax, 0x3e
jne 0x14007fed2
lea rbx, [r14*4]
mov rcx, rbx
call fcn.1400914ac
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.1400c39c0
mov qword [rsi + 8], r12
jmp 0x14007f87d
lea rcx, [fcn.14005c820]
cmp rax, rcx
jne 0x14007f81a
lea rcx, [rsp + 0x30]
call fcn.14005c820
mov rsi, rax
jmp 0x14007fa11
lea rcx, [0x1400de290]
cmp rax, rcx
jne 0x14007fb45
mov ecx, 0x20
call fcn.1400914ac
mov rsi, rax
mov ecx, 0x10
call fcn.1400914ac
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 0x14007fa11
xor edi, edi
xor r12d, r12d
mov qword [rsi + 0x18], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x50]
call fcn.1400c0e70
mov rbx, r12
sub rbx, rdi
cmp rbx, 4
jbe 0x14007fec2
mov r14d, dword [rsp + 0x4c]
mov dword [rdi + 4], r14d
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 3
jb 0x14007f98b
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r12d, 2
lea rdi, [rsp + 0xa0]
movdqa xmm7, xmmword [0x1400f5910]
movapd xmm8, xmmword [0x1400f5920]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.1400c0e70
movsd qword [rsp + 0xa0], xmm0
mov rcx, rdi
call fcn.1400566e0
mov r13, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x14007fe2f
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.1400c13a0
call fcn.1400c1798
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 0x14007f8f0
mov rdi, qword [rsi]
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14007fec5
mov dword [r12 - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, r8
je 0x14007fec8
js 0x14007fecf
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x14007fc20
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x14007fa0e
lea r8, [0x1400fd9a0]
nop dword [rax]
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 0x14007f9e0
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140081ec0
cmp qword [rsp + 0x58], 0
je 0x14007fbc9
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 [0x140109830]
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 0x14007fa7c
mov rcx, rsi
call fcn.14005b610
mov rbx, rax
jmp 0x14007f47a
lea rcx, [section..text]
cmp rax, rcx
jne 0x14007fed5
lea rcx, [rsp + 0x30]
mov rdx, rsi
call section..text
jmp 0x14007fa6c
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400c39c0
jmp 0x14007f666
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140034c40
mov r8, rbx
and r8, 0x3f
je 0x14007f708
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007f6f5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14007f360
dec r8
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007fb08
cmp qword [r9 + 0x10], r14
je 0x14007f449
jmp 0x14007fb14
and rax, r8
cmp rax, rcx
jne 0x14007f44d
mov r9, qword [r9]
test r9, r9
jne 0x14007faf3
jmp 0x14007f44d
lea rcx, [r8 - 1]
and rcx, r14
jmp 0x14007f40a
mov edi, 1
mov r12d, 1
test eax, eax
jg 0x14007f189
jmp 0x14007f197
lea rcx, [rsp + 0x30]
call qword [0x140109830]
jmp 0x14007f812
mov rcx, rbx
call qword [0x140109830]
mov ecx, eax
jmp 0x14007f497
lea rcx, [0x140124a28]
call fcn.14001ba70
test al, al
je 0x14007feee
mov qword [0x140124a30], 0
lea rdi, [0x140124a30]
mov qword [0x140124a28], rdi
jmp 0x14007f32b
lea rcx, [0x140124a28]
call fcn.14001ba70
test al, al
je 0x14007fefa
mov qword [0x140124a30], 0
lea rax, [0x140124a30]
mov qword [0x140124a28], rax
jmp 0x14007f381
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 0x14007fee8
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 0x14007feeb
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0x50], ecx
jmp 0x14007fa25
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x1400fd9a0]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x14007f9c9
mov r8, r13
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, r15
call fcn.140034c40
mov r8, r13
and r8, 0x3f
je 0x14007fce8
and r13, 0xffffffffffffffc0
add r15, r13
jmp 0x14007fcd5
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 [0x1400fc8b0]
movups xmmword [r14 - 0x18], xmm0
test r13, r13
je 0x14007fce8
lea eax, [r13*8]
mov rcx, r13
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp r13, 0x40
jae 0x14007fc42
mov r8, r13
mov dword [rsp + 0xf8], r8d
mov rcx, r14
mov rdx, r15
call fcn.1400c3320
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 0x14007fda4
cmp rcx, 0x38
je 0x14007fd31
mov r8d, 0x38
sub r8, rcx
add rcx, r14
xor edx, edx
call fcn.1400c39c0
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.140034c40
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.14005d7d0
test al, al
jne 0x14007f1a4
jmp 0x14007ff06
cmp eax, 0x3f
je 0x14007fdba
add rcx, r14
cmp eax, 0x3c
jne 0x14007fdd7
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, r14
call fcn.140034c40
xor ecx, ecx
jmp 0x14007fd1e
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400c39c0
jmp 0x14007fdba
mov rcx, rbx
call qword [0x140109830]
test al, al
jne 0x14007f519
lea rax, [rsp + 0x38]
movupd xmm0, xmmword [rax]
lea rcx, [rsp + 0xa0]
movapd xmmword [rcx], xmm0
call fcn.140080010
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140002a40
call fcn.1400c3d50
mov rbx, rax
jmp 0x14007f519
int3
mov r12d, 0x7ffffffe
jmp 0x14007f197
int3
call fcn.140056da0
jmp 0x14007f53a
int3
xor ebp, ebp
mov eax, edx
jmp 0x14007f181
lea r12d, [rdi + 1]
xor ebp, ebp
jmp 0x14007f1ad
mov rcx, r14
call fcn.140056850
jmp 0x14007f232
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14007f510
jmp 0x14007fdfa
movapd xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x80]
movapd xmmword [rcx], xmm0
call fcn.140080010
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.140002a40
call fcn.1400c3d50
mov rbx, rax
jmp 0x14007f53a
mov edi, 2
mov esi, 3
jmp 0x14007f16a
int3
int3
xor ecx, ecx
jmp 0x14007fa0e
int3
int3
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [0x140109830]
jmp 0x14007fa6c
int3
int3
mov rdi, qword [0x140124a28]
jmp 0x14007f32b
mov rax, qword [0x140124a28]
jmp 0x14007f381
mov esi, 0x66
xor ebp, ebp
jmp 0x14007f1a4