Function at 0x180003460
Capabilities:
Inject apc
Inject thread

Disassembly:
jmp 0x1801a2aa0
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 0x1801a2b86
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.18000ade0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2ba8
jmp 0x1801a2f3a
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1801a2bf8
lea rcx, [rsp + 0x1c8]
call sym.ProcessMonitor.dll_PhGetSystemRoot
lea rdx, str.SysWow64_ntdll.dll
lea rcx, [rsp + 0x1c8]
call fcn.180009520
mov qword [rsp + 0x88], rax
lea rdx, str.SysWow64kernel32.dll
lea rcx, [rsp + 0x1c8]
call fcn.180009520
mov qword [rsp + 0xa8], rax
jmp 0x1801a2c3d
lea rcx, [rsp + 0x1f8]
call sym.ProcessMonitor.dll_PhGetSystemRoot
lea rdx, str.System32_ntdll.dll
lea rcx, [rsp + 0x1f8]
call fcn.180009520
mov qword [rsp + 0x88], rax
lea rdx, str.System32kernel32.dll
lea rcx, [rsp + 0x1f8]
call fcn.180009520
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.ProcessMonitor.dll_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2c86
jmp 0x1801a2f3a
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.ProcessMonitor.dll_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2ccf
jmp 0x1801a2f3a
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 0x1801a2d10
jmp 0x1801a2f3a
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 0x1801a2d56
jmp 0x1801a2f3a
cmp qword [rsp + 0x240], 0
je 0x1801a2dec
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 0x1801a2da6
jmp 0x1801a2f3a
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 0x1801a2dec
jmp 0x1801a2f3a
cmp dword [0x18059ff7c], 0x3e
jb 0x1801a2e1a
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x230]
call fcn.18001a4f0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2e1a
jmp 0x1801a2f3a
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 0x1801a2e7e
jmp 0x1801a2f3a
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1801a2ec5
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 0x1801a2ec3
jmp 0x1801a2f3a
jmp 0x1801a2f01
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 0x1801a2f01
jmp 0x1801a2f3a
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 0x1801a2f1e
jmp 0x1801a2f3a
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 0x1801a2f53
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x1a8], 0
je 0x1801a2f6b
mov rcx, qword [rsp + 0x1a8]
call fcn.1800113a0
cmp qword [rsp + 0xc8], 0
je 0x1801a2fa6
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 0x1801a2fe1
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.1800153b0
lea rcx, [rsp + 0xa8]
call fcn.1800153b0
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804bf800]
call fcn.180014e20
mov eax, edi
add rsp, 0x220
pop rdi
ret