Function at 0x180005660
Capabilities:
Inject thread

Disassembly:
jmp 0x1801a1fa0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1c0
lea rdi, [rsp + 0x50]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d0]
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x74], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x168], 0
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0x1d0]
call fcn.18000ade0
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1801a2078
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0x1d8]
call sym.ProcessMonitor.dll_PhLoadMappedImage
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2038
mov eax, dword [rsp + 0x50]
jmp 0x1801a2310
movzx eax, word [rsp + 0xb8]
cmp eax, 0x10b
jne 0x1801a2054
mov dword [rsp + 0x1b0], 1
jmp 0x1801a205f
mov dword [rsp + 0x1b0], 0
movzx eax, byte [rsp + 0x1b0]
mov byte [rsp + 0x74], al
lea rcx, [rsp + 0x88]
call sym.ProcessMonitor.dll_PhUnloadMappedImage
movzx eax, byte [rsp + 0x74]
test eax, eax
jne 0x1801a20a4
xor r8d, r8d
lea rdx, str.LoadLibraryW
lea rcx, str.kernel32.dll
call fcn.18001aa00
mov qword [rsp + 0xc8], rax
jmp 0x1801a2153
mov rax, qword [0x1808e9750]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x1801a2153
lea rcx, [rsp + 0x188]
call sym.ProcessMonitor.dll_PhGetSystemRoot
lea rdx, str.SysWow64kernel32.dll
lea rcx, [rsp + 0x188]
call fcn.180009520
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x28], 0
lea rax, [0x1808e9750]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.LoadLibraryW
mov rax, qword [rsp + 0x1a8]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x1d0]
call sym.ProcessMonitor.dll_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x1a8]
call sym.ProcessMonitor.dll_PhDereferenceObject
cmp dword [rsp + 0x50], 0
jge 0x1801a2144
mov eax, dword [rsp + 0x50]
jmp 0x1801a2310
mov rax, qword [0x1808e9750]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0xd8]
call fcn.180013390
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x1000
lea r9, [rsp + 0x128]
xor r8d, r8d
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a21c1
mov eax, dword [rsp + 0x50]
jmp 0x1801a2310
mov rax, qword [rsp + 0xd8]
add rax, 2
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_NtWriteVirtualMemory]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2207
jmp 0x1801a22dc
cmp dword [0x18059ff7c], 0x3e
jb 0x1801a2235
lea rdx, [rsp + 0x168]
mov rcx, qword [rsp + 0x1d0]
call fcn.18001a4f0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2235
jmp 0x1801a22dc
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x148]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a229a
jmp 0x1801a22dc
mov r8, qword [rsp + 0x1e0]
xor edx, edx
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x148]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x168], 0
je 0x1801a22dc
mov rcx, qword [rsp + 0x168]
call fcn.1800113a0
mov qword [rsp + 0x128], 0
mov r9d, 0x8000
lea r8, [rsp + 0x128]
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x1d0]
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804bef00]
call fcn.180014e20
mov rax, rdi
add rsp, 0x1c0
pop rdi
ret