Function at 0x140140f90
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, 0x138
movapd xmmword [rsp + 0x120], xmm8
movdqa xmmword [rsp + 0x110], xmm7
movapd xmmword [rsp + 0x100], xmm6
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rbx, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
xorps xmm0, xmm0
lea rdi, [rsp + 0xb0]
movups xmmword [rdi + 0x34], xmm0
movups xmmword [rdi + 0x28], xmm0
movups xmmword [rdi + 0x18], xmm0
movups xmmword [rdi + 8], xmm0
movups xmmword [rdi - 8], xmm0
movapd xmm0, xmmword [0x140282200]
movupd xmmword [rdi - 0x18], xmm0
test r14, r14
je 0x14014104a
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0xac], ecx
mov dword [rsp + 0xa8], eax
mov r8, r14
cmp r14, 0x40
jae 0x14014187c
mov dword [rsp + 0xf0], r14d
mov rcx, rdi
mov rdx, rbx
call fcn.1401cd6e0
mov eax, dword [rsp + 0xf0]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0xa8]
mov r14d, dword [rsp + 0xac]
mov byte [rsp + rax + 0xb0], Ordinal_133
cmp rax, 0x38
jae 0x140141848
cmp rcx, 0x38
je 0x14014108f
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401cdd80
lea rbx, [rsp + 0x98]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140078e80
mov rdi, qword [rbx]
mov r14, qword [0x1402c5e10]
test r14, r14
je 0x140141150
mov ebp, dword [r14 + 0x50]
movabs r15, 0xaaaaaaaaaaaaaaaa
mov r12d, 0xaaaaaaab
mov qword [rsp + 0x98], r15
mov edx, dword [r14 + 0x6c]
mov eax, dword [r14 + 0x68]
mov rcx, qword [r14 + 0x60]
cmp eax, 0x30
je 0x140141918
lea r10d, [rax + 0x10]
cmp r10d, 0x50
jb 0x140141150
mov r9d, eax
mov r8d, r9d
and r8d, 7
jne 0x140141150
mov r8d, dword [rcx + 0x14]
cmp r8d, r10d
jb 0x140141150
mov rcx, qword [rcx + 8]
mov r10d, dword [rcx + r9 + 4]
cmp r10d, 0xc8799269
jne 0x140141150
add rcx, r9
mov r9d, dword [rcx]
cmp r9d, 0x10
jb 0x140141150
mov r9d, dword [rcx]
add r9d, eax
jb 0x140141150
cmp r9d, r8d
ja 0x140141150
test rcx, rcx
je 0x140141150
mov r8d, dword [rcx + 0xc]
cmp r8d, 0x30
jne 0x14014139b
mov rbx, qword [0x1402c5dd0]
cmp rbx, 1
jbe 0x140141975
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14014190a
lea rbp, [rsi + 8]
mov r14, qword [0x1402c5de0]
test r14, r14
je 0x1401414d7
mov rax, qword [0x1402c5dd0]
cmp rax, 1
jbe 0x1401419a7
mov r8, qword [r14 + 8]
test r8, r8
je 0x1401414d7
bswap rdi
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 r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x140141925
mov rcx, rdi
cmp rdi, r8
jb 0x140141220
mov rax, rdi
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [r14]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1401414d7
mov r10, qword [rax]
test r10, r10
je 0x1401414d7
mov rax, qword [r10 + 8]
cmp rdi, rax
jne 0x140141373
cmp qword [r10 + 0x10], rdi
jne 0x140141393
mov rdi, qword [r10 + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rdi, rdi
je 0x1401414e0
mov ebx, dword [rsi + 0x18]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [0x14018d880]
cmp rax, rdx
jne 0x140141344
cmp ebx, ecx
jne 0x140141a7c
mov r9, qword [rsi + 0x28]
test r9, r9
je 0x140141304
mov edx, dword [rsi + 0x1c]
mov r8d, dword [rsi + 0x20]
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rcx, [0x14009e510]
cmp rax, rcx
jne 0x140141a6b
mov rax, qword [rdi + 0x18]
mov rcx, qword [rax + 0x18]
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 0x140141a7c
cmp r11, 2
jb 0x140141ad0
cmp r10, 1
jbe 0x140141abd
cmp dword [rax + 4], edx
jne 0x140141a7c
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x140141a7c
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140191d70
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [0x1401132b0]
cmp rax, rdx
je 0x140141285
mov ecx, 2
lea rdx, [0x14009e580]
cmp rax, rdx
je 0x140141285
jmp 0x140141965
cmp r9d, 1
jbe 0x140141931
cmp rax, r8
jb 0x14014138a
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x1401414d7
mov r10, qword [r10]
jmp 0x140141233
mov rcx, qword [r14 + 0x60]
lea r9d, [r8 + 0x10]
cmp r9d, 0x50
jb 0x140141a5f
mov r10d, r8d
and r10d, 7
jne 0x140141a5f
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x140141a5f
mov r9, qword [rcx + 8]
mov r11d, dword [r9 + r8 + 4]
cmp r11d, 0xc8799269
jne 0x140141a5f
add r9, r8
mov r11d, dword [r9]
cmp r11d, 0x10
jb 0x140141a5f
mov r11d, dword [r9]
add r11d, r8d
setb bl
test r9, r9
je 0x140141a5f
test bl, bl
jne 0x140141a5f
cmp r11d, r10d
ja 0x140141a5f
lock cmpxchg dword [r14 + 0x68], r8d
jne 0x1401410e6
mov eax, dword [r9 + 8]
mov rcx, qword [r14 + 0x60]
mov r9, qword [rcx + 8]
mov r9d, dword [r9 + 0x28]
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
cmovb r9d, r10d
imul r9, r12
shr r9, 0x24
cmp edx, r9d
ja 0x140141a5f
lock inc dword [r14 + 0x6c]
cmp eax, 0xf1645913
jne 0x1401410de
cmp r8d, ebp
je 0x1401410de
jmp 0x1401418ac
lea rcx, [0x1401d2f50]
cmp rax, rcx
jne 0x140141954
mov ecx, 0x20
call fcn.14018f5a8
mov rdi, rax
mov edx, 4
mov rcx, rax
call fcn.1401132c0
mov ecx, 1
mov edx, 2
jmp 0x1401414ca
lea rcx, [0x1401f8240]
cmp rax, rcx
jne 0x140141466
mov ecx, 0x20
call fcn.14018f5a8
mov rdi, rax
mov rdx, qword [rsi + 0x28]
inc rdx
mov rcx, rax
call fcn.1401132c0
mov ecx, dword [rsi + 0x1c]
mov edx, dword [rsi + 0x20]
mov r8, rdi
call fcn.140113a50
jmp 0x1401416d1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movupd xmm0, xmmword [rbp]
lea rcx, [rsp + 0x80]
movapd xmmword [rcx], xmm0
call fcn.140113580
mov ecx, eax
call fcn.140113360
test al, al
je 0x140141a9d
mov rax, qword [rsi]
mov rax, qword [rax]
lea rcx, [0x1401f8030]
cmp rax, rcx
jne 0x14014149c
mov ecx, 0x20
call fcn.14018f5a8
mov rdi, rax
mov rdx, qword [rsi + 0x28]
inc rdx
mov rcx, rax
call fcn.1401132c0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rsi + 0x20]
call fcn.1401c42e0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x140141aaa
mov r15d, dword [rsi + 0x1c]
mov dword [rax + 4], r15d
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov r14, rax
sub r14, rcx
sar r14, 2
lea rdx, [r14 - 1]
cmp rdx, 3
jb 0x14014164b
movapd xmm6, xmm0
add r14, 0xfffffffffffffffd
mov r12d, 2
lea rbx, [rsp + 0x98]
movq xmm7, qword [0x140276260]
movapd xmm8, xmmword [0x140276270]
nop word cs:[rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r15d
call fcn.1401c42e0
movsd qword [rsp + 0x98], xmm0
mov rcx, rbx
call fcn.14012ae90
mov r13, qword [rdi]
mov rax, qword [rdi + 8]
sub rax, r13
sar rax, 2
cmp rax, r12
jbe 0x140141aaa
movsd xmm1, qword [rsp + 0x98]
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.1401cb840
call fcn.1401cb7d0
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 0x1401415b0
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
cmp rax, rcx
je 0x140141aaa
mov dword [rax - 4], 0x7fffffff
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
mov rcx, rax
sub rcx, r8
je 0x140141ae0
js 0x140141ae7
test cl, 1
jne 0x14014193d
shr rcx, 2
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1401416ce
lea r8, [0x140283050]
nop word cs:[rax + rax]
movzx r9d, cl
movzx r10d, byte [rdx]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
movzx r9d, cl
movzx r10d, byte [rdx + 1]
xor r10d, r9d
shr ecx, 8
xor ecx, dword [r8 + r10*4]
add rdx, 2
cmp rdx, rax
jne 0x1401416a0
mov dword [rdi + 0x18], ecx
mov rcx, rdi
call fcn.1401143f0
mov rdi, rax
cmp qword [rsi + 0x28], 0
je 0x1401419d9
mov dword [rsp + 0x7c], 0
mov rbx, qword [0x1402c5e10]
test rbx, rbx
je 0x140141a2d
mov eax, dword [rsi + 0x30]
mov ecx, dword [rsi + 0x1c]
mov edx, dword [rsi + 0x20]
movupd xmm0, xmmword [rbp]
lea r9, [rsp + 0x60]
movapd xmmword [r9], xmm0
mov r8d, dword [rsi + 0x18]
lea r10, [rsp + 0x7c]
mov qword [rsp + 0x40], r10
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea r14, [rsp + 0x98]
mov rcx, rbx
mov rdx, r14
call fcn.140113700
mov r14, qword [r14]
test r14, r14
je 0x140141a2d
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.1401d35f0]
cmp rax, rcx
jne 0x140141793
mov rcx, r14
call fcn.140113c20
mov rdi, rax
mov edx, dword [rsp + 0x7c]
test edx, edx
je 0x140141269
cmp rdi, r14
sete r8b
mov rcx, rbx
call fcn.140113410
jmp 0x140141269
lea rcx, [0x1401f8280]
cmp rax, rcx
jne 0x140141aea
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
call qword [0x1402a3ee8]
cmp eax, 5
je 0x140141768
mov r8, qword [rsi + 0x38]
test r8, r8
je 0x140141768
mov rdi, qword [r8 + 8]
test rdi, rdi
je 0x140141768
lea r15, [r14 + 0x28]
mov r12d, 0x10
lea r13, [rsp + 0x90]
mov qword [rsp + 0x90], r8
mov rcx, r15
lea rdx, [rsp + 0x98]
mov r9, r13
call fcn.1401f8340
mov rcx, qword [rsp + 0x98]
add rcx, 0x28
mov rdx, rdi
call fcn.14017d080
mov r8, qword [rsi + 0x38]
mov rdi, qword [r8 + r12 + 8]
add r8, r12
add r12, 0x10
test rdi, rdi
jne 0x1401417dc
jmp 0x140141768
mov byte [rcx + 4], 0
mov dword [rcx], 0
jmp 0x14014185f
cmp eax, 0x3a
je 0x140141825
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.1401cdd80
jmp 0x14014185f
cmp eax, 0x3f
je 0x14014185f
add rcx, rdi
cmp rax, 0x3c
jne 0x140141831
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x98]
mov r8d, 1
mov rdx, rdi
call fcn.140078e80
xor ecx, ecx
jmp 0x14014107c
shr r8, 6
lea rcx, [rsp + 0x98]
mov rdx, rbx
call fcn.140078e80
mov r8, r14
and r8, 0x3f
je 0x14014104a
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x140141037
mov rcx, qword [r14 + 0x58]
lea rbx, [rsp + 0x98]
mov rdx, rbx
call fcn.140003c00
mov rcx, qword [rbx]
test rcx, rcx
je 0x140141150
xor ebx, ebx
mov qword [rsp + 0x98], rbx
call fcn.140113c20
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x98], rbx
test rcx, rcx
je 0x1401410d6
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1402a3ee8]
jmp 0x1401410d6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x140141172
mov rcx, qword [rcx + 8]
add rcx, 0x30
jmp 0x14014113d
lea rcx, [r8 - 1]
and rcx, rdi
jmp 0x140141220
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x14014138a
movzx ecx, byte [r8]
lea rdx, [0x140283050]
mov ecx, dword [rdx + rcx*4]
lea rdx, [r8 + 1]
jmp 0x140141684
mov rcx, rsi
call qword [0x1402a3ee8]
mov rdi, rax
jmp 0x1401416d1
mov rcx, rdi
call qword [0x1402a3ee8]
mov ecx, eax
jmp 0x140141285
lea rcx, [0x1402c5dd0]
call fcn.140003dc0
test al, al
je 0x140141afb
mov qword [0x1402c5dd8], 0
lea rbx, [0x1402c5dd8]
mov qword [0x1402c5dd0], rbx
jmp 0x140141161
lea rcx, [0x1402c5dd0]
call fcn.140003dc0
test al, al
je 0x140141b07
mov qword [0x1402c5dd8], 0
lea rax, [0x1402c5dd8]
mov qword [0x1402c5dd0], rax
jmp 0x140141197
mov rax, qword [rdi + 8]
sub rax, qword [rdi]
sar rax, 2
lea rcx, [rax - 1]
mov qword [rsi + 0x28], rcx
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
sub rdx, rcx
cmp rdx, 4
jbe 0x140141abd
mov ecx, dword [rcx + 4]
mov dword [rsi + 0x1c], ecx
lea rdx, [rax - 2]
mov rcx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rcx
sar r8, 2
cmp r8, rdx
jbe 0x140141abd
mov eax, dword [rcx + rax*4 - 8]
mov dword [rsi + 0x20], eax
jmp 0x1401416e7
and byte [rsi + 0x30], 0xbf
mov rax, qword [rsi]
mov rax, qword [rax + 8]
lea r14, [rsp + 0x98]
mov rcx, rsi
mov rdx, r14
mov r8, rdi
call qword [0x1402a3ee8]
mov r14, qword [r14]
mov eax, dword [rsi + 0x30]
lock or dword [r14 + 0x10], eax
jmp 0x140141755
mov dl, 1
call fcn.1401cf830
jmp 0x140141150
mov rcx, rdi
call qword [0x1402a3ee8]
test al, al
jne 0x140141304
movupd xmm0, xmmword [rbp]
lea rcx, [rsp + 0x50]
movapd xmmword [rcx], xmm0
call fcn.140117ea0
lea rcx, str.Histogram.MismatchedConstructionArguments
mov edx, eax
call fcn.1401183a0
call fcn.1401ce7b0
mov rdi, rax
jmp 0x140141304
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceaf0
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.1401ceaf0
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x1401412fb
jmp 0x140141a7c
xor ecx, ecx
jmp 0x1401416ce
int3
mov rcx, rsi
mov rdx, r14
call qword [0x1402a3ee8]
jmp 0x140141768
mov rbx, qword [0x1402c5dd0]
jmp 0x140141161
mov rax, qword [0x1402c5dd0]
jmp 0x140141197