Function at 0x14007c9b0
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 [0x14010c040]
xor rax, rsp
mov qword [rsp + 0x108], rax
cmp r8d, 1
jne 0x14007ca0a
cmp rsi, 2
je 0x14007d753
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x70], xmm0
mov bpl, 1
cmp edi, edx
jl 0x14007d6ed
mov eax, edi
mov edi, edx
test edi, edi
jle 0x14007d3cd
cmp eax, 0x7fffffff
je 0x14007d6d2
mov r12d, eax
cmp rsi, 0x3eb
jae 0x14007d50f
cmp r12d, edi
je 0x14007d6f6
cmp rsi, 3
jb 0x14007d721
test bpl, bpl
je 0x14007d721
mov eax, r12d
sub eax, edi
add eax, 2
cdqe
cmp rsi, rax
ja 0x14007d721
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.140059b50
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x68], 0
mov rax, qword [0x14010e5a0]
and rax, r14
cmp rax, qword [0x14010e588]
je 0x14007d701
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 [0x1400f7dd0]
movupd xmmword [rsi - 0x18], xmm6
test rbx, rbx
je 0x14007cb54
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007cebc
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
call fcn.1400beac0
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 0x14007ce89
cmp rcx, 0x38
je 0x14007cb98
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400bf160
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.140032f80
mov r14, qword [rdi]
mov rdi, qword [0x1401235d0]
cmp rdi, 1
jbe 0x14007d405
mov rax, qword [0x14010e5a0]
and rax, rdi
cmp rax, qword [0x14010e588]
jne 0x14007cbe6
mov rcx, rdi
call fcn.140053a20
test rdi, rdi
je 0x14007d6dd
mov rcx, rdi
call qword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14007d380
mov rbx, qword [0x1401235e0]
test rbx, rbx
je 0x14007ce49
mov rax, qword [0x1401235d0]
cmp rax, 1
jbe 0x14007d437
mov r8, qword [rbx + 8]
test r8, r8
je 0x14007ce49
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 0x14007d3c1
mov rcx, r14
cmp r14, r8
jb 0x14007ccaa
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 0x14007ce49
mov r9, qword [rax]
test r9, r9
je 0x14007ce49
cmp r10d, 2
jb 0x14007d38e
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007ce50
cmp qword [r9 + 0x10], r14
jne 0x14007ce66
mov rbx, qword [r9 + 0x18]
mov rcx, rdi
call qword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x14010e5a0]
and rax, rdi
cmp rax, qword [0x14010e588]
jne 0x14007cd11
mov rcx, rdi
call fcn.140053ce0
test rbx, rbx
je 0x14007cf23
mov esi, dword [rsp + 0x48]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14008e8d0]
cmp rax, rdx
jne 0x14007ce1a
cmp esi, ecx
jne 0x14007d69a
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x14007cdb9
mov edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rcx, [0x14004f210]
cmp rax, rcx
jne 0x14007d689
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 0x14007d69a
cmp r9, 1
je 0x14007d70e
cmp r10, 1
jbe 0x14007d6ea
cmp dword [rax + 4], edx
jne 0x14007d69a
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x14007d69a
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x68]
mov rax, qword [0x14010e5a0]
and rax, rcx
cmp rax, qword [0x14010e588]
je 0x14007d6e0
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.1400909a0
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, [0x14008e8e0]
cmp rax, rdx
je 0x14007cd37
mov ecx, 2
lea rdx, [0x14004f430]
cmp rax, rdx
je 0x14007cd37
jmp 0x14007d3f5
xor ebx, ebx
jmp 0x14007cced
cmp rax, r8
jb 0x14007ce5d
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x14007cced
mov r9, qword [r9]
test r9, r9
jne 0x14007ccd2
jmp 0x14007cced
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400bf160
jmp 0x14007ce9f
cmp eax, 0x3f
je 0x14007ce9f
add rcx, rsi
cmp eax, 0x3c
jne 0x14007ce77
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
call fcn.140032f80
xor ecx, ecx
jmp 0x14007cb85
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140032f80
mov r8, rbx
and r8, 0x3f
je 0x14007cb54
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007cb41
cmp eax, 0x3f
je 0x14007cf06
add rcx, rsi
cmp eax, 0x3c
jne 0x14007d33b
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, rsi
call fcn.140032f80
xor ecx, ecx
jmp 0x14007cfd9
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 0x14007cfa8
lea eax, [rbx*8]
mov rcx, rbx
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp rbx, 0x40
jae 0x14007d350
mov r8, rbx
mov dword [rsp + 0xf8], r8d
mov rcx, rsi
mov rdx, rdi
call fcn.1400beac0
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 0x14007ceec
cmp rcx, 0x38
je 0x14007cfec
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.1400bf160
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.140032f80
mov ecx, dword [rdi]
bswap ecx
call fcn.14007d7c0
test al, al
je 0x14007d6c2
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rcx, [0x140022860]
cmp rax, rcx
jne 0x14007d09c
mov ecx, 0x20
call fcn.14008ed5c
mov rsi, rax
mov r14, qword [rsp + 0x58]
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r14
je 0x14007d118
mov rax, r14
shr rax, 0x3e
jne 0x14007d772
lea rbx, [r14*4]
mov rcx, rbx
call fcn.14008ed5c
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.1400bf160
mov qword [rsi + 8], r12
jmp 0x14007d11d
lea rcx, [fcn.140059b50]
cmp rax, rcx
jne 0x14007d0ba
lea rcx, [rsp + 0x30]
call fcn.140059b50
mov rsi, rax
jmp 0x14007d2b1
lea rcx, [0x1400e0e50]
cmp rax, rcx
jne 0x14007d3e5
mov ecx, 0x20
call fcn.14008ed5c
mov rsi, rax
mov ecx, 0x10
call fcn.14008ed5c
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 0x14007d2b1
xor edi, edi
xor r12d, r12d
mov qword [rsi + 0x18], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsp + 0x50]
call fcn.1400bc720
mov rbx, r12
sub rbx, rdi
cmp rbx, 4
jbe 0x14007d762
mov r14d, dword [rsp + 0x4c]
mov dword [rdi + 4], r14d
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 3
jb 0x14007d22b
movapd xmm6, xmm0
add rbx, 0xfffffffffffffffd
mov r12d, 2
lea rdi, [rsp + 0xa0]
movdqa xmm7, xmmword [0x1400efe70]
movapd xmm8, xmmword [0x1400efe80]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r14d
call fcn.1400bc720
movsd qword [rsp + 0xa0], xmm0
mov rcx, rdi
call fcn.140053a10
mov r13, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x14007d6cf
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.1400bcc50
call fcn.1400bc6b8
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 0x14007d190
mov rdi, qword [rsi]
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14007d765
mov dword [r12 - 4], 0x7fffffff
mov r8, qword [rsi]
mov rax, qword [rsi + 8]
mov rdx, rax
sub rdx, r8
je 0x14007d768
js 0x14007d76f
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x14007d4c0
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x14007d2ae
lea r8, [0x1400f7f60]
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 0x14007d280
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14007f760
cmp qword [rsp + 0x58], 0
je 0x14007d469
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 [0x140102bb8]
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 0x14007d31c
mov rcx, rsi
call fcn.140058940
mov rbx, rax
jmp 0x14007cd1a
lea rcx, [section..text]
cmp rax, rcx
jne 0x14007d775
lea rcx, [rsp + 0x30]
mov rdx, rsi
call section..text
jmp 0x14007d30c
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400bf160
jmp 0x14007cf06
mov r8, rbx
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.140032f80
mov r8, rbx
and r8, 0x3f
je 0x14007cfa8
and rbx, 0xffffffffffffffc0
add rdi, rbx
jmp 0x14007cf95
mov rcx, rdi
call qword [sym.imp.progwrp.dll_AcquireSRWLockExclusive]
jmp 0x14007cc00
dec r8
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r14, rax
jne 0x14007d3a8
cmp qword [r9 + 0x10], r14
je 0x14007cce9
jmp 0x14007d3b4
and rax, r8
cmp rax, rcx
jne 0x14007cced
mov r9, qword [r9]
test r9, r9
jne 0x14007d393
jmp 0x14007cced
lea rcx, [r8 - 1]
and rcx, r14
jmp 0x14007ccaa
mov edi, 1
mov r12d, 1
test eax, eax
jg 0x14007ca29
jmp 0x14007ca37
lea rcx, [rsp + 0x30]
call qword [0x140102bb8]
jmp 0x14007d0b2
mov rcx, rbx
call qword [0x140102bb8]
mov ecx, eax
jmp 0x14007cd37
lea rcx, [0x1401235d0]
call fcn.14001b920
test al, al
je 0x14007d78e
mov qword [0x1401235d8], 0
lea rdi, [0x1401235d8]
mov qword [0x1401235d0], rdi
jmp 0x14007cbcb
lea rcx, [0x1401235d0]
call fcn.14001b920
test al, al
je 0x14007d79a
mov qword [0x1401235d8], 0
lea rax, [0x1401235d8]
mov qword [0x1401235d0], rax
jmp 0x14007cc21
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 0x14007d788
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 0x14007d78b
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsp + 0x50], ecx
jmp 0x14007d2c5
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x1400f7f60]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x14007d269
mov r8, r13
shr r8, 6
lea rcx, [rsp + 0xa0]
mov rdx, r15
call fcn.140032f80
mov r8, r13
and r8, 0x3f
je 0x14007d588
and r13, 0xffffffffffffffc0
add r15, r13
jmp 0x14007d575
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 [0x1400f7dd0]
movups xmmword [r14 - 0x18], xmm0
test r13, r13
je 0x14007d588
lea eax, [r13*8]
mov rcx, r13
shr rcx, 0x1d
mov dword [rsp + 0xb4], ecx
mov dword [rsp + 0xb0], eax
cmp r13, 0x40
jae 0x14007d4e2
mov r8, r13
mov dword [rsp + 0xf8], r8d
mov rcx, r14
mov rdx, r15
call fcn.1400beac0
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 0x14007d644
cmp rcx, 0x38
je 0x14007d5d1
mov r8d, 0x38
sub r8, rcx
add rcx, r14
xor edx, edx
call fcn.1400bf160
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.140032f80
mov rdx, qword [r15]
bswap rdx
lea rcx, str.Histogram.TooManyBuckets.1000
call fcn.140002840
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.14005ab00
test al, al
jne 0x14007ca44
jmp 0x14007d7a6
cmp eax, 0x3f
je 0x14007d65a
add rcx, r14
cmp eax, 0x3c
jne 0x14007d677
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0xa0]
mov r8d, 1
mov rdx, r14
call fcn.140032f80
xor ecx, ecx
jmp 0x14007d5be
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400bf160
jmp 0x14007d65a
mov rcx, rbx
call qword [0x140102bb8]
test al, al
jne 0x14007cdb9
lea rax, [rsp + 0x38]
movupd xmm0, xmmword [rax]
lea rcx, [rsp + 0xa0]
movapd xmmword [rcx], xmm0
call fcn.14007d8b0
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140002840
call fcn.1400bf4f0
mov rbx, rax
jmp 0x14007cdb9
int3
mov r12d, 0x7ffffffe
jmp 0x14007ca37
int3
call fcn.1400540d0
jmp 0x14007cdda
int3
xor ebp, ebp
mov eax, edx
jmp 0x14007ca21
lea r12d, [rdi + 1]
xor ebp, ebp
jmp 0x14007ca4d
mov rcx, r14
call fcn.140053b80
jmp 0x14007cad2
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14007cdb0
jmp 0x14007d69a
movapd xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x80]
movapd xmmword [rcx], xmm0
call fcn.14007d8b0
lea rcx, str.Histogram.BadConstructionArguments
mov edx, eax
call fcn.140002840
call fcn.1400bf4f0
mov rbx, rax
jmp 0x14007cdda
mov edi, 2
mov esi, 3
jmp 0x14007ca0a
int3
int3
xor ecx, ecx
jmp 0x14007d2ae
int3
int3
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [0x140102bb8]
jmp 0x14007d30c
int3
int3
mov rdi, qword [0x1401235d0]
jmp 0x14007cbcb
mov rax, qword [0x1401235d0]
jmp 0x14007cc21
mov esi, 0x66
xor ebp, ebp
jmp 0x14007ca44