Function at 0x14003be10
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], xmm9
movaps xmmword [rsp + 0xb0], xmm8
movapd xmmword [rsp + 0xa0], xmm7
movapd xmmword [rsp + 0x90], xmm6
mov r12, rcx
mov rax, qword [0x140100028]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rcx + 8]
movzx ecx, byte [rax + 0x17]
test cl, cl
mov rdx, qword [rax]
cmovns rdx, rax
mov qword [rsp + 0x58], rdx
cmovs rcx, qword [rax + 8]
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x58]
call fcn.14003cc40
mov rdi, rax
test rax, rax
je 0x14003bf7a
mov esi, dword [r12 + 0x10]
mov rax, qword [rdi]
mov rdx, qword [rax + 0x18]
xor eax, eax
lea rcx, [fcn.140049600]
cmp rdx, rcx
jne 0x14003c3e5
cmp esi, eax
jne 0x14003c967
mov r9d, dword [r12 + 0x1c]
test r9d, r9d
je 0x14003bf31
mov edx, dword [r12 + 0x14]
mov r8d, dword [r12 + 0x18]
mov rax, qword [rdi]
mov rbp, qword [rax + 0x20]
lea rax, [0x1400d9830]
cmp rbp, rax
jne 0x14003ca2b
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rbp, qword [rcx + 8]
sub rbp, rax
mov rcx, rbp
shr rcx, 2
add ecx, 0xffffffff
cmp ecx, r9d
jne 0x14003c967
sar rbp, 2
lea rcx, [rbp - 1]
cmp rcx, 1
jbe 0x14003c959
cmp dword [rax + 4], edx
jne 0x14003c967
mov eax, dword [rax + rbp*4 - 8]
cmp eax, r8d
jne 0x14003c967
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140069890
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r12 + 8]
movzx edx, byte [rcx + 0x17]
test dl, dl
jns 0x14003bf8e
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
movaps xmm8, xmmword [0x1400e9af0]
lea rdi, [rsp + 0x70]
movaps xmmword [rdi], xmm8
mov r8, rdi
call fcn.14003b940
mov ecx, dword [rdi]
bswap ecx
call fcn.14003cb10
mov ebx, eax
mov rdi, qword [r12 + 8]
movzx edx, byte [rdi + 0x17]
mov rcx, rdi
test dl, dl
jns 0x14003bfc9
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov r13d, dword [r12 + 0x20]
mov esi, dword [r12 + 0x10]
mov r14d, dword [r12 + 0x18]
mov eax, dword [r12 + 0x14]
mov dword [rsp + 0x50], eax
mov eax, dword [r12 + 0x1c]
mov dword [rsp + 0x54], eax
lea rbp, [rsp + 0x70]
movaps xmmword [rbp], xmm8
mov r8, rbp
call fcn.14003b940
mov r15, qword [rbp]
mov rbp, qword [0x14010ace8]
cmp rbp, 1
jbe 0x14003c8b3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003c94c
mov rax, qword [0x14010ace8]
cmp rax, 1
jbe 0x14003c8f0
mov rax, qword [0x14010acf8]
test rax, rax
je 0x14003c92e
mov rcx, qword [rax + 0x98]
test rcx, rcx
jne 0x14003ca3d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x14003c9a6
mov rax, qword [r12]
mov rax, qword [rax]
lea rcx, [0x1400c9120]
cmp rax, rcx
jne 0x14003c5ed
mov ecx, 0x20
call fcn.140067308
mov r15, rax
mov esi, dword [r12 + 0x1c]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc esi
je 0x14003c0d4
lea rbx, [rsi*4]
mov rcx, rbx
call fcn.140067308
mov qword [r15], rax
lea rsi, [rax + rsi*4]
mov qword [r15 + 0x10], rsi
test rbx, rbx
je 0x14003c872
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14006bec0
mov qword [r15 + 8], rsi
mov qword [r15 + 0x18], 0
mov esi, dword [r12 + 0x14]
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [r12 + 0x18]
call fcn.14007c760
mov rax, qword [r15]
mov dword [rax + 4], esi
mov rax, qword [r15]
mov rbp, qword [r15 + 8]
sub rbp, rax
sar rbp, 2
lea rcx, [rbp - 1]
cmp rcx, 3
jb 0x14003c1cc
movapd xmm6, xmm0
add rbp, 0xfffffffffffffffd
mov edi, 8
lea rbx, [rsp + 0x70]
movdqa xmm9, xmmword [0x1400e7ab0]
movapd xmm7, xmmword [0x1400e7ac0]
nop word cs:[rax + rax]
nop
mov qword [rsp + 0x70], 0xffffffffffffffff
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
call fcn.14007c760
movsd qword [rsp + 0x70], xmm0
mov rcx, rbx
call fcn.140036350
movsd xmm1, qword [rsp + 0x70]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, rbp
punpckldq xmm2, xmm9
subpd xmm2, xmm7
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.14007bbf0
call fcn.1400908f8
cvttsd2si eax, xmm0
cmp esi, eax
lea ecx, [rsi + 1]
cmovl ecx, eax
mov rax, qword [r15]
mov dword [rax + rdi], ecx
add rdi, 4
mov esi, ecx
add rbp, 0xffffffffffffffff
jne 0x14003c140
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
sub rcx, rax
sar rcx, 2
dec rcx
mov dword [rax + rcx*4], 0x7fffffff
mov rsi, qword [r15]
mov rdx, qword [r15 + 8]
mov r8, rdx
sub r8, rsi
je 0x14003ca6f
mov rax, r8
shr rax, 2
mov rcx, rsi
not rcx
add rcx, rdx
jne 0x14003c419
xor ebp, ebp
test r8b, 1
je 0x14003c21a
movzx ecx, al
movzx edx, byte [rsi + rbp]
xor edx, ecx
lea rcx, [0x1400f4350]
shr eax, 8
xor eax, dword [rcx + rdx*4]
mov dword [r15 + 0x18], eax
mov rcx, r15
call fcn.140042340
mov r14, rax
cmp dword [r12 + 0x1c], 0
je 0x14003c882
and byte [r12 + 0x20], 0xbf
mov rax, qword [r12]
mov rax, qword [rax + 8]
lea rcx, [0x1400c9290]
cmp rax, rcx
jne 0x14003c45d
mov ecx, 0x28
call fcn.140067308
mov rdi, rax
mov rcx, qword [r12 + 8]
call fcn.14003cf60
mov rbp, rax
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 0
lea rax, [0x1400e90d8]
mov qword [rdi], rax
xorpd xmm6, xmm6
movupd xmmword [rdi + 0x18], xmm6
test rbp, rbp
je 0x14003ca76
mov rcx, rbp
call fcn.14007db40
lea rbx, [rsp + 0x70]
movaps xmmword [rbx], xmm8
mov rcx, rbp
mov rdx, rax
mov r8, rbx
call fcn.14003b940
mov rbx, qword [rbx]
bswap rbx
mov ecx, 0x38
call fcn.140067308
mov rbp, rax
mov ecx, 0x18
call fcn.140067308
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.1400427e0
lea r13, [0x1400e9848]
mov qword [rbp], r13
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r14
mov rax, qword [r14 + 8]
sub rax, qword [r14]
cmp rax, 4
je 0x14003ca7d
lea rbx, [rdi + 0x18]
lea r15, fcn.140063b40
mov qword [rbp], r15
xorpd xmm6, xmm6
movupd xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x30], 0
mov rcx, qword [rbx]
mov qword [rbx], rbp
test rcx, rcx
jne 0x14003ca80
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
mov ecx, 0x38
call fcn.140067308
mov rbp, rax
mov ecx, 0x18
call fcn.140067308
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.1400427e0
mov qword [rbp], r13
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r14
mov rax, qword [r14 + 8]
sub rax, qword [r14]
cmp rax, 4
je 0x14003ca92
mov qword [rbp], r15
xorpd xmm0, xmm0
movupd xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 0x20], rbp
test rcx, rcx
jne 0x14003ca95
mov eax, dword [r12 + 0x20]
lock or dword [rdi + 0x10], eax
mov rax, qword [r12]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.14009aec0]
cmp rax, rcx
jne 0x14003c732
mov rcx, rdi
call fcn.1400038d0
mov rdi, rax
jmp 0x14003be93
mov eax, 1
lea rcx, [0x140067030]
cmp rdx, rcx
je 0x14003beb1
mov eax, 2
lea rcx, [0x140028e40]
cmp rdx, rcx
je 0x14003beb1
mov rcx, rdi
call rdx
jmp 0x14003beb1
mov rdx, r8
and rdx, 0xfffffffffffffffe
xor ebp, ebp
lea rdi, [0x1400f4350]
nop dword [rax]
movzx ecx, al
movzx ebx, byte [rsi + rbp]
xor ebx, ecx
shr eax, 8
xor eax, dword [rdi + rbx*4]
movzx ecx, al
movzx ebx, byte [rsi + rbp + 1]
xor ebx, ecx
shr eax, 8
xor eax, dword [rdi + rbx*4]
add rbp, 2
cmp rdx, rbp
jne 0x14003c430
jmp 0x14003c1fe
lea rcx, [0x1400c94d0]
cmp rax, rcx
jne 0x14003c85a
mov ecx, 0x40
call fcn.140067308
mov rdi, rax
mov rcx, qword [r12 + 8]
call fcn.14003cf60
mov rbp, rax
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 0
lea rax, [0x1400e90d8]
mov qword [rdi], rax
xorpd xmm6, xmm6
movupd xmmword [rdi + 0x18], xmm6
test rbp, rbp
je 0x14003caa4
mov rcx, rbp
call fcn.14007db40
lea rbx, [rsp + 0x70]
movaps xmmword [rbx], xmm8
mov rcx, rbp
mov rdx, rax
mov r8, rbx
call fcn.14003b940
mov rbx, qword [rbx]
bswap rbx
mov ecx, 0x38
call fcn.140067308
mov rbp, rax
mov ecx, 0x18
call fcn.140067308
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.1400427e0
lea r15, [0x1400e9848]
mov qword [rbp], r15
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r14
mov rax, qword [r14 + 8]
sub rax, qword [r14]
cmp rax, 4
je 0x14003caab
lea rbx, [rdi + 0x18]
lea r13, fcn.140063b40
mov qword [rbp], r13
xorpd xmm6, xmm6
movupd xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x30], 0
mov rcx, qword [rbx]
mov qword [rbx], rbp
test rcx, rcx
jne 0x14003caae
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
mov ecx, 0x38
call fcn.140067308
mov rbp, rax
mov ecx, 0x18
call fcn.140067308
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.1400427e0
mov qword [rbp], r15
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r14
mov rax, qword [r14 + 8]
sub rax, qword [r14]
cmp rax, 4
je 0x14003cac0
mov qword [rbp], r13
xorpd xmm6, xmm6
movupd xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 0x20], rbp
test rcx, rcx
jne 0x14003cac3
lea rax, [0x1400e9198]
mov qword [rdi], rax
mov rax, rdi
add rax, 0x30
movupd xmmword [rdi + 0x30], xmm6
mov qword [rdi + 0x28], rax
jmp 0x14003c3b4
lea rcx, [0x1400c9390]
cmp rax, rcx
jne 0x14003c84d
mov ecx, 0x20
call fcn.140067308
mov r15, rax
mov esi, dword [r12 + 0x1c]
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc esi
je 0x14003ca22
lea r14, [rsi*4]
mov rcx, r14
call fcn.140067308
mov rbp, rax
mov qword [r15], rax
lea rbx, [rax + rsi*4]
mov qword [r15 + 0x10], rbx
test r14, r14
je 0x14003c87a
mov rcx, rbp
xor edx, edx
mov r8, r14
call fcn.14006bec0
mov qword [r15 + 8], rbx
mov qword [r15 + 0x18], 0
sub rbx, rbp
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 2
jb 0x14003c7d4
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [r12 + 0x14]
cvtsi2sd xmm1, dword [r12 + 0x18]
add rbx, 0xfffffffffffffffd
movq xmm3, rbx
punpckldq xmm3, xmmword [0x1400e7ab0]
subpd xmm3, xmmword [0x1400e7ac0]
movapd xmm2, xmm3
unpckhpd xmm2, xmm3
addsd xmm2, xmm3
xor eax, eax
movdqa xmm3, xmmword [0x1400e7ab0]
movapd xmm4, xmmword [0x1400e7ac0]
movsd xmm9, qword [0x1400de810]
nop dword [rax]
movq xmm6, rbx
punpckldq xmm6, xmm3
subpd xmm6, xmm4
movapd xmm7, xmm6
unpckhpd xmm7, xmm6
addsd xmm7, xmm6
mulsd xmm7, xmm0
movq xmm5, rax
punpckldq xmm5, xmm3
subpd xmm5, xmm4
movapd xmm6, xmm5
unpckhpd xmm6, xmm5
addsd xmm6, xmm5
mulsd xmm6, xmm1
addsd xmm6, xmm7
divsd xmm6, xmm2
addsd xmm6, xmm9
cvttsd2si ecx, xmm6
mov dword [rbp + rax*4 + 4], ecx
sub rbx, 1
jb 0x14003c7c3
mov rbp, qword [r15]
add rax, 1
jmp 0x14003c6d0
lea rcx, [0x1400c95f0]
cmp rax, rcx
jne 0x14003cad2
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rcx, [0x140067030]
cmp rax, rcx
jne 0x14003cadf
mov r8, qword [r12 + 0x28]
test r8, r8
je 0x14003c3d5
mov rbx, qword [r8 + 8]
test rbx, rbx
je 0x14003c3d5
lea rbp, [rdi + 0x28]
xor esi, esi
lea r14, [rsp + 0x70]
lea r15, [rsp + 0x68]
add r8, rsi
mov qword [rsp + 0x68], r8
mov rcx, rbp
mov rdx, r14
mov r9, r15
call fcn.1400c89b0
mov rcx, qword [rsp + 0x70]
add rcx, 0x28
mov rdx, rbx
call fcn.14003df3c
mov r8, qword [r12 + 0x28]
mov rbx, qword [r8 + rsi + 0x18]
add rsi, 0x10
test rbx, rbx
jne 0x14003c784
jmp 0x14003c3d5
mov rbp, qword [r15]
mov rax, qword [r15 + 8]
sub rax, rbp
sar rax, 2
dec rax
mov dword [rbp + rax*4], 0x7fffffff
mov rsi, qword [r15]
mov rdx, qword [r15 + 8]
mov r8, rdx
sub r8, rsi
je 0x14003ca6f
mov rax, r8
shr rax, 2
mov rcx, rsi
not rcx
add rcx, rdx
je 0x14003c1fc
mov rdx, r8
and rdx, 0xfffffffffffffffe
xor ebp, ebp
lea rdi, [0x1400f4350]
nop word cs:[rax + rax]
nop
movzx ecx, al
movzx ebx, byte [rsi + rbp]
xor ebx, ecx
shr eax, 8
xor eax, dword [rdi + rbx*4]
movzx ecx, al
movzx ebx, byte [rsi + rbp + 1]
xor ebx, ecx
shr eax, 8
xor eax, dword [rdi + rbx*4]
add rbp, 2
cmp rdx, rbp
jne 0x14003c820
jmp 0x14003c1fe
mov rcx, r12
call rax
mov r15, rax
jmp 0x14003c21e
lea rdi, [rsp + 0x70]
mov rcx, r12
mov rdx, rdi
mov r8, r14
call rax
mov rdi, qword [rdi]
jmp 0x14003c3b4
mov rsi, rax
jmp 0x14003c0d0
mov rbx, rbp
jmp 0x14003c65b
mov rax, qword [r14 + 8]
sub rax, qword [r14]
shr rax, 2
lea ecx, [rax - 1]
mov dword [r12 + 0x1c], ecx
mov rcx, qword [r14]
mov ecx, dword [rcx + 4]
mov dword [r12 + 0x14], ecx
add eax, 0xfffffffe
mov rcx, qword [r14]
mov eax, dword [rcx + rax*4]
mov dword [r12 + 0x18], eax
jmp 0x14003c235
lea rcx, [0x14010ace8]
call fcn.1400473a0
test al, al
je 0x14003caf2
lea rbp, [0x14010acf0]
mov rcx, rbp
call fcn.140049520
lea rcx, [0x14010ace8]
mov rdx, rbp
xor r8d, r8d
mov r9, rcx
call fcn.140047310
jmp 0x14003c011
lea rcx, [0x14010ace8]
call fcn.1400473a0
test al, al
je 0x14003cafe
lea rcx, [0x14010acf0]
call fcn.140049520
lea rcx, [0x14010ace8]
lea rdx, [0x14010acf0]
xor r8d, r8d
mov r9, rcx
call fcn.140047310
jmp 0x14003c033
mov ecx, 0xa8
call fcn.140067308
mov rcx, rax
call fcn.140094d10
mov rax, qword [0x14010acf8]
jmp 0x14003c043
mov rcx, rbp
call fcn.140036430
jmp 0x14003c022
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14003bf28
mov rcx, qword [r12 + 8]
movzx edx, byte [rcx + 0x17]
test dl, dl
jns 0x14003c97b
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
movapd xmm0, xmmword [0x1400e9af0]
lea rsi, [rsp + 0x70]
movapd xmmword [rsi], xmm0
mov r8, rsi
call fcn.14003b940
mov rdx, qword [rsi]
bswap rdx
lea rcx, str.Histogram.MismatchedConstructionArguments
call fcn.140057280
mov eax, dword [0x14010ad20]
mov ecx, dword [0x1401036f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
lea rdi, [0x14010ad08]
cmp eax, dword [rcx + 4]
jle 0x14003bf31
lea rcx, [0x14010ad20]
call fcn.1400673a4
cmp dword [0x14010ad20], 0xffffffff
jne 0x14003bf31
lea rax, str.dummy_histogram
mov qword [0x14010ad10], rax
mov dword [0x14010ad18], 0
lea rax, [0x1400e9510]
mov qword [0x14010ad08], rax
lea rcx, [0x14010ad20]
call fcn.140067344
jmp 0x14003bf31
xor ebp, ebp
xor ebx, ebx
jmp 0x14003c65f
mov rcx, rdi
call rbp
test al, al
jne 0x14003bf31
jmp 0x14003c967
bswap r15
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r14d
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov rdx, r15
mov r8, rdi
mov r9d, dword [rsp + 0x54]
call fcn.1400c8810
jmp 0x14003c053
xor eax, eax
jmp 0x14003c21a
xor eax, eax
jmp 0x14003c29c
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbp, qword [rbx]
jmp 0x14003c33b
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14003c3b4
xor eax, eax
jmp 0x14003c4b6
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbp, qword [rbx]
jmp 0x14003c555
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14003c5ce
mov rcx, r12
mov rdx, rdi
call rax
jmp 0x14003c3d5
mov rcx, rdi
call rax
cmp eax, 5
je 0x14003c3d5
jmp 0x14003c759
mov rbp, qword [0x14010ace8]
jmp 0x14003c011
mov rax, qword [0x14010ace8]
jmp 0x14003c033