Function at 0x140005e20
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x180
mov rax, qword [0x14001d2d0]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov dword [rsp + 0x78], 0
mov dword [rsp + 0x58], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x190]
cmp dword [rax + 0x108c], 0
je 0x140005ea5
mov eax, 0x80
jmp 0x140006933
lea r8, [rsp + 0x78]
lea rdx, [0x140019280]
mov rcx, qword [0x14001d310]
call fcn.140011ed0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140005ed1
mov eax, dword [rsp + 0x40]
jmp 0x140006933
mov ecx, dword [rsp + 0x78]
call fcn.14000a290
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140005efc
mov eax, dword [rsp + 0x40]
jmp 0x140006933
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea r8, [0x1400192a0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x190]
call fcn.140007550
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x140005f48
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
lea r8, [0x1400192e0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x190]
call fcn.140007360
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x140005f84
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x4e730
mov r9, qword [rsp + 0x80]
mov r8d, 8
mov dl, 0xcc
lea rcx, [0x14001b498]
call fcn.140001790
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14000602d
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x4e730
mov r9, qword [rsp + 0x80]
mov r8d, 8
mov dl, 0xcc
lea rcx, [0x14001b498]
call fcn.140001790
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x14000602d
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x43050
mov r9, qword [rsp + 0x80]
mov r8d, 0xd
mov dl, 0xcc
lea rcx, [0x14001b4a0]
call fcn.140001790
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x1400060d6
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x43050
mov r9, qword [rsp + 0x80]
mov r8d, 0xd
mov dl, 0xcc
lea rcx, [0x14001b4a0]
call fcn.140001790
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x1400060d6
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x2ad
mov r9, qword [rsp + 0x98]
mov r8d, 2
mov dl, 0xcc
lea rcx, [0x14001b4b0]
call fcn.140001790
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x140006131
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 7
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x310
mov r9, qword [rsp + 0x88]
mov r8d, 7
mov dl, 0xcc
lea rcx, [0x14001b4c0]
call fcn.140001790
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x14000618d
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x58]
lea rax, [rax + rcx + 0xb]
mov qword [rsp + 0x90], rax
mov r9d, 0xc0000225
mov r8d, 0x20
mov edx, 0x20
mov rcx, qword [rsp + 0x90]
call fcn.140009830
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400061e4
jmp 0x1400067d2
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
cmp dword [rax + 4], 0x55555552
jne 0x140006210
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
cmp dword [rax + 4], 0x4d53534b
je 0x14000621d
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x190]
mov eax, dword [rax + 0x38]
mov dword [rcx + 0x1078], eax
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x1078]
mov dl, 1
mov ecx, eax
call fcn.140001330
mov rcx, qword [rsp + 0x190]
mov qword [rcx + 0x1080], rax
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x1080], 0
jne 0x140006282
mov dword [rsp + 0x40], 0xc000009a
jmp 0x1400067d2
mov rax, qword [rsp + 0x190]
mov eax, dword [rax + 0x1078]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x190]
mov rax, qword [rax + 0x1080]
mov qword [rsp + 0xd0], rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
add rax, 0x3c
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd0]
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140006339
jmp 0x1400067d2
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], 3
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2ad
mov r9, qword [rsp + 0xa0]
mov r8d, 8
mov dl, 0xcc
lea rcx, [0x14001b4b8]
call fcn.140001790
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x140006395
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x58]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x14001d308]
call fcn.140005970
mov qword [rsp + 0x70], rax
mov r9d, 0xc0000225
mov r8d, 8
mov edx, 8
mov rcx, qword [rsp + 0x70]
call fcn.140009830
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400063fa
jmp 0x1400067d2
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x48], rax
je 0x14000642c
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x140006407
cmp dword [rsp + 0x50], 0
jne 0x140006440
mov dword [rsp + 0x40], 0xc0000225
jmp 0x1400067d2
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x30
mov dl, 1
mov rcx, rax
call fcn.140001330
mov rcx, qword [rsp + 0x190]
mov qword [rcx + 0x1090], rax
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x1090], 0
jne 0x140006480
mov dword [rsp + 0x40], 0xc000009a
jmp 0x1400067d2
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x30
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0x190]
mov rdi, qword [rcx + 0x1090]
xor eax, eax
mov rcx, qword [rsp + 0xf0]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], 0
jmp 0x1400064d9
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x44], eax
jae 0x1400067c8
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x48], rax
je 0x1400067c8
mov rax, qword [rsp + 0x48]
movzx eax, word [rax + 0x90]
test eax, eax
je 0x140006516
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x108], 0
jne 0x140006518
jmp 0x1400064c2
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x108]
cmp qword [rax + 0x10], 0
jne 0x14000652d
jmp 0x1400064c2
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x108]
mov rax, qword [rax + 0x10]
movzx eax, word [rax + 0x18]
test eax, eax
jne 0x14000654a
jmp 0x1400064c2
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov qword [rcx + rax + 8], 0
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x48]
add rax, 0x90
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.140005ce0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400065ed
jmp 0x1400067c8
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov qword [rcx + rax + 0x18], 0
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
lea rax, [rcx + rax + 0x10]
mov qword [rsp + 0x110], rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x48]
add rax, 0xa0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x110]
mov r8, qword [rsp + 0x118]
mov rdx, rax
mov rcx, qword [rsp + 0x120]
call fcn.140005ce0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400066b6
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov edx, 0x6864694e
mov rcx, qword [rcx + rax + 8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400067c8
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov qword [rcx + rax + 0x28], 0
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
lea rax, [rcx + rax + 0x20]
mov qword [rsp + 0x128], rax
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x108]
mov rax, qword [rax + 0x10]
add rax, 0x18
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x128]
mov r8, qword [rsp + 0x130]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call fcn.140005ce0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400067b9
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov edx, 0x6864694e
mov rcx, qword [rcx + rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov edx, 0x6864694e
mov rcx, qword [rcx + rax + 8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x1400067c8
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1400064c2
xor eax, eax
test eax, eax
jne 0x140005f0f
lea rcx, [rsp + 0x148]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp dword [rsp + 0x40], 0
jge 0x1400068e8
cmp dword [rsp + 0x44], 0
jbe 0x14000688e
mov dword [rsp + 0x68], 0
jmp 0x14000680a
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x68], eax
jae 0x14000688e
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov edx, 0x6864694e
mov rcx, qword [rcx + rax + 0x28]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov edx, 0x6864694e
mov rcx, qword [rcx + rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x30
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x1090]
mov edx, 0x6864694e
mov rcx, qword [rcx + rax + 8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140006800
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x1090], 0
je 0x1400068ba
mov edx, 0x6864694e
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x1090]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0x190]
cmp qword [rax + 0x1080], 0
je 0x1400068e6
mov edx, 0x6864694e
mov rax, qword [rsp + 0x190]
mov rcx, qword [rax + 0x1080]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x14000691c
mov rax, qword [rsp + 0x190]
mov ecx, dword [rsp + 0x54]
mov dword [rax + 0x1088], ecx
mov eax, dword [rsp + 0x54]
dec eax
mov rcx, qword [rsp + 0x190]
mov dword [rcx + 0x108c], eax
mov rax, qword [rsp + 0x198]
mov ecx, dword [rsp + 0x54]
mov dword [rax], ecx
cmp qword [rsp + 0x60], 0
je 0x14000692f
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140018ca0
add rsp, 0x180
pop rdi
ret