Function at 0x14007e380
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
vmovapd xmmword [rsp + 0x150], xmm10
vmovapd xmmword [rsp + 0x140], xmm9
vmovapd xmmword [rsp + 0x130], xmm8
vmovdqa xmmword [rsp + 0x120], xmm7
vmovapd 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 0x14007e3eb
cmp rsi, 2
je 0x14007f119
vmovups xmm0, xmmword [rbx]
vmovaps xmmword [rsp + 0x70], xmm0
mov bpl, 1
cmp edi, edx
jl 0x14007f0b3
mov eax, edi
mov edi, edx
test edi, edi
jle 0x14007ed83
cmp eax, 0x7fffffff
je 0x14007f098
mov r12d, eax
cmp rsi, 0x3eb
jae 0x14007eec8
cmp r12d, edi
je 0x14007f0bc
cmp rsi, 3
jb 0x14007f0e7
test bpl, bpl
je 0x14007f0e7
mov eax, r12d
sub eax, edi
add eax, 2
cdqe
cmp rsi, rax
ja 0x14007f0e7
mov r14, qword [rsp + 0x1d8]
mov eax, dword [rsp + 0x1d0]
vmovupd xmm0, xmmword [rbx]
vmovupd 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.14005bde0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x68], 0
mov rax, qword [0x1401155a0]
and rax, r14
cmp rax, qword [0x140115588]
je 0x14007f0c7
mov qword [rsp + 0x68], r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
vxorpd xmm0, xmm0, xmm0
lea rsi, [rsp + 0xb8]
vmovupd ymmword [rsi + 0x24], ymm0
vmovupd ymmword [rsi + 0x18], ymm0
vmovupd ymmword [rsi - 8], ymm0
vmovapd xmm6, xmmword [0x1400fc470]
vmovupd xmmword [rsi - 0x18], xmm6
test rbx, rbx
je 0x14007e530
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007e861
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
vzeroupper
call fcn.1400c2c60
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 0x14007e82b
cmp rcx, 0x38
je 0x14007e577
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
vzeroupper
call fcn.1400c3300
lea rdi, [rsp + 0xa0]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
vzeroupper
call fcn.140033740
mov r14, qword [rdi]
mov rbx, qword [0x140124a28]
cmp rbx, 1
jbe 0x14007edbb
mov rax, qword [0x1401155a0]
and rax, rbx
cmp rax, qword [0x140115588]
jne 0x14007e5c8
mov rcx, rbx
call fcn.1400552b0
test rbx, rbx
je 0x14007f0a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14007ed36
mov rdi, qword [0x140124a38]
test rdi, rdi
je 0x14007e7e8
mov rax, qword [0x140124a28]
cmp rax, 1
jbe 0x14007eded
mov r8, qword [rdi + 8]
test r8, r8
je 0x14007e7e8
bswap r14
popcnt r10, r8
cmp r10, 1
jbe 0x14007ed77
mov rcx, r14
cmp r14, r8
jb 0x14007e635
mov rax, r14
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [rdi]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14007e7e8
mov r9, qword [rax]
test r9, r9
je 0x14007e7e8
cmp r10d, 2
jb 0x14007ed44
xor edi, edi
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007e7ef
cmp qword [r9 + 0x10], r14
jne 0x14007e805
mov rdi, qword [r9 + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401155a0]
and rax, rbx
cmp rax, qword [0x140115588]
jne 0x14007e69c
mov rcx, rbx
call fcn.140055570
test rdi, rdi
je 0x14007e8ce
mov esi, dword [rsp + 0x48]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14008fa10]
cmp rax, rdx
jne 0x14007e7b9
cmp esi, ecx
jne 0x14007f060
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x14007e744
mov edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rcx, [0x140044a40]
cmp rax, rcx
jne 0x14007f04f
mov rax, qword [rdi + 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 0x14007f060
cmp r9, 1
je 0x14007f0d4
cmp r10, 1
jbe 0x14007f0b0
cmp dword [rax + 4], edx
jne 0x14007f060
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x14007f060
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x68]
mov rax, qword [0x1401155a0]
and rax, rcx
cmp rax, qword [0x140115588]
je 0x14007f0a6
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400931d0
mov rax, rdi
vmovaps xmm6, xmmword [rsp + 0x110]
vmovaps xmm7, xmmword [rsp + 0x120]
vmovaps xmm8, xmmword [rsp + 0x130]
vmovaps xmm9, xmmword [rsp + 0x140]
vmovaps 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, [0x14008fa20]
cmp rax, rdx
je 0x14007e6c2
mov ecx, 2
lea rdx, [0x140044c60]
cmp rax, rdx
je 0x14007e6c2
jmp 0x14007edab
xor edi, edi
jmp 0x14007e678
cmp rax, r8
jb 0x14007e7fc
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x14007e678
mov r9, qword [r9]
test r9, r9
jne 0x14007e65d
jmp 0x14007e678
mov r8d, 0x3f
sub r8, rax
xor edx, edx
vzeroupper
call fcn.1400c3300
jmp 0x14007e841
cmp eax, 0x3f
je 0x14007e841
add rcx, rsi
cmp eax, 0x3c
jne 0x14007e816
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
vzeroupper
call fcn.140033740
xor ecx, ecx
jmp 0x14007e561
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
vzeroupper
call fcn.140033740
mov r8, rbx
and r8, 0x3f
je 0x14007e530
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007e51a
cmp eax, 0x3f
je 0x14007e8ae
add rcx, rsi
cmp eax, 0x3c
jne 0x14007eceb
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
vzeroupper
call fcn.140033740
xor ecx, ecx
jmp 0x14007e975
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
vxorpd xmm0, xmm0, xmm0
vmovupd ymmword [rsp + 0xdc], ymm0
vmovupd ymmword [rsp + 0xd0], ymm0
vmovupd ymmword [rsp + 0xb0], ymm0
vmovupd xmmword [rsp + 0xa0], xmm6
test rbx, rbx
je 0x14007e944
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007ed03
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
vzeroupper
call fcn.1400c2c60
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 0x14007e894
cmp rcx, 0x38
je 0x14007e98b
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
vzeroupper
call fcn.1400c3300
lea rdi, [rsp + 0xa0]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
vzeroupper
call fcn.140033740
mov ecx, dword [rdi]
bswap ecx
call fcn.14007f180
test al, al
je 0x14007f088
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rcx, [0x1400244a0]
cmp rax, rcx
jne 0x14007ea3e
mov ecx, 0x20
call fcn.1400910bc
mov rsi, rax
mov r14, qword [rsp + 0x58]
vxorpd xmm0, xmm0, xmm0
vmovupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14007eaba
mov rax, r14
shr rax, 0x3e
jne 0x14007f138
lea rbx, [r14*4]
mov rcx, rbx
call fcn.1400910bc
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.1400c3300
mov qword [rsi + 8], r12
jmp 0x14007eabf
lea rcx, [fcn.14005bde0]
cmp rax, rcx
jne 0x14007ea5c
lea rcx, [rsp + 0x30]
call fcn.14005bde0
mov rsi, rax
jmp 0x14007ec61
lea rcx, [0x1400de830]
cmp rax, rcx
jne 0x14007ed9b
mov ecx, 0x20
call fcn.1400910bc
mov rsi, rax
mov ecx, 0x10
call fcn.1400910bc
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 0x14007ec61
xor edi, edi
xor r12d, r12d
mov qword [rsi + 0x18], 0
vcvtsi2sd xmm0, xmm1, dword [rsp + 0x50]
call fcn.1400c08c0
mov rbx, r12
sub rbx, rdi
cmp rbx, 4
jbe 0x14007f128
mov r14d, dword [rsp + 0x4c]
mov dword [rdi + 4], r14d
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 3
jb 0x14007ebde
vmovapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r12d, 2
lea rdi, [rsp + 0xa0]
vmovdqa xmm7, xmmword [0x1400f54d0]
vmovapd xmm8, xmmword [0x1400f54e0]
vmovddup xmm9, qword [0x1400edd38]
vmovddup xmm10, qword [0x1400fc480]
nop word cs:[rax + rax]
vcvtsi2sd xmm0, xmm4, r14d
call fcn.1400c08c0
vmovsd qword [rsp + 0xa0], xmm0
mov rcx, rdi
call fcn.1400552a0
mov r13, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x14007f095
vmovsd xmm0, qword [rsp + 0xa0]
vsubsd xmm1, xmm6, xmm0
vmovq xmm2, rbx
vpunpckldq xmm2, xmm2, xmm7
vsubpd xmm2, xmm2, xmm8
vshufpd xmm3, xmm2, xmm2, 1
vaddsd xmm2, xmm3, xmm2
vdivsd xmm1, xmm1, xmm2
vaddsd xmm0, xmm0, xmm1
call fcn.1400c0df0
vandpd xmm1, xmm9, xmm0
vorpd xmm1, xmm10, xmm1
vaddsd xmm0, xmm0, xmm1
vroundsd xmm0, xmm0, xmm0, 0xb
vcvttsd2si 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 0x14007eb40
mov rdi, qword [rsi]
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14007f12b
mov dword [r12 - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, r8
je 0x14007f12e
js 0x14007f135
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x14007ee76
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x14007ec5e
lea r8, [0x1400fd550]
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 0x14007ec30
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140081130
cmp qword [rsp + 0x58], 0
je 0x14007ee1f
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 [0x1401093a8]
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 0x14007eccc
mov rcx, rsi
call fcn.14005acf0
mov rdi, rax
jmp 0x14007e6a5
lea rcx, [section..text]
cmp rax, rcx
jne 0x14007f13b
lea rcx, [rsp + 0x30]
mov rdx, rsi
call section..text
jmp 0x14007ecbc
mov r8d, 0x3f
sub r8, rax
xor edx, edx
vzeroupper
call fcn.1400c3300
jmp 0x14007e8ae
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
vzeroupper
call fcn.140033740
mov r8, rbx
and r8, 0x3f
je 0x14007e944
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007e92e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14007e5e2
dec r8
xor edi, edi
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007ed5e
cmp qword [r9 + 0x10], r14
je 0x14007e674
jmp 0x14007ed6a
and rax, r8
cmp rax, rcx
jne 0x14007e678
mov r9, qword [r9]
test r9, r9
jne 0x14007ed49
jmp 0x14007e678
lea rcx, [r8 - 1]
and rcx, r14
jmp 0x14007e635
mov edi, 1
mov r12d, 1
test eax, eax
jg 0x14007e40c
jmp 0x14007e41a
lea rcx, [rsp + 0x30]
call qword [0x1401093a8]
jmp 0x14007ea54
mov rcx, rdi
call qword [0x1401093a8]
mov ecx, eax
jmp 0x14007e6c2
lea rcx, [0x140124a28]
call fcn.14001b8d0
test al, al
je 0x14007f154
mov qword [0x140124a30], 0
lea rbx, [0x140124a30]
mov qword [0x140124a28], rbx
jmp 0x14007e5ad
lea rcx, [0x140124a28]
call fcn.14001b8d0
test al, al
je 0x14007f160
mov qword [0x140124a30], 0
lea rax, [0x140124a30]
mov qword [0x140124a28], rax
jmp 0x14007e603
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 0x14007f14e
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 0x14007f151
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0x50], ecx
jmp 0x14007ec75
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x1400fd550]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x14007ec1c
mov r8, r13
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, r15
vzeroupper
call fcn.140033740
mov r8, r13
and r8, 0x3f
je 0x14007ef40
and r13, 0xffffffffffffffc0
add r15, r13
jmp 0x14007ef2a
mov r15, qword [rbx]
mov r13, qword [rbx + 8]
vxorps xmm0, xmm0, xmm0
lea r14, [rsp + 0xb8]
vmovups ymmword [r14 + 0x24], ymm0
vmovups ymmword [r14 + 0x18], ymm0
vmovups ymmword [r14 - 8], ymm0
vmovaps xmm0, xmmword [0x1400fc470]
vmovups xmmword [r14 - 0x18], xmm0
test r13, r13
je 0x14007ef40
lea eax, [r13*8]
mov rcx, r13
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp r13, 0x40
jae 0x14007ee98
mov r8, r13
mov dword [rsp + 0xf8], r8d
mov rcx, r14
mov rdx, r15
vzeroupper
call fcn.1400c2c60
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 0x14007f004
cmp rcx, 0x38
je 0x14007ef8c
mov r8d, 0x38
sub r8, rcx
add rcx, r14
xor edx, edx
vzeroupper
call fcn.1400c3300
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
vzeroupper
call fcn.140033740
mov rdx, qword [r15]
bswap rdx
lea rcx, str.Histogram.TooManyBuckets.1000
call fcn.140002a70
lea rax, str.Blink.UseCounter
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 0x10
vmovaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x90]
vmovaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.14005ccf0
test al, al
jne 0x14007e427
jmp 0x14007f16c
cmp eax, 0x3f
je 0x14007f01a
add rcx, r14
cmp eax, 0x3c
jne 0x14007f03a
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, r14
vzeroupper
call fcn.140033740
xor ecx, ecx
jmp 0x14007ef76
mov r8d, 0x3f
sub r8, rax
xor edx, edx
vzeroupper
call fcn.1400c3300
jmp 0x14007f01a
mov rcx, rdi
call qword [0x1401093a8]
test al, al
jne 0x14007e744
lea rax, [rsp + 0x38]
vmovupd xmm0, xmmword [rax]
lea rcx, [rsp + 0xa0]
vmovapd xmmword [rcx], xmm0
call fcn.14007f270
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140002a70
call fcn.1400c3690
mov rdi, rax
jmp 0x14007e744
int3
mov r12d, 0x7ffffffe
jmp 0x14007e41a
int3
call fcn.140055960
jmp 0x14007e765
int3
xor ebp, ebp
mov eax, edx
jmp 0x14007e404
lea r12d, [rdi + 1]
xor ebp, ebp
jmp 0x14007e430
mov rcx, r14
call fcn.140055410
jmp 0x14007e4b5
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14007e73b
jmp 0x14007f060
vmovapd xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x80]
vmovapd xmmword [rcx], xmm0
call fcn.14007f270
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.140002a70
call fcn.1400c3690
mov rdi, rax
jmp 0x14007e765
mov edi, 2
mov esi, 3
jmp 0x14007e3eb
int3
int3
xor ecx, ecx
jmp 0x14007ec5e
int3
int3
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [0x1401093a8]
jmp 0x14007ecbc
int3
int3
mov rbx, qword [0x140124a28]
jmp 0x14007e5ad
mov rax, qword [0x140124a28]
jmp 0x14007e603
mov esi, 0x66
xor ebp, ebp
jmp 0x14007e427