Function at 0x14000e3d0
Capabilities:
Attach user process memory
Create thread
Find process by pid
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x14001b050]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x54], 0xc0000001
cmp qword [rsp + 0xf0], 0
je 0x14000e46f
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0xf0]
mov r8d, dword [rsp + 0xe8]
mov edx, dword [rsp + 0xe0]
lea rcx, [0x140017990]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000e4c0
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xf8]
mov r8d, dword [rsp + 0xe8]
mov edx, dword [rsp + 0xe0]
lea rcx, [0x1400179c0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0x14
xor ecx, ecx
cpuid
lea r8, [rsp + 0xa0]
mov dword [r8], eax
mov dword [r8 + 4], ebx
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], edx
mov eax, 4
imul rax, rax, 2
mov eax, dword [rsp + rax + 0xa0]
and eax, 2
test eax, eax
jne 0x14000e50d
lea rcx, [0x1400179f0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [0x14001b164], 1
mov eax, dword [rsp + 0x108]
mov dword [0x14001b168], eax
mov eax, dword [rsp + 0x118]
mov dword [0x14001b6f4], eax
mov eax, dword [rsp + 0x110]
mov dword [0x14001b6f0], eax
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax]
mov edx, eax
lea rcx, [0x140017a10]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rcx + rax]
test eax, eax
je 0x14000e57a
mov dword [rsp + 0x58], 1
jmp 0x14000e582
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [0x14001e3e8], eax
cmp dword [0x14001e3e8], 0
je 0x14000e5f9
mov r8d, 0xc7
mov rdx, qword [rsp + 0xf0]
lea rcx, [0x14001b520]
call fcn.140013af0
mov eax, 2
imul rax, rax, 0xc7
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x190
jae 0x14000e5cd
jmp 0x14000e5d2
call fcn.140014758
lea rax, [0x14001b520]
xor ecx, ecx
mov rdx, qword [rsp + 0x60]
mov word [rax + rdx], cx
lea rdx, [0x14001b520]
lea rcx, [0x140017a20]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000e605
lea rcx, [0x140017a50]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0xf8], 0
je 0x14000e6b7
cmp qword [0x14001b158], 0
je 0x14000e637
xor edx, edx
mov rcx, qword [0x14001b158]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [0x14001b158], 0
movsxd rax, dword [rsp + 0xf8]
imul rax, rax, 0x18
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14001b158], rax
mov dword [rsp + 0x50], 0
jmp 0x14000e669
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x50], eax
jge 0x14000e6a8
movsxd rax, dword [rsp + 0x50]
imul rax, rax, 0x18
movsxd rcx, dword [rsp + 0x50]
imul rcx, rcx, 0x18
mov rdx, qword [0x14001b158]
mov rbx, qword [rsp + 0x100]
lea rdi, [rdx + rcx]
lea rsi, [rbx + rax]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
jmp 0x14000e65f
mov eax, dword [rsp + 0xf8]
mov dword [0x14001b510], eax
jmp 0x14000e6c1
mov dword [0x14001b510], 0
cmp dword [rsp + 0xe0], 0
je 0x14000e7cc
mov eax, dword [rsp + 0xe0]
lea rdx, [0x14001b6e8]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x14000e7b2
call fcn.140002840
and rax, 0xfff
test rax, rax
je 0x14000e763
lea rcx, [0x140017a70]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x14001b6e8]
mov rax, qword [rax + 0x278]
mov qword [0x14001b6e0], rax
mov rax, qword [0x14001b6e0]
and rax, 0xfffffffffffff000
test rax, rax
jne 0x14000e74e
lea rcx, [0x140017a90]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x14001b6e8]
mov rax, qword [rax + 0x28]
mov qword [0x14001b6e0], rax
mov rdx, qword [0x14001b6e0]
lea rcx, [0x140017ab0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000e7b0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
mov rcx, qword [0x14001b6e8]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
call fcn.140002840
mov qword [0x14001b6e0], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x14000e7b0
jmp 0x14000e7ca
mov edx, dword [rsp + 0xe0]
lea rcx, [0x140017b00]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000ed6d
jmp 0x14000e7e2
mov qword [0x14001b6e8], 0
mov qword [0x14001b6e0], 0
mov rdx, qword [0x14001b6e0]
lea rcx, [0x140017ab0]
call sub.ntoskrnl.exe_DbgPrint
cmp qword [0x14001b748], 0
je 0x14000e809
cmp qword [0x14001b740], 0
jne 0x14000e81a
lea rcx, [0x140017b30]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000ed6d
xor r8d, r8d
lea rdx, [0x14000e380]
lea rcx, [0x14001b700]
call qword [sym.imp.ntoskrnl.exe_KeInitializeDpc]
xor r8d, r8d
mov edx, 1
lea rcx, [0x14001b6c0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor r8d, r8d
mov edx, 1
lea rcx, [0x14001b4a0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor edx, edx
lea rcx, [0x14001b4c0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
call qword [sym.imp.ntoskrnl.exe_KeQueryMaximumProcessorCount]
mov dword [0x14001b4f8], eax
movsxd rax, dword [0x14001b4f8]
shl rax, 3
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14001b500], rax
movsxd rax, dword [0x14001b4f8]
shl rax, 3
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14001b508], rax
cmp qword [0x14001b500], 0
jne 0x14000e8cb
lea rcx, [0x140017b50]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000ed6d
cmp qword [0x14001b508], 0
jne 0x14000e8e6
lea rcx, [0x140017b70]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14000ed6d
mov dword [rsp + 0x50], 0
jmp 0x14000e8fa
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [0x14001b4f8]
cmp dword [rsp + 0x50], eax
jge 0x14000ebde
mov edx, 0x140
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b500]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
mov rdi, rax
xor eax, eax
mov ecx, 0x140
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x58
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x40
mov r8b, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x30
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b500]
mov rcx, qword [rdx + rcx*8]
add rcx, 0x20
movsxd rdx, dword [rsp + 0x50]
mov rbx, qword [0x14001b500]
mov rdx, qword [rbx + rdx*8]
add rdx, 0x10
movsxd rbx, dword [rsp + 0x50]
mov rdi, qword [0x14001b500]
mov rbx, qword [rdi + rbx*8]
mov edi, dword [rsp + 0x108]
mov dword [rsp + 0x28], edi
mov edi, dword [rsp + 0xe8]
mov dword [rsp + 0x20], edi
mov r9, rax
mov r8, rcx
mov rcx, rbx
call fcn.14000fb40
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x38
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b500]
mov rcx, qword [rdx + rcx*8]
add rcx, 0x28
movsxd rdx, dword [rsp + 0x50]
mov rbx, qword [0x14001b500]
mov rdx, qword [rbx + rdx*8]
add rdx, 0x18
movsxd rbx, dword [rsp + 0x50]
mov rdi, qword [0x14001b500]
mov rbx, qword [rdi + rbx*8]
add rbx, 8
mov edi, dword [rsp + 0x108]
mov dword [rsp + 0x28], edi
mov edi, dword [rsp + 0xe8]
mov dword [rsp + 0x20], edi
mov r9, rax
mov r8, rcx
mov rcx, rbx
call fcn.14000fb40
mov edx, dword [rsp + 0x50]
lea rcx, [0x140017b90]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b500]
mov rcx, qword [rdx + rcx*8]
mov r9d, dword [rsp + 0xe8]
mov r8, qword [rax + 0x10]
mov rdx, qword [rcx]
lea rcx, [0x140017ba0]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b500]
mov rcx, qword [rdx + rcx*8]
mov r9d, dword [rsp + 0xe8]
mov r8, qword [rax + 0x18]
mov rdx, qword [rcx + 8]
lea rcx, [0x140017bd0]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x70
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x88
xor r8d, r8d
mov edx, 1
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x118
mov r8b, 1
mov edx, 1
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0x70
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b508]
mov qword [rdx + rcx*8], rax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0xc8
xor r8d, r8d
lea rdx, [0x14000ed90]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeInitializeDpc]
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [0x14001b500]
mov rax, qword [rcx + rax*8]
add rax, 0xc8
movzx edx, byte [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeSetTargetProcessorDpc]
jmp 0x14000e8f0
mov byte [0x14001b150], 1
mov dword [0x14001b160], 1
mov qword [rsp + 0x30], 0
lea rax, [0x140010510]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14001b480]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov qword [rsp + 0x30], 0
lea rax, [0x14000f6a0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14001b6d8]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov dword [rsp + 0x50], 0
jmp 0x14000ec69
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [0x14001b4f8]
cmp dword [rsp + 0x50], eax
jge 0x14000ecbb
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x50]
mov rdx, qword [0x14001b500]
mov rcx, qword [rdx + rcx*8]
add rcx, 0x108
mov qword [rsp + 0x30], rax
lea rax, [0x14000f2b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
jmp 0x14000ec5f
cmp dword [rsp + 0x108], 0
jne 0x14000ed50
cmp dword [0x14001b478], 0
jne 0x14000ed50
lea rcx, [0x140017c00]
call sub.ntoskrnl.exe_DbgPrint
lea rax, [0x14000dbe0]
mov qword [0x14001b018], rax
mov rax, qword [sym.imp.ntoskrnl.exe_HalDispatchTable]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
lea r8, [0x14001b018]
mov edx, 8
mov ecx, 1
mov rax, qword [rsp + 0x68]
call qword [0x1400193c8]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x14000ed2d
mov dword [0x14001b478], 1
mov edx, dword [rsp + 0x54]
lea rcx, [0x140016e80]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x54], 0
je 0x14000ed50
lea rcx, [0x140017c20]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140010b90]
call fcn.1400022a0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140014730
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret