Function at 0x1400d0270
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, 0x118
movapd xmmword [rsp + 0x100], xmm9
movdqa xmmword [rsp + 0xf0], xmm8
movaps xmmword [rsp + 0xe0], xmm7
movapd xmmword [rsp + 0xd0], xmm6
mov rdi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, qword [rcx + 8]
mov r14, qword [rcx + 0x10]
xorpd xmm0, xmm0
lea rsi, [rsp + 0x80]
movupd xmmword [rsi + 0x34], xmm0
movupd xmmword [rsi + 0x28], xmm0
movupd xmmword [rsi + 0x18], xmm0
movupd xmmword [rsi + 8], xmm0
movupd xmmword [rsi - 8], xmm0
movaps xmm7, xmmword [0x14020fc90]
movups xmmword [rsi - 0x18], xmm7
test r14, r14
je 0x1400d0331
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x78], eax
mov r8, r14
cmp r14, 0x40
jae 0x1400d0bc5
mov dword [rsp + 0xc0], r14d
mov rcx, rsi
mov rdx, rbx
call fcn.140163ed0
mov eax, dword [rsp + 0xc0]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x78]
mov r14d, dword [rsp + 0x7c]
mov byte [rsp + rax + 0x80], 0x80
cmp rax, 0x38
jae 0x1400d0b95
cmp rcx, 0x38
je 0x1400d0370
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.140164570
lea rbx, [rsp + 0x68]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rsi
call fcn.14007dc80
mov rbx, qword [rbx]
mov r15, qword [0x140243bd0]
test r15, r15
je 0x1400d042b
mov ebp, dword [r15 + 0x50]
movabs r12, 0xaaaaaaaaaaaaaaaa
mov r13d, 0xaaaaaaab
mov qword [rsp + 0x68], r12
mov edx, dword [r15 + 0x6c]
mov eax, dword [r15 + 0x68]
mov rcx, qword [r15 + 0x60]
cmp eax, 0x30
je 0x1400d0c95
lea r10d, [rax + 0x10]
cmp r10d, 0x50
jb 0x1400d042b
mov r9d, eax
mov r8d, r9d
and r8d, 7
jne 0x1400d042b
mov r8d, dword [rcx + 0x14]
cmp r8d, r10d
jb 0x1400d042b
mov rcx, qword [rcx + 8]
mov r10d, dword [rcx + r9 + 4]
cmp r10d, 0xc8799269
jne 0x1400d042b
add rcx, r9
mov r9d, dword [rcx]
cmp r9d, 0x10
jb 0x1400d042b
mov r9d, dword [rcx]
add r9d, eax
jb 0x1400d042b
cmp r9d, r8d
ja 0x1400d042b
test rcx, rcx
je 0x1400d042b
mov r8d, dword [rcx + 0xc]
cmp r8d, 0x30
jne 0x1400d067b
mov r14, qword [0x140243b90]
cmp r14, 1
jbe 0x1400d0cdb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400d0c87
mov r15, qword [0x140243ba0]
test r15, r15
je 0x1400d077c
mov rax, qword [0x140243b90]
cmp rax, 1
jbe 0x1400d0d0d
mov r8, qword [r15 + 8]
test r8, r8
je 0x1400d077c
bswap rbx
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 0x1400d0ca2
mov rcx, rbx
cmp rbx, r8
jb 0x1400d04f7
mov rax, rbx
xor edx, edx
div r8
mov rcx, rdx
mov rax, qword [r15]
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400d077c
mov r10, qword [rax]
test r10, r10
je 0x1400d077c
mov rax, qword [r10 + 8]
cmp rbx, rax
jne 0x1400d0653
cmp qword [r10 + 0x10], rbx
jne 0x1400d0673
mov rbx, qword [r10 + 0x18]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test rbx, rbx
je 0x1400d0785
mov ebp, dword [rdi + 0x18]
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
xor ecx, ecx
lea rdx, [fcn.14000d730]
cmp rax, rdx
jne 0x1400d0624
cmp ebp, ecx
jne 0x1400d0e2a
mov r9, qword [rdi + 0x28]
test r9, r9
je 0x1400d05db
mov edx, dword [rdi + 0x1c]
mov r8d, dword [rdi + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 0x20]
lea rcx, [0x1400986b0]
cmp rax, rcx
jne 0x1400d0f79
mov rax, qword [rbx + 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 0x1400d0e2a
cmp r11, 2
jb 0x1400d0df0
cmp r10, 1
jbe 0x1400d0f66
cmp dword [rax + 4], edx
jne 0x1400d0e2a
mov eax, dword [rax + rcx - 8]
cmp eax, r8d
jne 0x1400d0e2a
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rbx
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm9, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 1
lea rdx, [method.std::__Cr::codecvt_char__char__struct__Mbstatet_.virtual_40]
cmp rax, rdx
je 0x1400d055c
mov ecx, 2
lea rdx, [0x140098720]
cmp rax, rdx
je 0x1400d055c
jmp 0x1400d0ccb
cmp r9d, 1
jbe 0x1400d0cae
cmp rax, r8
jb 0x1400d066a
xor edx, edx
div r8
mov rax, rdx
cmp rax, rcx
jne 0x1400d077c
mov r10, qword [r10]
jmp 0x1400d050a
mov rcx, qword [r15 + 0x60]
lea r9d, [r8 + 0x10]
cmp r9d, 0x50
jb 0x1400d0de4
mov r10d, r8d
and r10d, 7
jne 0x1400d0de4
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
jb 0x1400d0de4
mov r9, qword [rcx + 8]
mov r11d, dword [r9 + r8 + 4]
cmp r11d, 0xc8799269
jne 0x1400d0de4
add r9, r8
mov r11d, dword [r9]
cmp r11d, 0x10
jb 0x1400d0de4
mov r11d, dword [r9]
add r11d, r8d
setb r14b
test r9, r9
je 0x1400d0de4
test r14b, r14b
jne 0x1400d0de4
cmp r11d, r10d
ja 0x1400d0de4
lock cmpxchg dword [r15 + 0x68], r8d
jne 0x1400d03c1
mov eax, dword [r9 + 8]
mov rcx, qword [r15 + 0x60]
mov r9, qword [rcx + 8]
mov r9d, dword [r9 + 0x28]
mov r10d, dword [rcx + 0x14]
cmp r10d, r9d
cmovb r9d, r10d
imul r9, r13
shr r9, 0x24
cmp edx, r9d
ja 0x1400d0de4
lock inc dword [r15 + 0x6c]
cmp eax, 0xf1645913
jne 0x1400d03b9
cmp r8d, ebp
je 0x1400d03b9
jmp 0x1400d0c34
cmp eax, 0x3f
je 0x1400d0762
add rcx, rsi
cmp eax, 0x3c
jne 0x1400d0bf2
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x68]
mov r8d, 1
mov rdx, rsi
call fcn.14007dc80
xor ecx, ecx
jmp 0x1400d0828
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rbx, qword [rdi + 8]
mov r14, qword [rdi + 0x10]
xorpd xmm0, xmm0
movupd xmmword [rsp + 0xb4], xmm0
movupd xmmword [rsp + 0xa8], xmm0
movupd xmmword [rsp + 0x98], xmm0
movupd xmmword [rsp + 0x88], xmm0
movupd xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm7
test r14, r14
je 0x1400d07fc
lea eax, [r14*8]
mov rcx, r14
shr rcx, 0x1d
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x78], eax
mov r8, r14
cmp r14, 0x40
jae 0x1400d0c07
mov dword [rsp + 0xc0], r14d
mov rcx, rsi
mov rdx, rbx
call fcn.140163ed0
mov eax, dword [rsp + 0xc0]
lea rcx, [rax + 1]
mov ebp, dword [rsp + 0x78]
mov r14d, dword [rsp + 0x7c]
mov byte [rsp + rax + 0x80], 0x80
cmp rax, 0x38
jae 0x1400d0748
cmp rcx, 0x38
je 0x1400d083b
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.140164570
lea rbx, [rsp + 0x68]
mov dword [rbx + 0x50], ebp
mov dword [rbx + 0x54], r14d
mov r8d, 1
mov rcx, rbx
mov rdx, rsi
call fcn.14007dc80
mov ecx, dword [rbx]
bswap ecx
call fcn.1400acd00
test al, al
je 0x1400d0f07
mov rax, qword [rdi]
mov rax, qword [rax]
lea rcx, [0x140186a10]
cmp rax, rcx
jne 0x1400d0b12
mov ecx, 0x20
call fcn.14012aa30
mov rbx, rax
mov rdx, qword [rdi + 0x28]
inc rdx
mov rcx, rax
call fcn.1400acc60
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 0x20]
call fcn.14015acb0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, rax
cmp rcx, 4
jbe 0x1400d0f53
mov r12d, dword [rdi + 0x1c]
mov dword [rax + 4], r12d
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov r15, rax
sub r15, rcx
sar r15, 2
lea rdx, [r15 - 1]
cmp rdx, 3
jb 0x1400d09a7
movapd xmm6, xmm0
add r15, 0xfffffffffffffffd
mov r13d, 2
lea r14, [rsp + 0x68]
movq xmm8, qword [0x140204da0]
movapd xmm9, xmmword [0x140204db0]
nop dword [rax + rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, r12d
call fcn.14015acb0
movsd qword [rsp + 0x68], xmm0
mov rcx, r14
call fcn.1400ab2c0
mov rbp, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rbp
sar rax, 2
cmp rax, r13
jbe 0x1400d0f53
movsd xmm1, qword [rsp + 0x68]
movapd xmm0, xmm6
subsd xmm0, xmm1
movq xmm2, r15
punpckldq xmm2, xmm8
subpd xmm2, xmm9
movapd xmm3, xmm2
unpckhpd xmm3, xmm2
addsd xmm3, xmm2
divsd xmm0, xmm3
addsd xmm0, xmm1
call fcn.140162030
call fcn.140161fc0
cvttsd2si eax, xmm0
cmp r12d, eax
lea ecx, [r12 + 1]
cmovl ecx, eax
mov dword [rbp + r13*4], ecx
inc r13
mov r12d, ecx
dec r15
jne 0x1400d0910
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
cmp rax, rcx
je 0x1400d0f53
mov dword [rax - 4], 0x7fffffff
mov r8, qword [rbx]
mov rax, qword [rbx + 8]
mov rdx, rax
sub rdx, r8
je 0x1400d0f8f
js 0x1400d0f96
mov rcx, rdx
shr rcx, 2
test dl, 1
jne 0x1400d0d3f
mov rdx, r8
lea r9, [rax - 1]
cmp r9, r8
je 0x1400d0a2e
lea r8, [0x140210ae0]
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 0x1400d0a00
mov dword [rbx + 0x18], ecx
mov rcx, rbx
call fcn.1400af750
mov rbx, rax
cmp qword [rdi + 0x28], 0
je 0x1400d0d61
mov dword [rsp + 0x64], 0
mov r14, qword [0x140243bd0]
test r14, r14
je 0x1400d0db5
lea rax, [rdi + 8]
mov ecx, dword [rdi + 0x30]
mov edx, dword [rdi + 0x1c]
mov r10d, dword [rdi + 0x20]
movupd xmm0, xmmword [rax]
lea r9, [rsp + 0x50]
movapd xmmword [r9], xmm0
mov r8d, dword [rdi + 0x18]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
lea r15, [rsp + 0x68]
mov rcx, r14
mov rdx, r15
call fcn.1400acf20
mov r15, qword [r15]
test r15, r15
je 0x1400d0db5
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
lea rcx, [fcn.140166e00]
cmp rax, rcx
jne 0x1400d0af5
mov rcx, r15
call fcn.1400ad450
mov rbx, rax
mov edx, dword [rsp + 0x64]
test edx, edx
je 0x1400d0540
cmp rbx, r15
sete r8b
mov rcx, r14
call fcn.1400acdb0
jmp 0x1400d0540
lea rcx, [fcn.140004830]
cmp rax, rcx
jne 0x1400d0f99
mov rcx, rdi
mov rdx, r15
call fcn.140004830
jmp 0x1400d0aca
lea rcx, [0x140186c20]
cmp rax, rcx
jne 0x1400d0b4d
mov ecx, 0x20
call fcn.14012aa30
mov rbx, rax
mov rdx, qword [rdi + 0x28]
inc rdx
mov rcx, rax
call fcn.1400acc60
mov ecx, dword [rdi + 0x1c]
mov edx, dword [rdi + 0x20]
mov r8, rbx
call fcn.1400ad270
jmp 0x1400d0a31
lea rcx, [0x140186d40]
cmp rax, rcx
jne 0x1400d0cba
mov ecx, 0x20
call fcn.14012aa30
mov rbx, rax
mov edx, 4
mov rcx, rax
call fcn.1400acc60
mov ecx, 1
mov edx, 2
jmp 0x1400d0b40
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.140164570
jmp 0x1400d0bab
cmp eax, 0x3f
je 0x1400d0bab
add rcx, rsi
cmp eax, 0x3c
jne 0x1400d0b83
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x68]
mov r8d, 1
mov rdx, rsi
call fcn.14007dc80
xor ecx, ecx
jmp 0x1400d035d
shr r8, 6
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.14007dc80
mov r8, r14
and r8, 0x3f
je 0x1400d0331
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x1400d031e
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.140164570
jmp 0x1400d0762
shr r8, 6
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.14007dc80
mov r8, r14
and r8, 0x3f
je 0x1400d07fc
and r14, 0xffffffffffffffc0
add rbx, r14
mov r14d, r8d
jmp 0x1400d07e9
mov rcx, qword [r15 + 0x58]
lea r14, [rsp + 0x68]
mov rdx, r14
call fcn.1400067a0
mov rcx, qword [r14]
test rcx, rcx
je 0x1400d042b
xor r14d, r14d
mov qword [rsp + 0x68], r14
call fcn.1400ad450
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], r14
test rcx, rcx
je 0x1400d03b4
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1402233e0]
jmp 0x1400d03b4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400d044d
mov rcx, qword [rcx + 8]
add rcx, 0x30
jmp 0x1400d0418
lea rcx, [r8 - 1]
and rcx, rbx
jmp 0x1400d04f7
lea rdx, [r8 - 1]
and rax, rdx
jmp 0x1400d066a
mov rcx, rdi
call qword [0x1402233e0]
mov rbx, rax
jmp 0x1400d0a31
mov rcx, rbx
call qword [0x1402233e0]
mov ecx, eax
jmp 0x1400d055c
lea rcx, [0x140243b90]
call fcn.140006ac0
test al, al
je 0x1400d0faa
mov qword [0x140243b98], 0
lea r14, [0x140243b98]
mov qword [0x140243b90], r14
jmp 0x1400d043c
lea rcx, [0x140243b90]
call fcn.140006ac0
test al, al
je 0x1400d0fb6
mov qword [0x140243b98], 0
lea rax, [0x140243b98]
mov qword [0x140243b90], rax
jmp 0x1400d046e
movzx edx, byte [r8]
movzx r9d, cl
xor r9d, edx
lea rdx, [0x140210ae0]
shr ecx, 8
xor ecx, dword [rdx + r9*4]
lea rdx, [r8 + 1]
jmp 0x1400d09e3
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 2
lea rcx, [rax - 1]
mov qword [rdi + 0x28], rcx
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
sub rdx, rcx
cmp rdx, 4
jbe 0x1400d0f66
mov ecx, dword [rcx + 4]
mov dword [rdi + 0x1c], ecx
lea rdx, [rax - 2]
mov rcx, qword [rbx]
mov r8, qword [rbx + 8]
sub r8, rcx
sar r8, 2
cmp r8, rdx
jbe 0x1400d0f66
mov eax, dword [rcx + rax*4 - 8]
mov dword [rdi + 0x20], eax
jmp 0x1400d0a47
and byte [rdi + 0x30], 0xbf
mov rax, qword [rdi]
mov rax, qword [rax + 8]
lea r15, [rsp + 0x68]
mov rcx, rdi
mov rdx, r15
mov r8, rbx
call qword [0x1402233e0]
mov r15, qword [r15]
mov eax, dword [rdi + 0x30]
lock or dword [r15 + 0x10], eax
jmp 0x1400d0ab7
mov dl, 1
call fcn.140165530
jmp 0x1400d042b
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x1400d05d2
jmp 0x1400d0e2a
shr r8, 6
lea rcx, [rsp + 0x68]
mov rdx, rbx
call fcn.14007dc80
mov r8, rdi
and r8, 0x3f
je 0x1400d0e9f
and rdi, 0xffffffffffffffc0
add rbx, rdi
mov edi, r8d
jmp 0x1400d0e8d
mov rbx, qword [rdi + 8]
mov rdi, qword [rdi + 0x10]
xorpd xmm0, xmm0
movupd xmmword [rsp + 0xb4], xmm0
movupd xmmword [rsp + 0xa8], xmm0
movupd xmmword [rsp + 0x98], xmm0
movupd xmmword [rsp + 0x88], xmm0
movupd xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm7
test rdi, rdi
je 0x1400d0e9f
lea eax, [rdi*8]
mov rcx, rdi
shr rcx, 0x1d
mov dword [rsp + 0x7c], ecx
mov dword [rsp + 0x78], eax
mov r8, rdi
cmp rdi, 0x40
jae 0x1400d0e00
mov dword [rsp + 0xc0], edi
mov rcx, rsi
mov rdx, rbx
call fcn.140163ed0
mov eax, dword [rsp + 0xc0]
lea rcx, [rax + 1]
mov ebx, dword [rsp + 0x78]
mov ebp, dword [rsp + 0x7c]
mov byte [rsp + rax + 0x80], 0x80
cmp rax, 0x38
jae 0x1400d0f14
cmp rcx, 0x38
je 0x1400d0ed9
mov r8d, 0x38
sub r8, rcx
add rcx, rsi
xor edx, edx
call fcn.140164570
lea rdi, [rsp + 0x68]
mov dword [rdi + 0x50], ebx
mov dword [rdi + 0x54], ebp
mov r8d, 1
mov rcx, rdi
mov rdx, rsi
call fcn.14007dc80
mov rdx, qword [rdi]
bswap rdx
lea rcx, str.Histogram.MismatchedConstructionArguments
call fcn.1400b1bc0
call fcn.140164b90
mov rbx, rax
jmp 0x1400d05db
cmp eax, 0x3f
je 0x1400d0f2a
add rcx, rsi
cmp eax, 0x3c
jne 0x1400d0f41
mov byte [rcx + 2], 0
mov word [rcx], 0
lea rcx, [rsp + 0x68]
mov r8d, 1
mov rdx, rsi
call fcn.14007dc80
xor ecx, ecx
jmp 0x1400d0ec6
mov r8d, 0x3f
sub r8, rax
xor edx, edx
call fcn.140164570
jmp 0x1400d0f2a
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140164a90
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_vector:1418:_assertion___n___size___failed:_vector___index_out_of_bounds_n
call fcn.140164a90
mov rcx, rbx
call qword [0x1402233e0]
test al, al
jne 0x1400d05db
jmp 0x1400d0e2a
xor ecx, ecx
jmp 0x1400d0a2e
int3
mov rcx, rdi
mov rdx, r15
call qword [0x1402233e0]
jmp 0x1400d0aca
mov r14, qword [0x140243b90]
jmp 0x1400d043c
mov rax, qword [0x140243b90]
jmp 0x1400d046e