Function at 0x1400055a8
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r15d, dword [rdx + 4]
xor r13d, r13d
mov eax, dword [rdx + 8]
xorps xmm0, xmm0
mov r14, rdx
mov qword [rbp - 0x39], r13
mov r12, rcx
mov qword [rbp - 0x29], r13
mov ecx, r15d
mov qword [rbp + 0x77], r13
lea rdx, [rbp - 0x29]
mov qword [rbp + 0x7f], r13
movups xmmword [rbp - 0x11], xmm0
mov esi, r13d
mov edi, r13d
movups xmmword [rbp - 1], xmm0
mov qword [rbp - 0x31], rax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp - 0x21], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
js 0x1400058a8
lea r8, [rbp + 0x77]
mov edx, r15d
mov rcx, r12
call fcn.1400043b0
mov ebx, eax
test eax, eax
js 0x140005835
cmp qword [rbp + 0x77], r13
je 0x140005830
xorps xmm0, xmm0
mov dword [rbp - 0x11], 0x30
lea r9, [rbp - 0x21]
mov qword [rbp - 9], r13
lea r8, [rbp - 0x11]
mov dword [rbp + 7], 0x200
mov edx, 0x1fffff
mov qword [rbp - 1], r13
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x21], r15
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp - 0x19], r13
call qword [sym.imp.ntoskrnl.exe_ZwOpenProcess]
mov ebx, eax
test eax, eax
js 0x140005835
mov rcx, qword [rbp - 0x39]
lea r9, [rbp - 0x31]
mov dword [rsp + 0x28], 0x20
lea rdx, [rbp + 0x7f]
xor r8d, r8d
mov dword [rsp + 0x20], 0x3000
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov ebx, eax
test eax, eax
js 0x140005835
mov eax, dword [r14 + 8]
mov rcx, r12
mov r9, qword [rbp + 0x7f]
mov r8, qword [rbp - 0x29]
mov rdx, qword [r14 + 0x10]
mov dword [rsp + 0x28], 1
mov qword [rbp - 0x31], rax
mov qword [rsp + 0x20], rax
call fcn.140005bc8
mov ebx, eax
test eax, eax
js 0x140005835
mov rax, qword [0x140012318]
mov r12d, 0x80
mov r15d, 0x4a61
test rax, rax
je 0x14000571a
cmp dword [0x140012310], r15d
jb 0x14000571a
lea edi, [r13 + 0x58]
mov r8d, 0x6864694e
mov edx, edi
mov ecx, r12d
call qword [0x1400102b0]
jmp 0x14000572f
mov edi, 0x58
mov r8d, 0x6864694e
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
mov rax, qword [0x140012318]
test rax, rax
je 0x14000575b
cmp dword [0x140012310], r15d
jb 0x14000575b
mov r8d, 0x6864694e
mov rdx, rdi
mov rcx, r12
call qword [0x1400102b0]
jmp 0x14000576c
mov r8d, 0x6864694e
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rsi, rsi
je 0x140005829
test rax, rax
je 0x140005829
mov rdx, qword [rbp + 0x77]
lea r9, [0x140005f50]
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov byte [rsp + 0x30], r13b
mov rcx, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call sub.ntoskrnl.exe_KeInitializeApc
mov rax, qword [r14 + 0x18]
lea r9, [0x140003a60]
mov rdx, qword [rbp + 0x77]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rsi
mov rax, qword [rbp + 0x7f]
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call sub.ntoskrnl.exe_KeInitializeApc
mov r8, qword [r14 + 0x38]
xor r9d, r9d
mov rdx, qword [r14 + 0x28]
mov rcx, rsi
call sub.ntoskrnl.exe_KeInsertQueueApc
test al, al
jne 0x1400057fb
mov ebx, 0xc0000001
jmp 0x140005835
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call sub.ntoskrnl.exe_KeInsertQueueApc
test al, al
je 0x1400057f4
mov rcx, qword [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_PsIsThreadTerminating]
test al, al
mov ecx, 0xc000004b
cmovne ebx, ecx
test ebx, ebx
js 0x140005835
jmp 0x140005879
mov ebx, 0xc000009a
jmp 0x140005835
mov ebx, 0xc0000225
cmp qword [rbp + 0x7f], r13
je 0x140005853
mov rcx, qword [rbp - 0x39]
lea r8, [rbp - 0x31]
mov r9d, 0x4000
lea rdx, [rbp + 0x7f]
call qword [sym.imp.ntoskrnl.exe_ZwFreeVirtualMemory]
test rdi, rdi
je 0x140005866
mov edx, 0x6864694e
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rsi, rsi
je 0x140005879
mov edx, 0x6864694e
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140005888
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140005897
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x1400058a6
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret