Function at 0x1400093d0
Capabilities:
Attach user process memory
Create thread
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x140010100]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, r9d
mov r9, r8
mov r15d, edx
mov r14d, ecx
mov eax, 0x14
xor ecx, ecx
cpuid
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
test cl, 2
jne 0x140009427
mov dword [0x140010204], 1
mov esi, dword [rsp + 0xf8]
mov dword [0x140010208], esi
mov eax, dword [rsp + 0x108]
mov dword [0x1400113f4], eax
mov eax, dword [rsp + 0x100]
mov dword [0x1400113f0], eax
movzx ecx, word [r8]
xor r12d, r12d
mov eax, r12d
test cx, cx
setne al
mov dword [0x1400140e8], eax
test cx, cx
je 0x140009486
mov r8d, 0xc7
mov rdx, r9
lea rcx, [0x140011220]
call fcn.14000c9d0
mov word [0x1400113ae], r12w
test edi, edi
je 0x1400094f8
mov rcx, qword [0x1400101f8]
test rcx, rcx
je 0x1400094a5
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [0x1400101f8], r12
movsxd rax, edi
lea rdx, [rax + rax*2]
shl rdx, 3
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x1400101f8], rax
test edi, edi
jle 0x1400094fb
mov rax, r12
mov rdx, rdi
mov rbx, qword [rsp + 0xf0]
mov rcx, qword [0x1400101f8]
movups xmm0, xmmword [rax + rbx]
movups xmmword [rax + rcx], xmm0
movsd xmm1, qword [rax + rbx + 0x10]
movsd qword [rax + rcx + 0x10], xmm1
lea rax, [rax + 0x18]
sub rdx, 1
jne 0x1400094d1
jmp 0x1400094fb
mov edi, r12d
mov dword [0x140011210], edi
test r14d, r14d
je 0x14000959b
mov rcx, r14
lea rdx, [0x1400113e8]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jne 0x14000995b
call fcn.1400029d0
test rax, 0xfff
je 0x140009559
mov rcx, qword [0x1400113e8]
mov rax, qword [rcx + 0x278]
mov qword [0x1400113e0], rax
test rax, 0xfffffffffffff000
jne 0x1400095a9
mov rax, qword [rcx + 0x28]
mov qword [0x1400113e0], rax
jmp 0x1400095a9
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1400113e8]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
call fcn.1400029d0
mov qword [0x1400113e0], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
jmp 0x1400095a9
mov qword [0x1400113e8], r12
mov qword [0x1400113e0], r12
cmp qword [0x140011448], 0
je 0x14000995b
cmp qword [0x140011440], 0
je 0x14000995b
xor r8d, r8d
lea rdx, [0x1400093a0]
lea rcx, [0x140011400]
call qword [sym.imp.ntoskrnl.exe_KeInitializeDpc]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x1400113c0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [0x1400111a0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor edx, edx
lea rcx, [0x1400111c0]
call qword [sym.imp.ntoskrnl.exe_KeInitializeMutex]
call qword [sym.imp.ntoskrnl.exe_KeQueryMaximumProcessorCount]
mov dword [0x1400111f8], eax
movsxd rdx, eax
shl rdx, 3
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x140011200], rax
movsxd rdx, dword [0x1400111f8]
shl rdx, 3
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x140011208], rax
cmp qword [0x140011200], 0
je 0x14000995b
test rax, rax
je 0x14000995b
mov edi, r12d
cmp dword [0x1400111f8], r12d
jle 0x140009842
nop word [rax + rax]
movsxd rax, edi
lea rbx, [rax*8]
mov edx, 0x140
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rcx, qword [0x140011200]
mov qword [rbx + rcx], rax
mov rcx, qword [0x140011200]
mov rcx, qword [rbx + rcx]
xor edx, edx
mov r8d, 0x140
call fcn.14000d600
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0x58
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0x40
mov r8b, 1
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rax, qword [0x140011200]
mov r9, qword [rbx + rax]
add r9, 0x30
mov rax, qword [0x140011200]
mov r8, qword [rbx + rax]
add r8, 0x20
mov rax, qword [0x140011200]
mov rdx, qword [rbx + rax]
add rdx, 0x10
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
mov rcx, qword [0x140011200]
mov rcx, qword [rbx + rcx]
call fcn.14000a240
mov rax, qword [0x140011200]
mov r9, qword [rbx + rax]
add r9, 0x38
mov rax, qword [0x140011200]
mov r8, qword [rbx + rax]
add r8, 0x28
mov rax, qword [0x140011200]
mov rdx, qword [rbx + rax]
add rdx, 0x18
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 8
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call fcn.14000a240
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0x70
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0x88
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0x118
mov r8b, 1
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0x70
mov rax, qword [0x140011208]
mov qword [rbx + rax], rcx
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0xc8
xor r8d, r8d
lea rdx, [0x140009980]
call qword [sym.imp.ntoskrnl.exe_KeInitializeDpc]
mov rax, qword [0x140011200]
mov rcx, qword [rbx + rax]
add rcx, 0xc8
movzx edx, dil
call qword [sym.imp.ntoskrnl.exe_KeSetTargetProcessorDpc]
inc edi
cmp edi, dword [0x1400111f8]
jl 0x140009680
mov byte [0x1400101f0], 1
mov dword [0x140010200], 1
mov qword [rsp + 0x30], r12
lea rax, [0x14000a700]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x140011180]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov qword [rsp + 0x30], r12
lea rax, [0x140009e70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400113d8]
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov ebx, r12d
cmp dword [0x1400111f8], ebx
jle 0x1400098fc
lea rdi, [0x140009bd0]
nop dword [rax + rax]
movsxd rdx, ebx
mov rax, qword [0x140011200]
mov rcx, qword [rax + rdx*8]
add rcx, 0x108
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
inc ebx
cmp ebx, dword [0x1400111f8]
jl 0x1400098c0
test esi, esi
jne 0x140009942
cmp dword [0x140011178], esi
jne 0x140009942
lea rax, [0x140008e40]
mov qword [0x1400100e0], rax
mov rax, qword [sym.imp.ntoskrnl.exe_HalDispatchTable]
mov rax, qword [rax + 0x10]
lea r8, [0x1400100e0]
lea edx, [rsi + 8]
lea ecx, [rsi + 1]
call qword [0x14000e3c0]
test eax, eax
jne 0x140009942
mov dword [0x140011178], 1
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [0x14000ada0]
call fcn.140002610
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000d510
add rsp, 0x98
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret