Function at 0x140066320
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r14, qword [rcx + 0x18]
mov rax, r14
inc rax
je 0x140066d19
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
lea r12, [rdx + 1]
mov rcx, r12
shr rcx, 3
mov r15, r12
and r15, 0xfffffffffffffff8
sub r15, rcx
cmp rdx, 8
mov rcx, r15
mov qword [rsp + 0x48], rdx
cmovb rcx, rdx
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x40], rsi
jbe 0x1400663aa
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
mov qword [rsp + 0x28], r12
jae 0x1400663d7
xor eax, eax
cmp rcx, 4
setae al
lea r15, [rax*4 + 4]
jmp 0x140066425
mov rdi, qword [rsi]
mov rcx, r12
shr rcx, 4
xor eax, eax
test r12b, 0xf
setne al
add rax, rcx
je 0x140066731
cmp rax, 1
jne 0x1400666c4
xor edx, edx
jmp 0x140066717
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x140066d19
shl rcx, 3
movabs rdx, 0x2492492492492493
mov rax, rcx
mul rdx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 2
dec rcx
bsr rcx, rcx
not ecx
mov r15, 0xffffffffffffffff
shr r15, cl
inc r15
mov ecx, 0x68
mov rax, r15
mul rcx
jo 0x140066d19
mov r13, rax
add r13, 0xf
and r13, 0xfffffffffffffff0
lea r12, [r15 + 0x10]
mov rbp, r13
add rbp, r12
jb 0x140066d19
movabs rax, 0x7ffffffffffffff0
cmp rbp, rax
ja 0x140066d19
test rbp, rbp
je 0x14006648a
movzx eax, byte [0x140346130]
xor ecx, ecx
mov rdx, rbp
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
mov rdi, rax
test rax, rax
jne 0x14006648f
mov rcx, rbp
call sym.hashbrown::raw::Fallibility::alloc_err::hf598386f3ca806dc
mov edi, 0x10
add rdi, r13
lea r13, [r15 - 1]
mov rax, r15
shr rax, 3
mov rcx, r15
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r15, 9
cmovb rcx, r13
mov qword [rsp + 0x30], rcx
mov rcx, rdi
mov dl, 0xff
mov r8, r12
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x40]
mov r12, qword [rax]
test r14, r14
je 0x140066653
mov rsi, r14
movdqa xmm0, xmmword [r12]
pmovmskb r14d, xmm0
not r14d
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x50], rcx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov r15, r12
jmp 0x140066595
lea ecx, [r14 - 1]
and ecx, r14d
dec rsi
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, r13
mov byte [rdi + rdx], al
mov byte [rdi + r8 + 0x10], al
not rbp
imul rax, rbp, 0x68
not rdx
imul rdx, rdx, 0x68
mov r8, qword [r12 + rax + 0x60]
mov qword [rdi + rdx + 0x60], r8
movups xmm0, xmmword [r12 + rax + 0x50]
movups xmmword [rdi + rdx + 0x50], xmm0
movups xmm0, xmmword [r12 + rax + 0x40]
movups xmmword [rdi + rdx + 0x40], xmm0
movdqu xmm0, xmmword [r12 + rax]
movdqu xmm1, xmmword [r12 + rax + 0x10]
movups xmm2, xmmword [r12 + rax + 0x20]
movups xmm3, xmmword [r12 + rax + 0x30]
movups xmmword [rdi + rdx + 0x30], xmm3
movups xmmword [rdi + rdx + 0x20], xmm2
movdqu xmmword [rdi + rdx + 0x10], xmm1
movdqu xmmword [rdi + rdx], xmm0
mov r14d, ecx
test rsi, rsi
je 0x14006664c
test r14w, r14w
jne 0x1400665bf
nop dword [rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
add rbx, 0x10
cmp r14d, 0xffff
je 0x1400665a0
not r14d
tzcnt ebp, r14d
add rbp, rbx
mov rax, rbp
neg rax
imul rax, rax, 0x68
mov r8, qword [r12 + rax - 0x60]
mov r9, qword [r12 + rax - 0x58]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
call sym.core::hash::BuildHasher::hash_one::hf8feb841a64975f5
mov rcx, rax
and rcx, r13
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140066627
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, r13
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140066610
tzcnt edx, edx
add rdx, rcx
and rdx, r13
cmp byte [rdi + rdx], 0
js 0x140066510
movdqa xmm0, xmmword [rdi]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140066510
mov rax, qword [rsp + 0x38]
jmp 0x140066655
xor eax, eax
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rsi, qword [rsp + 0x40]
mov qword [rsi], rdi
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], rcx
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x140066d05
mov ecx, 0x68
mov rax, qword [rsp + 0x28]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add r8, rax
cmp r8, 0xffffffffffffffef
je 0x140066d05
sub r12, rax
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, r12
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14013f0f4
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x1402bc7e0]
nop dword [rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r8]
por xmm1, xmm0
movdqa xmmword [rdi + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [rdi + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x1400666e0
test al, 1
je 0x140066731
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi + rdx]
por xmm0, xmmword [0x1402bc7e0]
movdqa xmmword [rdi + rdx], xmm0
cmp r12, 0x10
jae 0x140066752
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, r12
call sub.msvcrt.dll_memmove
test r12, r12
jne 0x14006675c
xor eax, eax
jmp 0x140066cfe
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r12], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x38], r14
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x30], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x28], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x60], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rdi - 0x68]
mov qword [rsp + 0x70], rax
xor r15d, r15d
mov r12, rdi
mov rsi, qword [rsp + 0x48]
jmp 0x1400667f7
shr rcx, 0x39
lea rax, [r15 - 0x10]
and rax, rsi
mov byte [rdi + r15], cl
mov byte [rdi + rax + 0x10], cl
lea rax, [r15 + 1]
add r12, 0xffffffffffffff98
cmp r15, rsi
mov r15, rax
je 0x140066ce7
cmp byte [rdi + r15], 0x80
jne 0x1400667e3
imul rcx, r15, 0xffffffffffffff98
mov rax, qword [rsp + 0x70]
add rax, rcx
mov qword [rsp + 0x80], rax
add rcx, rdi
mov qword [rsp + 0x78], rcx
mov rax, r15
not rax
imul r13, rax, 0x68
add r13, rdi
mov rax, r15
neg rax
imul rax, rax, 0x68
add rax, rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], r15
jmp 0x14006691e
mov rcx, qword [r13]
mov rdx, qword [rax]
mov qword [r13], rdx
mov qword [rax], rcx
mov rcx, qword [r13 + 8]
mov rdx, qword [rax + 8]
mov qword [r13 + 8], rdx
mov qword [rax + 8], rcx
mov rcx, qword [r13 + 0x10]
mov rdx, qword [rax + 0x10]
mov qword [r13 + 0x10], rdx
mov qword [rax + 0x10], rcx
mov rcx, qword [r13 + 0x18]
mov rdx, qword [rax + 0x18]
mov qword [r13 + 0x18], rdx
mov qword [rax + 0x18], rcx
mov rcx, qword [r13 + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [r13 + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [r13 + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [r13 + 0x28], rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [r13 + 0x30]
mov rdx, qword [rax + 0x30]
mov qword [r13 + 0x30], rdx
mov qword [rax + 0x30], rcx
mov rcx, qword [r13 + 0x38]
mov rdx, qword [rax + 0x38]
mov qword [r13 + 0x38], rdx
mov qword [rax + 0x38], rcx
mov rcx, qword [r13 + 0x40]
mov rdx, qword [rax + 0x40]
mov qword [r13 + 0x40], rdx
mov qword [rax + 0x40], rcx
mov rcx, qword [r13 + 0x48]
mov rdx, qword [rax + 0x48]
mov qword [r13 + 0x48], rdx
mov qword [rax + 0x48], rcx
mov rcx, qword [r13 + 0x50]
mov rdx, qword [rax + 0x50]
mov qword [r13 + 0x50], rdx
mov qword [rax + 0x50], rcx
mov rcx, qword [r13 + 0x58]
mov rdx, qword [rax + 0x58]
mov qword [r13 + 0x58], rdx
mov qword [rax + 0x58], rcx
mov rcx, qword [r13 + 0x60]
mov rdx, qword [rax + 0x60]
mov qword [r13 + 0x60], rdx
mov qword [rax + 0x60], rcx
mov rax, qword [rsp + 0x50]
mov rbp, qword [rax - 0x60]
mov rbx, qword [rax - 0x58]
mov rax, rbx
and rax, 0xfffffffffffffff8
je 0x1400669c0
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x28]
mov r10, qword [rsp + 0x58]
xor r11d, r11d
mov r14, qword [rsp + 0x30]
nop
add r14, r8
rol r8, 0xd
mov rcx, qword [rbp + r11]
xor r8, r14
rol r14, 0x20
xor r10, rcx
add r9, r10
rol r10, 0x10
xor r10, r9
add r14, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r14
xor r14, rcx
add r11, 8
cmp r11, rax
jb 0x140066950
mov edx, ebx
and edx, 7
cmp edx, 4
jb 0x1400669e1
mov r15d, dword [rbp + r11]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rdx
jb 0x1400669f2
jmp 0x140066a11
mov r10, qword [rsp + 0x58]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
xor r11d, r11d
mov edx, ebx
and edx, 7
cmp edx, 4
jae 0x14006699e
xor r15d, r15d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rdx
jae 0x140066a11
lea rcx, [rax + rbp]
movzx esi, word [r11 + rcx]
lea ecx, [rax*8]
shl rsi, cl
or r15, rsi
mov rsi, qword [rsp + 0x48]
or rax, 2
cmp rax, rdx
jae 0x140066a30
add r11, rax
movzx r11d, byte [rbp + r11]
shl eax, 3
mov ecx, eax
shl r11, cl
or r15, r11
jmp 0x140066a35
test rdx, rdx
je 0x140066a87
lea ecx, [rdx*8]
mov eax, 0xff
shl rax, cl
or rax, r15
cmp rdx, 7
jne 0x140066a90
add r14, r8
rol r8, 0xd
xor r10, rax
xor r8, r14
rol r14, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add r14, r10
rol r10, 0x15
xor r10, r14
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r14, rax
xor eax, eax
jmp 0x140066a90
mov eax, 0xff
nop dword [rax]
mov r15, qword [rsp + 0x20]
shl rbx, 0x38
movabs rcx, 0x100000000000000
add rbx, rcx
add r14, r8
rol r8, 0xd
or rbx, rax
xor r8, r14
rol r14, 0x20
xor r10, rbx
add r9, r10
rol r10, 0x10
xor r10, r9
add r14, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r10, r14
xor r8, r9
rol r9, 0x20
xor r14, rbx
add r14, r8
rol r8, 0xd
xor r8, r14
rol r14, 0x20
xor r9, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add r14, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r14
add r14, r8
rol r8, 0xd
xor r8, r14
rol r14, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add r14, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, r14
add r14, r8
rol r8, 0xd
add r9, r10
rol r10, 0x10
xor r10, r9
rol r10, 0x15
xor r8, r14
add r9, r8
rol r8, 0x11
mov rcx, r9
rol rcx, 0x20
xor rcx, r8
xor rcx, r10
xor rcx, r9
mov rax, rsi
and rax, rcx
movdqu xmm0, xmmword [rdi + rax]
pmovmskb edx, xmm0
mov r8, rax
test edx, edx
jne 0x140066bb8
mov r9d, 0x10
mov r8, rax
nop word cs:[rax + rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x140066ba0
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rdi + rdx], 0
js 0x140066bd4
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r15
sub r8, rax
mov r9, rdx
sub r9, rax
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x1400667d0
mov rax, rdx
not rax
imul rax, rax, 0x68
add rax, rdi
movzx r8d, byte [rdi + rdx]
shr rcx, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rdi + rdx], cl
mov byte [rdi + r9 + 0x10], cl
cmp r8b, 0xff
je 0x140066c90
imul rcx, rdx, 0xffffffffffffff98
add rcx, rdi
cmp qword [rsp + 0x80], rcx
jae 0x140066850
cmp rax, qword [rsp + 0x78]
jae 0x140066850
mov rax, 0xffffffffffffff98
nop word cs:[rax + rax]
movzx edx, byte [r12 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r12 + rax], r8b
mov byte [rcx + rax], dl
movzx edx, byte [r12 + rax + 1]
movzx r8d, byte [rcx + rax + 1]
mov byte [r12 + rax + 1], r8b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x140066c50
jmp 0x14006691e
lea rcx, [r15 - 0x10]
and rcx, rsi
mov byte [rdi + r15], 0xff
mov byte [rdi + rcx + 0x10], 0xff
mov rcx, qword [r13 + 0x60]
mov qword [rax + 0x60], rcx
movups xmm0, xmmword [r13 + 0x50]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmmword [rax + 0x40], xmm0
movdqu xmm0, xmmword [r13]
movdqu xmm1, xmmword [r13 + 0x10]
movups xmm2, xmmword [r13 + 0x20]
movups xmm3, xmmword [r13 + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
jmp 0x1400667e3
cmp rsi, 8
mov rax, qword [rsp + 0x68]
cmovb rax, rsi
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
sub rax, r14
mov qword [rsi + 0x10], rax
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sym.hashbrown::raw::Fallibility::capacity_overflow::he5b4593ee773d303
int3