Function at 0x1400846d0
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, 0xd8
movapd xmmword [rsp + 0xc0], xmm8
movdqa xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, rcx
mov rax, qword [0x14010c040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
xorpd xmm0, xmm0
lea rdi, [rsp + 0x50]
movupd xmmword [rdi + 0x34], xmm0
movupd xmmword [rdi + 0x28], xmm0
movupd xmmword [rdi + 0x18], xmm0
movupd xmmword [rdi + 8], xmm0
movupd xmmword [rdi - 8], xmm0
movapd xmm6, xmmword [0x1400f7dd0]
movupd xmmword [rdi - 0x18], xmm6
test r14, r14
je 0x140084786
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
cmp r14, 0x40
jae 0x140084abe
mov r8, r14
mov dword [rsp + 0x90], r8d
mov rcx, rdi
mov rdx, rbx
call fcn.1400beac0
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 0x140084a8e
cmp rcx, 0x38
je 0x1400847c2
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1400bf160
lea rbx, [rsp + 0x38]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140032f80
mov r15, qword [rbx]
mov rbx, qword [0x1401235d0]
cmp rbx, 1
jbe 0x140084fae
mov rax, qword [0x14010e5a0]
and rax, rbx
cmp rax, qword [0x14010e588]
jne 0x14008480e
mov rcx, rbx
call fcn.140053a20
test rbx, rbx
je 0x1400850cd
mov rcx, rbx
call qword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140084f42
mov r14, qword [0x1401235e0]
test r14, r14
je 0x140084a4d
mov rax, qword [0x1401235d0]
cmp rax, 1
jbe 0x140084fe0
mov r8, qword [r14 + 8]
test r8, r8
je 0x140084a4d
bswap r15
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 0x140084f84
mov rcx, r15
cmp r15, r8
jb 0x1400848d2
mov rax, r15
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [r14]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x140084a4d
mov r9, qword [rax]
test r9, r9
je 0x140084a4d
cmp r10d, 2
jb 0x140084f50
xor r14d, r14d
mov rax, qword [r9 + 8]
cmp r15, rax
jne 0x140084a55
cmp qword [r9 + 0x10], r15
jne 0x140084a6b
mov r14, qword [r9 + 0x18]
mov rcx, rbx
call qword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
mov rax, qword [0x14010e5a0]
and rax, rbx
cmp rax, qword [0x14010e588]
jne 0x14008493a
mov rcx, rbx
call fcn.140053ce0
test r14, r14
je 0x140084b1f
mov edi, dword [rsi + 0x18]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14008e8d0]
cmp rax, rdx
jne 0x140084a1e
cmp edi, ecx
jne 0x140085099
mov r9, qword [rsi + 0x28]
test r9, r9
je 0x1400849de
mov edx, dword [rsi + 0x1c]
mov r8d, dword [rsi + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
lea rcx, [0x14004f210]
cmp rax, rcx
jne 0x140085088
mov rax, qword [r14 + 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 0x140085099
cmp r9, 1
je 0x1400850d3
cmp r10, 1
jbe 0x1400850d0
cmp dword [rax + 4], edx
jne 0x140085099
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x140085099
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400909a0
mov rax, r14
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
add rsp, 0xd8
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 0x14008495f
mov ecx, 2
lea rdx, [0x14004f430]
cmp rax, rdx
je 0x14008495f
jmp 0x140084f9e
xor r14d, r14d
jmp 0x140084916
cmp rax, r8
jb 0x140084a62
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x140084916
mov r9, qword [r9]
test r9, r9
jne 0x1400848fb
jmp 0x140084916
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400bf160
jmp 0x140084aa4
cmp eax, 0x3f
je 0x140084aa4
add rcx, rdi
cmp eax, 0x3c
jne 0x140084a7c
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
call fcn.140032f80
xor ecx, ecx
jmp 0x1400847af
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.140032f80
mov r8, r14
and r8, 0x3f
je 0x140084786
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140084773
cmp eax, 0x3f
je 0x140084b05
add rcx, rdi
cmp eax, 0x3c
jne 0x140084f00
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x38]
mov r8d, 1
mov rdx, rdi
call fcn.140032f80
xor ecx, ecx
jmp 0x140084bb7
mov rbx, qword [rsi + 8]
mov r14, qword [rsi + 0x10]
xorpd xmm0, xmm0
movupd xmmword [rsp + 0x84], xmm0
movupd xmmword [rsp + 0x78], xmm0
movupd xmmword [rsp + 0x68], xmm0
movupd xmmword [rsp + 0x58], xmm0
movupd xmmword [rsp + 0x48], xmm0
movupd xmmword [rsp + 0x38], xmm6
test r14, r14
je 0x140084b8e
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x4c], ecx
mov dword [rsp + 0x48], eax
cmp r14, 0x40
jae 0x140084f15
mov r8, r14
mov dword [rsp + 0x90], r8d
mov rcx, rdi
mov rdx, rbx
call fcn.1400beac0
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 0x140084aeb
cmp rcx, 0x38
je 0x140084bca
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1400bf160
lea rbx, [rsp + 0x38]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140032f80
mov ecx, dword [rbx]
bswap ecx
call fcn.14007d7c0
test al, al
je 0x1400850bd
mov rax, qword [rsi]
mov rax, qword [rax]
lea rcx, [0x140022860]
cmp rax, rcx
jne 0x140084c72
mov ecx, 0x20
call fcn.14008ed5c
mov rdi, rax
mov r15, qword [rsi + 0x28]
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc r15
je 0x140084cec
mov rax, r15
shr rax, 0x3e
jne 0x1400850f3
lea r14, [r15*4]
mov rcx, r14
call fcn.14008ed5c
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.1400bf160
mov qword [rdi + 8], r12
jmp 0x140084cf1
lea rcx, [fcn.140059b50]
cmp rax, rcx
jne 0x140084c8e
mov rcx, rsi
call fcn.140059b50
mov rdi, rax
jmp 0x140084e81
lea rcx, [0x1400e0e50]
cmp rax, rcx
jne 0x140084f90
mov ecx, 0x20
call fcn.14008ed5c
mov rdi, rax
mov ecx, 0x10
call fcn.14008ed5c
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 0x140084e81
xor ebx, ebx
xor r12d, r12d
mov qword [rdi + 0x18], 0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x20]
call fcn.1400bc720
mov r14, r12
sub r14, rbx
cmp r14, 4
jbe 0x1400850e3
mov r15d, dword [rsi + 0x1c]
mov dword [rbx + 4], r15d
sar r14, 2
lea rax, [r14 - 1]
cmp rax, 3
jb 0x140084df5
movapd xmm6, xmm0
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rbx, [rsp + 0x38]
movdqa xmm7, xmmword [0x1400efe70]
movapd xmm8, xmmword [0x1400efe80]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r15d
call fcn.1400bc720
movsd qword [rsp + 0x38], xmm0
mov rcx, rbx
call fcn.140053a10
mov r13, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x1400850ca
movsd xmm1, qword [rsp + 0x38]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, r14
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 r15d, eax
lea ecx, [r15 + 1]
cmovl ecx, eax
mov dword [r13 + r12*4], ecx
inc r12
mov r15d, ecx
dec r14
jne 0x140084d60
mov rbx, qword [rdi]
mov r12, qword [rdi + 8]
cmp r12, rbx
je 0x1400850e6
mov dword [r12 - 4], 0x7fffffff
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov rdx, rax
sub rdx, r8
je 0x1400850e9
js 0x1400850f0
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x140085066
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x140084e7e
lea r8, [0x1400f7f60]
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 0x140084e50
mov dword [rdi + 0x18], ecx
mov rcx, rdi
call fcn.14007f760
cmp qword [rsi + 0x28], 0
je 0x140085012
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 [0x140102bb8]
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 0x140084ee3
mov rcx, rdi
call fcn.140058940
mov r14, rax
jmp 0x140084943
lea rcx, [section..text]
cmp rax, rcx
jne 0x1400850f6
mov rcx, rsi
mov rdx, rdi
call section..text
jmp 0x140084ed3
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1400bf160
jmp 0x140084b05
mov r8, r14
shr r8, 6
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.140032f80
mov r8, r14
and r8, 0x3f
je 0x140084b8e
and r14, 0xffffffffffffffc0
add rbx, r14
jmp 0x140084b7b
mov rcx, rbx
call qword [sym.imp.progwrp.dll_AcquireSRWLockExclusive]
jmp 0x140084828
dec r8
xor r14d, r14d
mov rax, qword [r9 + 8]
cmp r15, rax
jne 0x140084f6b
cmp qword [r9 + 0x10], r15
je 0x140084912
jmp 0x140084f77
and rax, r8
cmp rax, rcx
jne 0x140084916
mov r9, qword [r9]
test r9, r9
jne 0x140084f56
jmp 0x140084916
lea rcx, [r8 - 1]
and rcx, r15
jmp 0x1400848d2
mov rcx, rsi
call qword [0x140102bb8]
jmp 0x140084c86
mov rcx, r14
call qword [0x140102bb8]
mov ecx, eax
jmp 0x14008495f
lea rcx, [0x1401235d0]
call fcn.14001b920
test al, al
je 0x14008510d
mov qword [0x1401235d8], 0
lea rbx, [0x1401235d8]
mov qword [0x1401235d0], rbx
jmp 0x1400847f3
lea rcx, [0x1401235d0]
call fcn.14001b920
test al, al
je 0x140085119
mov qword [0x1401235d8], 0
lea rax, [0x1401235d8]
mov qword [0x1401235d0], rax
jmp 0x140084849
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 0x140085107
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 0x14008510a
mov ecx, dword [rdx + rcx*4 - 8]
mov dword [rsi + 0x20], ecx
jmp 0x140084e94
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 0x140084e33
mov rcx, r14
call qword [0x140102bb8]
test al, al
jne 0x1400849de
add rsi, 8
movupd xmm0, xmmword [rsi]
lea rcx, [rsp + 0x20]
movapd xmmword [rcx], xmm0
call fcn.14007d8b0
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.140002840
call fcn.1400bf4f0
mov r14, rax
jmp 0x1400849de
int3
int3
int3
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x1400849d5
jmp 0x140085099
int3
int3
xor ecx, ecx
jmp 0x140084e7e
int3
int3
mov rcx, rsi
mov rdx, rdi
call qword [0x140102bb8]
jmp 0x140084ed3
int3
int3
mov rbx, qword [0x1401235d0]
jmp 0x1400847f3
mov rax, qword [0x1401235d0]
jmp 0x140084849