Function at 0x140085f20
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, 0xf8
vmovapd xmmword [rsp + 0xe0], xmm10
vmovapd xmmword [rsp + 0xd0], xmm9
vmovapd xmmword [rsp + 0xc0], xmm8
vmovdqa xmmword [rsp + 0xb0], xmm7
vmovaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x140113040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
vxorpd xmm0, xmm0, xmm0
lea rdi, [rsp + 0x50]
vmovupd ymmword [rdi + 0x24], ymm0
vmovupd ymmword [rdi + 0x18], ymm0
vmovupd ymmword [rdi - 8], ymm0
vmovapd xmm6, xmmword [0x1400fc470]
vmovupd xmmword [rdi - 0x18], xmm6
test r14, r14
je 0x140085fe1
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
cmp r14, 0x40
jae 0x1400862e0
mov r8, r14
mov dword [rsp + 0x90], r8d
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.1400c2c60
mov eax, dword [rsp + 0x90]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x1400862ad
cmp rcx, 0x38
je 0x140086020
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
vzeroupper
call fcn.1400c3300
lea rbx, [rsp + 0x38]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
vzeroupper
call fcn.140033740
mov r15, qword [rbx]
mov r14, qword [0x140124a28]
cmp r14, 1
jbe 0x1400867e3
mov rax, qword [0x1401155a0]
and rax, r14
cmp rax, qword [0x140115588]
jne 0x14008606f
mov rcx, r14
call fcn.1400552b0
test r14, r14
je 0x140086902
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140086778
mov rbx, qword [0x140124a38]
test rbx, rbx
je 0x14008626a
mov rax, qword [0x140124a28]
cmp rax, 1
jbe 0x140086815
mov r8, qword [rbx + 8]
test r8, r8
je 0x14008626a
bswap r15
popcnt r10, r8
cmp r10, 1
jbe 0x1400867b9
mov rcx, r15
cmp r15, r8
jb 0x1400860dc
mov rax, r15
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [rbx]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x14008626a
mov r9, qword [rax]
test r9, r9
je 0x14008626a
cmp r10d, 2
jb 0x140086786
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r15, rax
jne 0x140086271
cmp qword [r9 + 0x10], r15
jne 0x140086287
mov rbx, qword [r9 + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x1401155a0]
and rax, r14
cmp rax, qword [0x140115588]
jne 0x140086143
mov rcx, r14
call fcn.140055570
test rbx, rbx
je 0x140086347
mov edi, dword [rsi + 0x18]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14008fa10]
cmp rax, rdx
jne 0x14008623b
cmp edi, ecx
jne 0x1400868ce
mov r9, qword [rsi + 0x28]
test r9, r9
je 0x1400861e7
mov edx, dword [rsi + 0x1c]
mov r8d, dword [rsi + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rcx, [0x140044a40]
cmp rax, rcx
jne 0x1400868bd
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 0x1400868ce
cmp r9, 1
je 0x140086908
cmp r10, 1
jbe 0x140086905
cmp dword [rax + 4], edx
jne 0x1400868ce
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x1400868ce
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400931d0
mov rax, rbx
vmovaps xmm6, xmmword [rsp + 0xa0]
vmovaps xmm7, xmmword [rsp + 0xb0]
vmovaps xmm8, xmmword [rsp + 0xc0]
vmovaps xmm9, xmmword [rsp + 0xd0]
vmovaps xmm10, xmmword [rsp + 0xe0]
add rsp, 0xf8
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 0x140086168
mov ecx, 2
lea rdx, [0x140044c60]
cmp rax, rdx
je 0x140086168
jmp 0x1400867d3
xor ebx, ebx
jmp 0x14008611f
cmp rax, r8
jb 0x14008627e
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x14008611f
mov r9, qword [r9]
test r9, r9
jne 0x140086104
jmp 0x14008611f
mov r8d, 0x3f
sub r8, rax
xor edx, edx
vzeroupper
call fcn.1400c3300
jmp 0x1400862c3
cmp eax, 0x3f
je 0x1400862c3
add rcx, rdi
cmp eax, 0x3c
jne 0x140086298
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
vzeroupper
call fcn.140033740
xor ecx, ecx
jmp 0x14008600a
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x38]
mov rdx, rbx
vzeroupper
call fcn.140033740
mov r8, r14
and r8, 0x3f
je 0x140085fe1
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140085fcb
cmp eax, 0x3f
je 0x14008632a
add rcx, rdi
cmp eax, 0x3c
jne 0x140086730
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
vzeroupper
call fcn.140033740
xor ecx, ecx
jmp 0x1400863d3
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
vxorpd xmm0, xmm0, xmm0
vmovupd ymmword [rsp + 0x74], ymm0
vmovupd ymmword [rsp + 0x68], ymm0
vmovupd ymmword [rsp + 0x48], ymm0
vmovupd xmmword [rsp + 0x38], xmm6
test r14, r14
je 0x1400863aa
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
cmp r14, 0x40
jae 0x140086748
mov r8, r14
mov dword [rsp + 0x90], r8d
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.1400c2c60
mov eax, dword [rsp + 0x90]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x4c]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x140086310
cmp rcx, 0x38
je 0x1400863e9
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
vzeroupper
call fcn.1400c3300
lea rbx, [rsp + 0x38]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
vzeroupper
call fcn.140033740
mov ecx, dword [rbx]
bswap ecx
call fcn.14007f180
test al, al
je 0x1400868f2
mov rax, qword [rsi]
mov rax, qword [rax]
lea rcx, [0x1400244a0]
cmp rax, rcx
jne 0x140086494
mov ecx, 0x20
call fcn.1400910bc
mov rdi, rax
mov r15, qword [rsi + 0x28]
vxorpd xmm0, xmm0, xmm0
vmovupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r15
je 0x14008650e
mov rax, r15
shr rax, 0x3e
jne 0x140086928
lea r14, [r15*4]
mov rcx, r14
call fcn.1400910bc
mov rbx, rax
mov qword [rdi], rax
lea r12, [rax + r15*4]
mov qword [rdi + 0x10], r12
mov rcx, rax
xor edx, edx
mov r8, r14
call fcn.1400c3300
mov qword [rdi + 8], r12
jmp 0x140086513
lea rcx, [fcn.14005bde0]
cmp rax, rcx
jne 0x1400864b0
mov rcx, rsi
call fcn.14005bde0
mov rdi, rax
jmp 0x1400866b1
lea rcx, [0x1400de830]
cmp rax, rcx
jne 0x1400867c5
mov ecx, 0x20
call fcn.1400910bc
mov rdi, rax
mov ecx, 0x10
call fcn.1400910bc
mov qword [rdi], rax
lea rcx, [rax + 0x10]
mov qword [rdi + 0x10], rcx
xor edx, edx
mov dword [rax], edx
mov qword [rdi + 8], rcx
mov dword [rdi + 0x1c], edx
movabs rcx, 0x200000001
mov qword [rax + 4], rcx
mov dword [rax + 0xc], 0x7fffffff
mov dword [rdi + 0x18], 0x3eb2a456
jmp 0x1400866b1
xor ebx, ebx
xor r12d, r12d
mov qword [rdi + 0x18], 0
vcvtsi2sd xmm0, xmm1, dword [rsi + 0x20]
call fcn.1400c08c0
mov r14, r12
sub r14, rbx
cmp r14, 4
jbe 0x140086918
mov r15d, dword [rsi + 0x1c]
mov dword [rbx + 4], r15d
sar r14, 2
lea rax, [r14 - 1]
cmp rax, 3
jb 0x140086628
vmovapd xmm6, xmm0
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rbx, [rsp + 0x38]
vmovdqa xmm7, xmmword [0x1400f54d0]
vmovapd xmm8, xmmword [0x1400f54e0]
vmovddup xmm9, qword [0x1400edd38]
vmovddup xmm10, qword [0x1400fc480]
nop word cs:[rax + rax]
vcvtsi2sd xmm0, xmm4, r15d
call fcn.1400c08c0
vmovsd qword [rsp + 0x38], xmm0
mov rcx, rbx
call fcn.1400552a0
mov r13, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x1400868ff
vmovsd xmm0, qword [rsp + 0x38]
vsubsd xmm1, xmm6, xmm0
vmovq xmm2, r14
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 r15d, eax
lea ecx, [r15 + 1]
cmovl ecx, eax
mov dword [r13 + r12*4], ecx
inc r12
mov r15d, ecx
dec r14
jne 0x140086590
mov rbx, qword [rdi]
mov r12, qword [rdi + 8]
cmp r12, rbx
je 0x14008691b
mov dword [r12 - 4], 0x7fffffff
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, r8
je 0x14008691e
js 0x140086925
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x14008689b
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1400866ae
lea r8, [0x1400fd550]
nop word cs:[rax + 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 0x140086680
mov dword [rdi + 0x18], ecx
mov rcx, rdi
call fcn.140081130
cmp qword [rsi + 0x28], 0
je 0x140086847
and byte [rsi + 0x30], 0xbf
mov rcx, qword [rsi]
mov r9, qword [rcx + 8]
lea rdi, [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
mov r8, rax
mov rax, r9
call qword [0x1401093a8]
mov rdi, qword [rdi]
mov eax, dword [rsi + 0x30]
lock or dword [rdi + 0x10], eax
mov rax, qword [rsi]
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 0x140086713
mov rcx, rdi
call fcn.14005acf0
mov rbx, rax
jmp 0x14008614c
lea rcx, [section..text]
cmp rax, rcx
jne 0x14008692b
mov rcx, rsi
mov rdx, rdi
call section..text
jmp 0x140086703
mov r8d, 0x3f
sub r8, rax
xor edx, edx
vzeroupper
call fcn.1400c3300
jmp 0x14008632a
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x38]
mov rdx, rbx
vzeroupper
call fcn.140033740
mov r8, r14
and r8, 0x3f
je 0x1400863aa
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140086394
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140086089
dec r8
xor ebx, ebx
mov rax, qword [r9 + 8]
cmp r15, rax
jne 0x1400867a0
cmp qword [r9 + 0x10], r15
je 0x14008611b
jmp 0x1400867ac
and rax, r8
cmp rax, rcx
jne 0x14008611f
mov r9, qword [r9]
test r9, r9
jne 0x14008678b
jmp 0x14008611f
lea rcx, [r8 - 1]
and rcx, r15
jmp 0x1400860dc
mov rcx, rsi
call qword [0x1401093a8]
jmp 0x1400864a8
mov rcx, rbx
call qword [0x1401093a8]
mov ecx, eax
jmp 0x140086168
lea rcx, [0x140124a28]
call fcn.14001b8d0
test al, al
je 0x140086942
mov qword [0x140124a30], 0
lea r14, [0x140124a30]
mov qword [0x140124a28], r14
jmp 0x140086054
lea rcx, [0x140124a28]
call fcn.14001b8d0
test al, al
je 0x14008694e
mov qword [0x140124a30], 0
lea rax, [0x140124a30]
mov qword [0x140124a28], rax
jmp 0x1400860aa
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 2
lea rdx, [rcx - 1]
mov qword [rsi + 0x28], rdx
mov rdx, qword [rax]
mov r8, qword [rax + 8]
sub r8, rdx
cmp r8, 4
jbe 0x14008693c
mov edx, dword [rdx + 4]
mov dword [rsi + 0x1c], edx
lea r8, [rcx - 2]
mov rdx, qword [rax]
mov r9, qword [rax + 8]
sub r9, rdx
sar r9, 2
cmp r9, r8
jbe 0x14008693f
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsi + 0x20], ecx
jmp 0x1400866c4
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 0x140086666
mov rcx, rbx
call qword [0x1401093a8]
test al, al
jne 0x1400861e7
add rsi, 8
vmovupd xmm0, xmmword [rsi]
lea rcx, [rsp + 0x20]
vmovapd xmmword [rcx], xmm0
call fcn.14007f270
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140002a70
call fcn.1400c3690
mov rbx, rax
jmp 0x1400861e7
int3
int3
int3
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x1400861de
jmp 0x1400868ce
int3
int3
xor ecx, ecx
jmp 0x1400866ae
int3
int3
mov rcx, rsi
mov rdx, rdi
call qword [0x1401093a8]
jmp 0x140086703
int3
int3
mov r14, qword [0x140124a28]
jmp 0x140086054
mov rax, qword [0x140124a28]
jmp 0x1400860aa