Function at 0x1801727a0
Capabilities:
Create process on windows
Resume thread

Disassembly:
jmp 0x1801727a0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1e8
lea rdi, [rsp + 0x50]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x200]
mov byte [rsp + 0x1a8], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U_WithStatus]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18017280e
mov eax, dword [rsp + 0x50]
jmp 0x180172bdb
cmp qword [rsp + 0x208], 0
je 0x18017283f
lea rdx, [rsp + 0x148]
mov rcx, qword [rsp + 0x208]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x18017283f
mov eax, 0xc0000106
jmp 0x180172bdb
cmp qword [rsp + 0x218], 0
je 0x180172870
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0x218]
call fcn.180011010
movzx eax, al
test eax, eax
jne 0x180172870
mov eax, 0xc0000106
jmp 0x180172bdb
cmp qword [rsp + 0x220], 0
je 0x1801728a5
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x1a0], rax
jmp 0x1801728bd
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0
cmp qword [rsp + 0x198], 0
jne 0x1801728d8
lea rax, [rsp + 0x118]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x1a0], 0
jne 0x1801728fe
call fcn.180015630
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x20]
add rax, 0xc0
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x220], 0
je 0x18017291f
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x1b0], rax
jmp 0x18017292b
mov qword [rsp + 0x1b0], 0
cmp qword [rsp + 0x220], 0
je 0x18017294c
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x1b8], rax
jmp 0x180172958
mov qword [rsp + 0x1b8], 0
cmp qword [rsp + 0x208], 0
je 0x180172975
lea rax, [rsp + 0x148]
mov qword [rsp + 0x1c0], rax
jmp 0x180172985
lea rax, [rsp + 0x118]
mov qword [rsp + 0x1c0], rax
cmp qword [rsp + 0x218], 0
je 0x1801729a2
lea rax, [rsp + 0x178]
mov qword [rsp + 0x1c8], rax
jmp 0x1801729ae
mov qword [rsp + 0x1c8], 0
cmp qword [rsp + 0x220], 0
je 0x1801729ce
mov rax, qword [rsp + 0x220]
mov rax, qword [rax]
mov qword [rsp + 0x1d0], rax
jmp 0x1801729da
mov qword [rsp + 0x1d0], 0
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1c8]
mov r8, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_RtlCreateProcessParameters]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jl 0x180172af9
mov eax, dword [rsp + 0x228]
and eax, 1
test eax, eax
je 0x180172a78
mov dword [rsp + 0x1d8], 1
jmp 0x180172a83
mov dword [rsp + 0x1d8], 0
mov byte [rsp + 0x1a8], 1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x1d8]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0xf8]
mov edx, 0x40
lea rcx, [rsp + 0x118]
call qword [sym.imp.ntdll.dll_RtlCreateUserProcess]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ntdll.dll_RtlDestroyProcessParameters]
lea rcx, [rsp + 0x118]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
cmp dword [rsp + 0x50], 0
jl 0x180172bd7
mov eax, dword [rsp + 0x228]
and eax, 4
test eax, eax
jne 0x180172b30
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtResumeThread]
cmp qword [rsp + 0x238], 0
je 0x180172b55
lea rax, [rsp + 0x88]
mov rdi, qword [rsp + 0x238]
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
cmp qword [rsp + 0x240], 0
je 0x180172b88
cmp byte [rsp + 0x1a8], 0
jne 0x180172b76
lea rcx, [0x1804af850]
call fcn.180004f00
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x78]
mov qword [rax], rcx
jmp 0x180172ba9
cmp byte [rsp + 0x1a8], 0
jne 0x180172b9e
lea rcx, [0x1804af850]
call fcn.180004f00
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x248], 0
je 0x180172bc9
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
jmp 0x180172bd7
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1804af9f0]
call fcn.180014e20
mov rax, rdi
add rsp, 0x1e8
pop rdi
pop rsi
ret