Function at 0x1401b3040
Capabilities:
Create thread
Inject apc
Inject thread
Resume thread

Disassembly:
jmp 0x1401b3040
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x50]
mov ecx, 0x74
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x230]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x168], 0
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x1a8], 0
mov rax, qword [rsp + 0x238]
mov rax, qword [rax]
add rax, 2
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x240], 0
je 0x1401b3126
mov rax, qword [rsp + 0x240]
mov rax, qword [rax]
add rax, 2
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0x230]
call fcn.14000b280
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b3148
jmp 0x1401b34da
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1401b3198
lea rcx, [rsp + 0x1c8]
call sym.ProcessHacker.exe_PhGetSystemRoot
lea rdx, str.SysWow64_ntdll.dll
lea rcx, [rsp + 0x1c8]
call fcn.1400098f0
mov qword [rsp + 0x88], rax
lea rdx, str.SysWow64kernel32.dll
lea rcx, [rsp + 0x1c8]
call fcn.1400098f0
mov qword [rsp + 0xa8], rax
jmp 0x1401b31dd
lea rcx, [rsp + 0x1f8]
call sym.ProcessHacker.exe_PhGetSystemRoot
lea rdx, str.System32_ntdll.dll
lea rcx, [rsp + 0x1f8]
call fcn.1400098f0
mov qword [rsp + 0x88], rax
lea rdx, str.System32kernel32.dll
lea rcx, [rsp + 0x1f8]
call fcn.1400098f0
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.RtlExitUserThread
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x230]
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b3226
jmp 0x1401b34da
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x168]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.SetEnvironmentVariableW
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x230]
call sym.ProcessHacker.exe_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b326f
jmp 0x1401b34da
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x108]
xor r8d, r8d
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b32b0
jmp 0x1401b34da
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x238]
mov r9, qword [rax]
mov rax, qword [rsp + 0x238]
mov r8, qword [rax + 8]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b32f6
jmp 0x1401b34da
cmp qword [rsp + 0x240], 0
je 0x1401b338c
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x128]
xor r8d, r8d
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b3346
jmp 0x1401b34da
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x240]
mov r9, qword [rax]
mov rax, qword [rsp + 0x240]
mov r8, qword [rax + 8]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b338c
jmp 0x1401b34da
cmp dword [0x1405d62d4], 0x3e
jb 0x1401b33ba
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x230]
call fcn.14001b170
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b33ba
jmp 0x1401b34da
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x188]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8b, 1
xor edx, edx
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b341e
jmp 0x1401b34da
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1401b3465
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ntdll.dll_RtlQueueApcWow64Thread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b3463
jmp 0x1401b34da
jmp 0x1401b34a1
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ntdll.dll_NtQueueApcThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b34a1
jmp 0x1401b34da
xor edx, edx
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ntdll.dll_NtResumeThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1401b34be
jmp 0x1401b34da
mov r8, qword [rsp + 0x248]
xor edx, edx
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x188], 0
je 0x1401b34f3
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x1a8], 0
je 0x1401b350b
mov rcx, qword [rsp + 0x1a8]
call fcn.140011b80
cmp qword [rsp + 0xc8], 0
je 0x1401b3546
mov qword [rsp + 0x108], 0
mov r9d, 0x8000
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
cmp qword [rsp + 0xe8], 0
je 0x1401b3581
mov qword [rsp + 0x128], 0
mov r9d, 0x8000
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
lea rcx, [rsp + 0x88]
call fcn.140015d10
lea rcx, [rsp + 0xa8]
call fcn.140015d10
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1404efbf0]
call fcn.140015750
mov eax, edi
add rsp, 0x220
pop rdi
ret