Function at 0x140013afc
Capabilities:
Attach user process memory
Contain obfuscated stackstrings
Find process by pid

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov r13d, r9d
mov rsi, rdx
mov r15, rcx
mov dword [rsp + 0x54], 0xc0000001
xor ebx, ebx
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movups xmmword [rax - 0x68], xmm0
movups xmmword [rax - 0x58], xmm0
movups xmmword [rax - 0x48], xmm0
mov qword [rax - 0x78], rbx
mov qword [rax - 0x80], rbx
mov qword [rax - 0x88], rbx
mov r14b, bl
mov edi, ebx
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0x60], 0x65006b
mov dword [rsp + 0x64], 0x6e0072
mov dword [rsp + 0x68], 0x6c0065
mov dword [rsp + 0x6c], 0x320033
mov dword [rsp + 0x70], 0x64002e
mov dword [rsp + 0x74], 0x6c006c
mov word [rsp + 0x78], bx
cmp qword [rsp + 0x140], rbx
jne 0x140013ba9
cmp qword [rax + 0x48], rbx
je 0x140013da3
test r15, r15
jne 0x140013bb7
test rsi, rsi
je 0x140013da3
mov r8, qword [rsp + 0x150]
test r8, r8
je 0x140013c31
lea r9, [rsp + 0x158]
xor edx, edx
xor ecx, ecx
call sub.ntoskrnl.exe__vsnwprintf
movsxd r12, eax
lea r13, [r12*2 + 4]
mov r8d, 0x746b734b
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140013c29
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.140018240
lea r9, [rsp + 0x158]
mov r8, qword [rsp + 0x150]
mov rdx, r12
mov rcx, rdi
call sub.ntoskrnl.exe__vsnwprintf
mov r13d, dword [rsp + 0x128]
test rsi, rsi
je 0x140013c3d
mov qword [rsp + 0x58], rsi
jmp 0x140013c57
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x54], eax
test eax, eax
js 0x140013da3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov r12, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov r15, rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r14b, 1
mov byte [rsp + 0x50], r14b
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov rcx, rax
call fcn.140012600
cmp al, r14b
je 0x140013da3
mov dword [rsp + 0x54], 0xc0000225
mov dword [rsp + 0x20], 0xc8
mov r9, r15
mov r8, r12
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call fcn.140014bec
test rax, rax
je 0x140013da3
test r15, r15
sete al
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x38], al
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov al, byte [rsp + 0x138]
mov byte [rsp + 0x20], al
mov r9d, dword [rsp + 0x130]
mov r8d, r13d
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x88]
call fcn.140013df4
mov qword [rsp + 0x90], rax
test rax, rax
je 0x140013da3
mov ecx, r13d
add rcx, rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9b, 1
mov r8d, 4
mov rdx, qword [rsp + 0x80]
call fcn.1400124c8
cmp byte [rsp + 0x148], 1
jne 0x140013d84
mov r9d, 0x8000
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x90]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
jmp 0x140013da3
test rdi, rdi
je 0x140013db3
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp r14b, 1
jne 0x140013dc7
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test rsi, rsi
jne 0x140013ddc
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140013ddc
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x54]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret