Function at 0x1801a2340
Capabilities:
Create thread

Disassembly:
jmp 0x1801a2340
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x140
lea rdi, [rsp + 0x50]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x150]
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x74], 0
mov qword [rsp + 0xa8], 0
lea rdx, [rsp + 0x64]
mov rcx, qword [rsp + 0x150]
call fcn.18000ade0
cmp dword [0x18059ff7c], 0x3e
jae 0x1801a240e
mov r8d, 1
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call fcn.180007640
mov dword [rsp + 0x50], eax
movzx eax, byte [rsp + 0x64]
test eax, eax
je 0x1801a23fe
cmp dword [rsp + 0x50], 0xc0000135
jne 0x1801a23fe
mov r8d, 1
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x150]
call fcn.18000d940
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1801a23fe
mov byte [rsp + 0x74], 1
cmp dword [rsp + 0x50], 0
jge 0x1801a240e
mov eax, dword [rsp + 0x50]
jmp 0x1801a25fc
movzx eax, byte [rsp + 0x74]
test eax, eax
jne 0x1801a243a
xor r8d, r8d
lea rdx, str.LdrUnloadDll
lea rcx, str.ntdll.dll
call fcn.18001aa00
mov qword [rsp + 0x108], rax
jmp 0x1801a24e9
mov rax, qword [0x1808e9758]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
jne 0x1801a24e9
lea rcx, [rsp + 0x118]
call sym.ProcessMonitor.dll_PhGetSystemRoot
lea rdx, str.SysWow64_ntdll.dll
lea rcx, [rsp + 0x118]
call fcn.180009520
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x28], 0
lea rax, [0x1808e9758]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.LdrUnloadDll
mov rax, qword [rsp + 0x138]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x150]
call sym.ProcessMonitor.dll_PhGetProcedureAddressRemote
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x138]
call sym.ProcessMonitor.dll_PhDereferenceObject
cmp dword [rsp + 0x50], 0
jge 0x1801a24da
mov eax, dword [rsp + 0x50]
jmp 0x1801a25fc
mov rax, qword [0x1808e9758]
mov qword [rsp + 0x108], rax
cmp dword [0x18059ff7c], 0x3e
jb 0x1801a251b
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x150]
call fcn.18001a4f0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a251b
mov eax, dword [rsp + 0x50]
jmp 0x1801a25fc
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x108]
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 + 0x150]
call qword [sym.imp.ntdll.dll_RtlCreateUserThread]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1801a2584
mov eax, dword [rsp + 0x50]
jmp 0x1801a25fc
mov r8, qword [rsp + 0x160]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1801a25d2
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x88]
call fcn.1800027b0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x1801a25d2
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0xa8], 0
je 0x1801a25f8
mov rcx, qword [rsp + 0xa8]
call fcn.1800113a0
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804bf0a0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x140
pop rdi
ret