Function at 0x140001000
Capabilities:
Attach user process memory
Encode data using xor
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
mov r15, r8
movsxd rbx, ecx
mov r14d, 0xc0000001
movaps xmmword [rax - 0x48], xmm7
lea rcx, [rbp - 0x39]
movaps xmmword [rax - 0x58], xmm8
mov qword [rbp + 0x7f], 0
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
cmp byte [0x14000411d], 0
mov r12d, 5
mov eax, dword [0x140004118]
movups xmm0, xmmword [0x140004100]
mov dword [rbp - 0x51], eax
movzx eax, word [0x14000411c]
lea r13d, [r12 + 0x1a]
movsd xmm1, qword [0x140004110]
movups xmmword [rbp - 0x69], xmm0
mov word [rbp - 0x4d], ax
movsd qword [rbp - 0x59], xmm1
je 0x140001234
xor r8d, r8d
cmp dword [0x140005020], 2
jl 0x1400011f2
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rbp - 0x65]
movdqa xmm5, xmmword [0x1400042c0]
movdqa xmm4, xmmword [0x140004310]
movdqa xmm7, xmmword [0x1400042e0]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
movd xmm6, r12d
movd xmm8, r13d
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400042f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400042f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400010e1
cmp r8d, 0x1e
jge 0x140001234
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x140001200
xor edx, edx
lea r8, [rbp - 0x69]
mov r9d, ebx
lea ecx, [rdx + 0x52]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, rbx
lea rdx, [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x140001678
movups xmm0, xmmword [0x140004120]
xor r8d, r8d
movzx eax, byte [0x140004138]
movsd xmm1, qword [0x140004130]
cmp dword [0x140005020], 2
movups xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x51], al
movsd qword [rbp - 0x59], xmm1
jl 0x1400013e1
movdqa xmm0, xmmword [str.7777777777777777]
lea rcx, [rbp - 0x65]
movdqa xmm5, xmmword [0x1400042c0]
movdqa xmm4, xmmword [0x140004310]
movdqa xmm7, xmmword [0x1400042e0]
movdqa xmmword [rbp - 0x79], xmm0
mov edx, dword [rbp - 0x79]
movd xmm6, r12d
movd xmm8, r13d
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1400042f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400042f0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400012d0
cmp r8d, 0x19
jge 0x140001424
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0x19
jl 0x1400013f0
xor edx, edx
lea r8, [rbp - 0x69]
mov r9d, ebx
lea ecx, [rdx + 0x52]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rbp + 0x7f]
call sub.ntoskrnl.exe_PsGetProcessPeb
test rax, rax
je 0x140001664
mov qword [rsp + 0x100], rsi
mov rsi, qword [rax + 0x18]
test rsi, rsi
je 0x14000165c
mov rbx, qword [rsi + 0x10]
add rsi, 0x10
cmp rbx, rsi
je 0x14000165c
mov qword [rsp + 0x108], rdi
nop dword [rax]
nop dword [rax + rax]
cmp byte [0x14000414b], 0
movsd xmm0, qword [0x140004140]
mov eax, dword [0x140004148]
movups xmm8, xmmword [rbx + 0x58]
mov dword [rbp - 0x71], eax
movsd qword [rbp - 0x79], xmm0
je 0x14000160f
xor ecx, ecx
cmp dword [0x140005020], 2
jl 0x1400015d7
movdqa xmm2, xmmword [0x1400042c0]
mov ecx, 8
movdqa xmm3, xmmword [0x1400042d0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140004310]
movdqa xmm0, xmm2
mov eax, dword [str.7777777777777777]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r12d
movd xmm5, r13d
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400042e0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400042f0]
movd xmm1, dword [0x140004140]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x79], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400042e0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400042f0]
movd xmm1, dword [rbp - 0x75]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x75], xmm2
mov eax, ecx
lea r8, [rbp - 0x79]
add r8, rax
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0xc
jl 0x1400015e0
xor edx, edx
movaps xmmword [rbp - 0x69], xmm8
lea r9, [rbp - 0x69]
lea r8, [rbp - 0x79]
lea ecx, [rdx + 0x52]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r8b, 1
lea rdx, [rbp - 0x49]
lea rcx, [rbx + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
je 0x14000164a
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x140001490
jmp 0x140001654
mov rax, qword [rbx + 0x30]
xor r14d, r14d
mov qword [r15], rax
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
lea rcx, [rbp - 0x29]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
lea rcx, [rbp - 0x49]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
lea r11, [rsp + 0xd0]
mov eax, r14d
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret