Function at 0x14006c460
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movdqa xmmword [rsp + 0x80], xmm6
mov r9, qword [rcx + 0x18]
mov rax, r9
inc rax
je 0x14006cdc2
mov r8, rcx
mov rbp, qword [rcx + 8]
lea r14, [rbp + 1]
mov rcx, r14
shr rcx, 3
mov r10, r14
and r10, 0xfffffffffffffff8
sub r10, rcx
cmp rbp, 8
cmovb r10, rbp
movdqa xmm6, xmmword [rdx]
mov rcx, r10
shr rcx, 1
cmp rax, rcx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
jbe 0x14006c4ef
inc r10
cmp rax, r10
cmova r10, rax
cmp r10, 8
jae 0x14006c521
xor eax, eax
cmp r10, 4
setae al
lea rdi, [rax*4 + 4]
jmp 0x14006c56f
mov qword [rsp + 0x58], r10
mov rbx, qword [r8]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x14006c85a
cmp rax, 1
jne 0x14006c7f4
xor ecx, ecx
jmp 0x14006c844
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp r10, rax
ja 0x14006cdc2
shl r10, 3
movabs rcx, 0x2492492492492493
mov rax, r10
mul rcx
sub r10, rdx
shr r10, 1
add r10, rdx
shr r10, 2
dec r10
bsr rcx, r10
not ecx
mov rdi, 0xffffffffffffffff
shr rdi, cl
inc rdi
mov ecx, 0x30
mov rax, rdi
mul rcx
jo 0x14006cdc2
mov r15, rax
lea r12, [rdi + 0x10]
mov rbx, rax
add rbx, r12
jb 0x14006cdc2
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
ja 0x14006cdc2
test rbx, rbx
je 0x14006c5cc
movzx eax, byte [0x14035b110]
xor ecx, ecx
mov rdx, rbx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
mov r13, rax
test rax, rax
jne 0x14006c5d2
mov rcx, rbx
call sym.hashbrown::raw::Fallibility::alloc_err::hf6756c1c32550c91
mov r13d, 0x10
lea rsi, [rdi - 1]
mov rax, rdi
shr rax, 3
mov rcx, rdi
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rdi, 9
cmovb rcx, rsi
mov qword [rsp + 0x48], rcx
lea rbx, [r13 + r15]
mov rcx, rbx
mov dl, 0xff
mov r8, r12
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x38]
mov r8, qword [rax]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14006c78d
mov qword [rsp + 0x40], r14
lea rcx, [r15 + r13]
add rcx, 0xffffffffffffffd0
mov qword [rsp + 0x28], rcx
movdqa xmm0, xmmword [r8]
pmovmskb r13d, xmm0
not r13d
lea rcx, [r8 - 0x30]
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov r15, rax
mov rdi, r8
mov qword [rsp + 0x20], r8
jmp 0x14006c6c8
lea ecx, [r13 - 1]
and ecx, r13d
dec r15
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
shl r12, 4
lea rax, [r12 + r12*2]
mov r9, qword [rsp + 0x50]
sub r9, rax
shl rdx, 4
lea rax, [rdx + rdx*2]
mov rdx, qword [rsp + 0x28]
sub rdx, rax
movdqu xmm0, xmmword [r9]
movdqu xmm1, xmmword [r9 + 0x10]
movdqu xmm2, xmmword [r9 + 0x20]
movdqu xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
mov r13d, ecx
test r15, r15
je 0x14006c781
test r13w, r13w
jne 0x14006c6ee
nop
movdqa xmm0, xmmword [rdi + 0x10]
add rdi, 0x10
pmovmskb r13d, xmm0
add r14, 0x10
cmp r13d, 0xffff
je 0x14006c6d0
not r13d
tzcnt r12d, r13d
add r12, r14
mov rax, r12
neg rax
lea rax, [rax + rax*2]
shl rax, 4
mov rdx, qword [r8 + rax - 0x28]
mov r8, qword [r8 + rax - 0x20]
movdqa xmmword [rsp + 0x70], xmm6
lea rcx, [rsp + 0x70]
call sym.core::hash::BuildHasher::hash_one::h69017d1a178a5729
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14006c757
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14006c740
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x14006c660
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14006c660
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
jmp 0x14006c78f
xor eax, eax
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, qword [rsp + 0x38]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rcx
test rbp, rbp
je 0x14006c887
mov ecx, 0x30
mov rax, r14
mul rcx
add rbp, rax
cmp rbp, 0xffffffffffffffef
je 0x14006c887
sub r8, rax
mov rcx, qword [0x14035b0d0]
xor edx, edx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140137fbc
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x1402b41a0]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx]
por xmm1, xmm0
movdqa xmmword [rbx + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x14006c810
test al, 1
je 0x14006c85a
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x1402b41a0]
movdqa xmmword [rbx + rcx], xmm0
cmp r14, 0x10
jae 0x14006c8a3
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memmove
test r14, r14
jne 0x14006c8ad
mov rcx, qword [rsp + 0x58]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rax + 0x10], rcx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r14], xmm0
lea rax, [rbx - 0x30]
mov qword [rsp + 0x28], rax
pshufd xmm0, xmm6, 0x44
pxor xmm0, xmmword [0x1402b41b0]
pshufd xmm1, xmm6, 0xee
pxor xmm1, xmmword [0x1402b41c0]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x20], xmm2
movq qword [rsp + 0x48], xmm0
movq qword [rsp + 0x40], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x68], xmm2
lea r13, [rbx - 0x2e]
xor r15d, r15d
mov qword [rsp + 0x60], r13
jmp 0x14006c928
shr r9, 0x39
lea rax, [r15 - 0x10]
and rax, rbp
mov byte [rbx + r15], r9b
mov byte [rbx + rax + 0x10], r9b
lea rax, [r15 + 1]
add r13, 0xffffffffffffffd0
cmp r15, rbp
mov r15, rax
je 0x14006c874
cmp byte [rbx + r15], 0x80
jne 0x14006c914
mov rax, r15
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x28]
mov rdx, rcx
sub rdx, rax
mov r8, rbx
sub r8, rax
mov qword [rsp + 0x50], r8
mov rax, r15
neg rax
lea r14, [rax + rax*2]
shl r14, 4
add r14, rcx
jmp 0x14006c9a0
movups xmm2, xmmword [rdx]
movups xmm3, xmmword [rcx]
movups xmmword [rdx], xmm3
movups xmmword [rcx], xmm2
movups xmm2, xmmword [rdx + 0x10]
movups xmm3, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm3
movups xmmword [rcx + 0x10], xmm2
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm3, xmmword [rcx + 0x20]
movdqu xmmword [rdx + 0x20], xmm3
movdqu xmmword [rcx + 0x20], xmm2
mov r8, qword [r14 + 8]
mov r10, qword [r14 + 0x10]
mov rcx, r10
and rcx, 0xfffffffffffffff8
je 0x14006ca60
mov rax, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x20]
xor r9d, r9d
mov r11, qword [rsp + 0x48]
nop dword [rax]
add r11, r12
rol r12, 0xd
mov rsi, qword [r8 + r9]
xor r12, r11
rol r11, 0x20
xor rdi, rsi
add rax, rdi
rol rdi, 0x10
xor rdi, rax
add r11, rdi
rol rdi, 0x15
add rax, r12
rol r12, 0x11
xor r12, rax
rol rax, 0x20
xor rdi, r11
xor r11, rsi
add r9, 8
cmp r9, rcx
jb 0x14006c9d0
movq xmm3, rdi
movq xmm2, r12
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, r11
punpcklqdq xmm3, xmm4
mov r12d, r10d
and r12d, 7
cmp r12d, 4
jb 0x14006ca78
mov r11d, dword [r8 + r9]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r12
jb 0x14006ca89
jmp 0x14006caa3
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor r9d, r9d
mov r12d, r10d
and r12d, 7
cmp r12d, 4
jae 0x14006ca3c
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r12
jae 0x14006caa3
lea rcx, [r8 + rax]
movzx edi, word [r9 + rcx]
lea ecx, [rax*8]
shl rdi, cl
or r11, rdi
or rax, 2
cmp rax, r12
jae 0x14006cac0
add r9, rax
movzx r8d, byte [r8 + r9]
shl eax, 3
mov ecx, eax
shl r8, cl
or r11, r8
jmp 0x14006cac9
test r12, r12
je 0x14006cb5d
lea ecx, [r12*8]
mov r9d, 0xff
shl r9, cl
or r9, r11
cmp r12, 7
jne 0x14006cb70
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r9
movq r8, xmm2
paddq xmm2, xmm3
movq rax, xmm2
rol r8, 0xd
xor r8, rax
rol rax, 0x20
pshufd xmm2, xmm3, 0xee
movq r11, xmm2
add r11, rcx
rol rcx, 0x10
xor rcx, r11
add rax, rcx
rol rcx, 0x15
add r11, r8
rol r8, 0x11
xor rcx, rax
xor r8, r11
movq xmm3, rcx
movq xmm2, r8
punpcklqdq xmm2, xmm3
rol r11, 0x20
xor rax, r9
movq xmm4, r11
movq xmm3, rax
punpcklqdq xmm3, xmm4
xor r9d, r9d
jmp 0x14006cb70
mov r9d, 0xff
nop word cs:[rax + rax]
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq r8, xmm4
shl r10, 0x38
movabs r11, 0x100000000000000
add r10, r11
or r10, r9
paddq xmm2, xmm3
rol rcx, 0xd
movq r9, xmm2
xor rcx, r9
rol r9, 0x20
xor r8, r10
add rax, r8
rol r8, 0x10
xor r8, rax
add r9, r8
rol r8, 0x15
add rax, rcx
rol rcx, 0x11
xor r8, r9
xor rcx, rax
rol rax, 0x20
xor r9, r10
add r9, rcx
rol rcx, 0xd
xor rcx, r9
rol r9, 0x20
xor rax, 0xff
add rax, r8
rol r8, 0x10
xor r8, rax
add r9, r8
rol r8, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor r8, r9
add r9, rcx
rol rcx, 0xd
xor rcx, r9
rol r9, 0x20
add rax, r8
rol r8, 0x10
xor r8, rax
add r9, r8
rol r8, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor r8, r9
add r9, rcx
rol rcx, 0xd
add rax, r8
rol r8, 0x10
xor r8, rax
rol r8, 0x15
xor rcx, r9
add rax, rcx
rol rcx, 0x11
mov r9, rax
rol r9, 0x20
xor r9, rcx
xor r9, r8
xor r9, rax
mov rax, r9
and rax, rbp
movdqu xmm2, xmmword [rbx + rax]
pmovmskb r8d, xmm2
mov rcx, rax
test r8d, r8d
jne 0x14006cca9
mov r10d, 0x10
mov rcx, rax
nop
add rcx, r10
and rcx, rbp
movdqu xmm2, xmmword [rbx + rcx]
pmovmskb r8d, xmm2
add r10, 0x10
test r8d, r8d
je 0x14006cc90
tzcnt r8d, r8d
add r8, rcx
and r8, rbp
cmp byte [rbx + r8], 0
js 0x14006ccc8
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt r8d, ecx
mov rcx, r15
sub rcx, rax
mov r10, r8
sub r10, rax
xor r10, rcx
and r10, rbp
cmp r10, 0x10
jb 0x14006c900
mov rax, r8
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
movzx r10d, byte [rbx + r8]
shr r9, 0x39
lea r11, [r8 - 0x10]
and r11, rbp
mov byte [rbx + r8], r9b
mov byte [rbx + r11 + 0x10], r9b
cmp r10b, 0xff
je 0x14006cd90
neg rax
lea r8, [rbx + rax]
cmp rdx, r8
jae 0x14006c970
cmp rcx, qword [rsp + 0x50]
jae 0x14006c970
add rax, qword [rsp + 0x60]
xor ecx, ecx
nop dword [rax + rax]
movzx r8d, byte [r13 + rcx - 2]
movzx r9d, byte [rax + rcx - 2]
mov byte [r13 + rcx - 2], r9b
mov byte [rax + rcx - 2], r8b
movzx r8d, byte [r13 + rcx - 1]
movzx r9d, byte [rax + rcx - 1]
mov byte [r13 + rcx - 1], r9b
mov byte [rax + rcx - 1], r8b
movzx r8d, byte [r13 + rcx]
movzx r9d, byte [rax + rcx]
mov byte [r13 + rcx], r9b
mov byte [rax + rcx], r8b
add rcx, 3
cmp rcx, 0x30
jne 0x14006cd40
jmp 0x14006c9a0
lea rax, [r15 - 0x10]
and rax, rbp
mov byte [rbx + r15], 0xff
mov byte [rbx + rax + 0x10], 0xff
movdqu xmm2, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm4, xmmword [rdx + 0x20]
movdqu xmmword [rcx + 0x20], xmm4
movdqu xmmword [rcx + 0x10], xmm3
movdqu xmmword [rcx], xmm2
jmp 0x14006c914
call sym.hashbrown::raw::Fallibility::capacity_overflow::hd9304ee4acd10dea
int3