Function at 0x180172c90
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
jmp 0x180172c90
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
lea rdi, [rsp + 0x60]
mov ecx, 0x64
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x200]
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x208], 0
je 0x180172d06
mov rcx, qword [rsp + 0x208]
call sym.ProcessMonitor.dll_PhCreateString
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x200], 0
je 0x180172d28
mov rcx, qword [rsp + 0x200]
call sym.ProcessMonitor.dll_PhCreateString
mov qword [rsp + 0x78], rax
jmp 0x180172df8
cmp qword [rsp + 0x88], 0
je 0x180172d95
lea rdx, [rsp + 0x184]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
je 0x180172d95
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx + rax]
call sym.ProcessMonitor.dll_PhCreateString
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.180003fd0
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x78], 0
je 0x180172df8
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call sym.ProcessMonitor.dll_PhDoesFileExistsWin32
movzx eax, al
test eax, eax
jne 0x180172df8
lea rdx, str..exe
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call fcn.180008000
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
je 0x180172dee
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x78]
call fcn.180003fd0
jmp 0x180172df8
lea rcx, [rsp + 0x78]
call fcn.1800153b0
cmp qword [rsp + 0x218], 0
je 0x180172e1a
mov rcx, qword [rsp + 0x218]
call sym.ProcessMonitor.dll_PhCreateString
mov qword [rsp + 0x90], rax
jmp 0x180172e3f
cmp qword [rsp + 0x78], 0
je 0x180172e3f
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x180172e3f
mov rcx, qword [rsp + 0x78]
call sym.ProcessMonitor.dll_PhGetBaseDirectory
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x164], 0
mov r9d, 8
lea r8, [0x1804ade90]
mov edx, dword [rsp + 0x228]
lea rcx, [rsp + 0x164]
call sym.ProcessMonitor.dll_PhMapFlags1
cmp qword [rsp + 0x220], 0
jne 0x180172e96
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.180013180
mov dword [rsp + 0xb0], 0x68
cmp qword [rsp + 0x230], 0
je 0x180172fba
cmp qword [rsp + 0x220], 0
je 0x180172ec2
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x1a8], rax
jmp 0x180172ed2
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x228]
and eax, 1
test eax, eax
je 0x180172eed
mov dword [rsp + 0x1b0], 1
jmp 0x180172ef8
mov dword [rsp + 0x1b0], 0
mov rcx, qword [rsp + 0x90]
call fcn.1800082b0
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x88]
call fcn.1800082b0
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x78]
call fcn.1800082b0
lea rcx, [rsp + 0x138]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x1b8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x210]
mov qword [rsp + 0x38], rcx
mov ecx, dword [rsp + 0x164]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rsp + 0x1b0]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x1c0]
mov r8, rcx
mov rdx, rax
mov rcx, qword [rsp + 0x230]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x180172fac
mov dword [rsp + 0x60], 0
jmp 0x180172fb5
call fcn.180010890
mov dword [rsp + 0x60], eax
jmp 0x1801730bc
cmp qword [rsp + 0x220], 0
je 0x180172fd7
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x1c8], rax
jmp 0x180172fe7
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x228]
and eax, 1
test eax, eax
je 0x180173002
mov dword [rsp + 0x1d0], 1
jmp 0x18017300d
mov dword [rsp + 0x1d0], 0
mov rcx, qword [rsp + 0x90]
call fcn.1800082b0
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x88]
call fcn.1800082b0
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x78]
call fcn.1800082b0
lea rcx, [rsp + 0x138]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x1c8]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x1d8]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x210]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x164]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x1d0]
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x1e0]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1801730b3
mov dword [rsp + 0x60], 0
jmp 0x1801730bc
call fcn.180010890
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0x78], 0
je 0x1801730ce
mov rcx, qword [rsp + 0x78]
call sym.ProcessMonitor.dll_PhDereferenceObject
cmp qword [rsp + 0x88], 0
je 0x1801730e6
mov rcx, qword [rsp + 0x88]
call sym.ProcessMonitor.dll_PhDereferenceObject
cmp qword [rsp + 0x90], 0
je 0x1801730fe
mov rcx, qword [rsp + 0x90]
call sym.ProcessMonitor.dll_PhDereferenceObject
cmp dword [rsp + 0x60], 0
jl 0x1801731b7
cmp qword [rsp + 0x238], 0
je 0x180173143
mov ecx, dword [rsp + 0x148]
call fcn.18000b5e0
mov rcx, qword [rsp + 0x238]
mov qword [rcx], rax
mov ecx, dword [rsp + 0x14c]
call fcn.18000b5e0
mov rcx, qword [rsp + 0x238]
mov qword [rcx + 8], rax
cmp qword [rsp + 0x240], 0
je 0x180173163
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x138]
mov qword [rax], rcx
jmp 0x18017317c
cmp qword [rsp + 0x138], 0
je 0x18017317c
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x248], 0
je 0x18017319c
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x140]
mov qword [rax], rcx
jmp 0x1801731b5
cmp qword [rsp + 0x140], 0
je 0x1801731b5
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1801731e9
cmp qword [rsp + 0x138], 0
je 0x1801731d0
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x140], 0
je 0x1801731e9
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [rsp + 0x60]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1804afb90]
call fcn.180014e20
mov eax, edi
add rsp, 0x1f0
pop rdi
ret