Function at 0x14003b7c0
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 [0x1400f9028]
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.14003c5f0
mov rdi, rax
test rax, rax
je 0x14003b92a
mov esi, dword [r12 + 0x10]
mov rax, qword [rdi]
mov rdx, qword [rax + 0x18]
xor eax, eax
lea rcx, [fcn.14003b2e0]
cmp rdx, rcx
jne 0x14003bd95
cmp esi, eax
jne 0x14003c317
mov r9d, dword [r12 + 0x1c]
test r9d, r9d
je 0x14003b8e1
mov edx, dword [r12 + 0x14]
mov r8d, dword [r12 + 0x18]
mov rax, qword [rdi]
mov rbp, qword [rax + 0x20]
lea rax, [0x1400d1dc0]
cmp rbp, rax
jne 0x14003c3db
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 0x14003c317
sar rbp, 2
lea rcx, [rbp - 1]
cmp rcx, 1
jbe 0x14003c309
cmp dword [rax + 4], edx
jne 0x14003c317
mov eax, dword [rax + rbp*4 - 8]
cmp eax, r8d
jne 0x14003c317
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140065120
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 0x14003b93e
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
movaps xmm8, xmmword [0x1400e2ad0]
lea rdi, [rsp + 0x70]
movaps xmmword [rdi], xmm8
mov r8, rdi
call fcn.14003a0f0
mov ecx, dword [rdi]
bswap ecx
call fcn.14003c4c0
mov ebx, eax
mov rdi, qword [r12 + 8]
movzx edx, byte [rdi + 0x17]
mov rcx, rdi
test dl, dl
jns 0x14003b979
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.14003a0f0
mov r15, qword [rbp]
mov rbp, qword [0x1401025e0]
cmp rbp, 1
jbe 0x14003c263
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003c2fc
mov rax, qword [0x1401025e0]
cmp rax, 1
jbe 0x14003c2a0
mov rax, qword [0x1401025f0]
test rax, rax
je 0x14003c2de
mov rcx, qword [rax + 0x98]
test rcx, rcx
jne 0x14003c3ed
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x14003c356
mov rax, qword [r12]
mov rax, qword [rax]
lea rcx, [0x1400c05d0]
cmp rax, rcx
jne 0x14003bf9d
mov ecx, 0x20
call fcn.140062b88
mov r15, rax
mov esi, dword [r12 + 0x1c]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc esi
je 0x14003ba84
lea rbx, [rsi*4]
mov rcx, rbx
call fcn.140062b88
mov qword [r15], rax
lea rsi, [rax + rsi*4]
mov qword [r15 + 0x10], rsi
test rbx, rbx
je 0x14003c222
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.140067750
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.140079580
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 0x14003bb7c
movapd xmm6, xmm0
add rbp, 0xfffffffffffffffd
mov edi, 8
lea rbx, [rsp + 0x70]
movdqa xmm9, xmmword [0x1400e0a90]
movapd xmm7, xmmword [0x1400e0aa0]
nop word cs:[rax + rax]
nop
mov qword [rsp + 0x70], 0xffffffffffffffff
xorps xmm0, xmm0
cvtsi2sd xmm0, esi
call fcn.140079580
movsd qword [rsp + 0x70], xmm0
mov rcx, rbx
call fcn.140034b00
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.140078960
call fcn.14008d368
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 0x14003baf0
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 0x14003c41f
mov rax, r8
shr rax, 2
mov rcx, rsi
not rcx
add rcx, rdx
jne 0x14003bdc9
xor ebp, ebp
test r8b, 1
je 0x14003bbca
movzx ecx, al
movzx edx, byte [rsi + rbp]
xor edx, ecx
lea rcx, [0x1400e88b0]
shr eax, 8
xor eax, dword [rcx + rdx*4]
mov dword [r15 + 0x18], eax
mov rcx, r15
call fcn.140040370
mov r14, rax
cmp dword [r12 + 0x1c], 0
je 0x14003c232
and byte [r12 + 0x20], 0xbf
mov rax, qword [r12]
mov rax, qword [rax + 8]
lea rcx, [0x1400c0740]
cmp rax, rcx
jne 0x14003be0d
mov ecx, 0x28
call fcn.140062b88
mov rdi, rax
mov rcx, qword [r12 + 8]
call fcn.14003c910
mov rbp, rax
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 0
lea rax, [0x1400e20b8]
mov qword [rdi], rax
xorpd xmm6, xmm6
movupd xmmword [rdi + 0x18], xmm6
test rbp, rbp
je 0x14003c426
mov rcx, rbp
call fcn.14007a960
lea rbx, [rsp + 0x70]
movaps xmmword [rbx], xmm8
mov rcx, rbp
mov rdx, rax
mov r8, rbx
call fcn.14003a0f0
mov rbx, qword [rbx]
bswap rbx
mov ecx, 0x38
call fcn.140062b88
mov rbp, rax
mov ecx, 0x18
call fcn.140062b88
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.140040810
lea r13, [0x1400e2828]
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 0x14003c42d
lea rbx, [rdi + 0x18]
lea r15, fcn.14005f050
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 0x14003c430
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
mov ecx, 0x38
call fcn.140062b88
mov rbp, rax
mov ecx, 0x18
call fcn.140062b88
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.140040810
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 0x14003c442
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 0x14003c445
mov eax, dword [r12 + 0x20]
lock or dword [rdi + 0x10], eax
mov rax, qword [r12]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.140096f80]
cmp rax, rcx
jne 0x14003c0e2
mov rcx, rdi
call fcn.140003aa0
mov rdi, rax
jmp 0x14003b843
mov eax, 1
lea rcx, [0x1400628b0]
cmp rdx, rcx
je 0x14003b861
mov eax, 2
lea rcx, [0x140027430]
cmp rdx, rcx
je 0x14003b861
mov rcx, rdi
call rdx
jmp 0x14003b861
mov rdx, r8
and rdx, 0xfffffffffffffffe
xor ebp, ebp
lea rdi, [0x1400e88b0]
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 0x14003bde0
jmp 0x14003bbae
lea rcx, [0x1400c0980]
cmp rax, rcx
jne 0x14003c20a
mov ecx, 0x40
call fcn.140062b88
mov rdi, rax
mov rcx, qword [r12 + 8]
call fcn.14003c910
mov rbp, rax
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 0
lea rax, [0x1400e20b8]
mov qword [rdi], rax
xorpd xmm6, xmm6
movupd xmmword [rdi + 0x18], xmm6
test rbp, rbp
je 0x14003c454
mov rcx, rbp
call fcn.14007a960
lea rbx, [rsp + 0x70]
movaps xmmword [rbx], xmm8
mov rcx, rbp
mov rdx, rax
mov r8, rbx
call fcn.14003a0f0
mov rbx, qword [rbx]
bswap rbx
mov ecx, 0x38
call fcn.140062b88
mov rbp, rax
mov ecx, 0x18
call fcn.140062b88
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.140040810
lea r15, [0x1400e2828]
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 0x14003c45b
lea rbx, [rdi + 0x18]
lea r13, fcn.14005f050
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 0x14003c45e
mov rax, qword [rbp + 8]
mov rbx, qword [rax]
mov ecx, 0x38
call fcn.140062b88
mov rbp, rax
mov ecx, 0x18
call fcn.140062b88
movupd xmmword [rax], xmm6
xor esi, esi
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rdx, rbx
mov r8, rax
call fcn.140040810
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 0x14003c470
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 0x14003c473
lea rax, [0x1400e2178]
mov qword [rdi], rax
mov rax, rdi
add rax, 0x30
movupd xmmword [rdi + 0x30], xmm6
mov qword [rdi + 0x28], rax
jmp 0x14003bd64
lea rcx, [0x1400c0840]
cmp rax, rcx
jne 0x14003c1fd
mov ecx, 0x20
call fcn.140062b88
mov r15, rax
mov esi, dword [r12 + 0x1c]
xorpd xmm0, xmm0
movupd xmmword [rax], xmm0
mov qword [rax + 0x10], 0
inc esi
je 0x14003c3d2
lea r14, [rsi*4]
mov rcx, r14
call fcn.140062b88
mov rbp, rax
mov qword [r15], rax
lea rbx, [rax + rsi*4]
mov qword [r15 + 0x10], rbx
test r14, r14
je 0x14003c22a
mov rcx, rbp
xor edx, edx
mov r8, r14
call fcn.140067750
mov qword [r15 + 8], rbx
mov qword [r15 + 0x18], 0
sub rbx, rbp
sar rbx, 2
lea rax, [rbx - 1]
cmp rax, 2
jb 0x14003c184
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [r12 + 0x14]
cvtsi2sd xmm1, dword [r12 + 0x18]
add rbx, 0xfffffffffffffffd
movq xmm3, rbx
punpckldq xmm3, xmmword [0x1400e0a90]
subpd xmm3, xmmword [0x1400e0aa0]
movapd xmm2, xmm3
unpckhpd xmm2, xmm3
addsd xmm2, xmm3
xor eax, eax
movdqa xmm3, xmmword [0x1400e0a90]
movapd xmm4, xmmword [0x1400e0aa0]
movsd xmm9, qword [0x1400d77f0]
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 0x14003c173
mov rbp, qword [r15]
add rax, 1
jmp 0x14003c080
lea rcx, [0x1400c0aa0]
cmp rax, rcx
jne 0x14003c482
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rcx, [0x1400628b0]
cmp rax, rcx
jne 0x14003c48f
mov r8, qword [r12 + 0x28]
test r8, r8
je 0x14003bd85
mov rbx, qword [r8 + 8]
test rbx, rbx
je 0x14003bd85
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.1400bfe60
mov rcx, qword [rsp + 0x70]
add rcx, 0x28
mov rdx, rbx
call fcn.14003ce2a
mov r8, qword [r12 + 0x28]
mov rbx, qword [r8 + rsi + 0x18]
add rsi, 0x10
test rbx, rbx
jne 0x14003c134
jmp 0x14003bd85
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 0x14003c41f
mov rax, r8
shr rax, 2
mov rcx, rsi
not rcx
add rcx, rdx
je 0x14003bbac
mov rdx, r8
and rdx, 0xfffffffffffffffe
xor ebp, ebp
lea rdi, [0x1400e88b0]
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 0x14003c1d0
jmp 0x14003bbae
mov rcx, r12
call rax
mov r15, rax
jmp 0x14003bbce
lea rdi, [rsp + 0x70]
mov rcx, r12
mov rdx, rdi
mov r8, r14
call rax
mov rdi, qword [rdi]
jmp 0x14003bd64
mov rsi, rax
jmp 0x14003ba80
mov rbx, rbp
jmp 0x14003c00b
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 0x14003bbe5
lea rcx, [0x1401025e0]
call fcn.14003b3c0
test al, al
je 0x14003c4a2
lea rbp, [0x1401025e8]
mov rcx, rbp
call fcn.140046b10
lea rcx, [0x1401025e0]
mov rdx, rbp
xor r8d, r8d
mov r9, rcx
call fcn.14003b330
jmp 0x14003b9c1
lea rcx, [0x1401025e0]
call fcn.14003b3c0
test al, al
je 0x14003c4ae
lea rcx, [0x1401025e8]
call fcn.140046b10
lea rcx, [0x1401025e0]
lea rdx, [0x1401025e8]
xor r8d, r8d
mov r9, rcx
call fcn.14003b330
jmp 0x14003b9e3
mov ecx, 0xa8
call fcn.140062b88
mov rcx, rax
call fcn.140091780
mov rax, qword [0x1401025f0]
jmp 0x14003b9f3
mov rcx, rbp
call fcn.140034be0
jmp 0x14003b9d2
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x14003b8d8
mov rcx, qword [r12 + 8]
movzx edx, byte [rcx + 0x17]
test dl, dl
jns 0x14003c32b
mov rdx, qword [rcx + 8]
mov rcx, qword [rcx]
movapd xmm0, xmmword [0x1400e2ad0]
lea rsi, [rsp + 0x70]
movapd xmmword [rsi], xmm0
mov r8, rsi
call fcn.14003a0f0
mov rdx, qword [rsi]
bswap rdx
lea rcx, str.Histogram.MismatchedConstructionArguments
call fcn.140053120
mov eax, dword [0x140102618]
mov ecx, dword [0x1400fc638]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
lea rdi, [0x140102600]
cmp eax, dword [rcx + 4]
jle 0x14003b8e1
lea rcx, [0x140102618]
call fcn.140062c24
cmp dword [0x140102618], 0xffffffff
jne 0x14003b8e1
lea rax, str.dummy_histogram
mov qword [0x140102608], rax
mov dword [0x140102610], 0
lea rax, [0x1400e23b0]
mov qword [0x140102600], rax
lea rcx, [0x140102618]
call fcn.140062bc4
jmp 0x14003b8e1
xor ebp, ebp
xor ebx, ebx
jmp 0x14003c00f
mov rcx, rdi
call rbp
test al, al
jne 0x14003b8e1
jmp 0x14003c317
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.1400bfcc0
jmp 0x14003ba03
xor eax, eax
jmp 0x14003bbca
xor eax, eax
jmp 0x14003bc4c
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbp, qword [rbx]
jmp 0x14003bceb
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14003bd64
xor eax, eax
jmp 0x14003be66
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbp, qword [rbx]
jmp 0x14003bf05
int3
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x14003bf7e
mov rcx, r12
mov rdx, rdi
call rax
jmp 0x14003bd85
mov rcx, rdi
call rax
cmp eax, 5
je 0x14003bd85
jmp 0x14003c109
mov rbp, qword [0x1401025e0]
jmp 0x14003b9c1
mov rax, qword [0x1401025e0]
jmp 0x14003b9e3