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

Disassembly:
jmp 0x140182890
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 0x140182906
mov rcx, qword [rsp + 0x208]
call sym.ProcessHacker.exe_PhCreateString
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x200], 0
je 0x140182928
mov rcx, qword [rsp + 0x200]
call sym.ProcessHacker.exe_PhCreateString
mov qword [rsp + 0x78], rax
jmp 0x1401829f8
cmp qword [rsp + 0x88], 0
je 0x140182995
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 0x140182995
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x198]
mov rcx, qword [rcx + rax]
call sym.ProcessHacker.exe_PhCreateString
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400040d0
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x78], 0
je 0x1401829f8
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call sym.ProcessHacker.exe_PhDoesFileExistsWin32
movzx eax, al
test eax, eax
jne 0x1401829f8
lea rdx, str..exe
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
call fcn.140008340
mov qword [rsp + 0x1a0], rax
cmp qword [rsp + 0x1a0], 0
je 0x1401829ee
mov rdx, qword [rsp + 0x1a0]
lea rcx, [rsp + 0x78]
call fcn.1400040d0
jmp 0x1401829f8
lea rcx, [rsp + 0x78]
call fcn.140015d10
cmp qword [rsp + 0x218], 0
je 0x140182a1a
mov rcx, qword [rsp + 0x218]
call sym.ProcessHacker.exe_PhCreateString
mov qword [rsp + 0x90], rax
jmp 0x140182a3f
cmp qword [rsp + 0x78], 0
je 0x140182a3f
mov rax, qword [rsp + 0x78]
cmp qword [rax], 0
je 0x140182a3f
mov rcx, qword [rsp + 0x78]
call sym.ProcessHacker.exe_PhGetBaseDirectory
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x164], 0
mov r9d, 8
lea r8, [0x1404ddcf0]
mov edx, dword [rsp + 0x228]
lea rcx, [rsp + 0x164]
call sym.ProcessHacker.exe_PhMapFlags1
cmp qword [rsp + 0x220], 0
jne 0x140182a96
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.1400139e0
mov dword [rsp + 0xb0], 0x68
cmp qword [rsp + 0x230], 0
je 0x140182bba
cmp qword [rsp + 0x220], 0
je 0x140182ac2
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x1a8], rax
jmp 0x140182ad2
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x228]
and eax, 1
test eax, eax
je 0x140182aed
mov dword [rsp + 0x1b0], 1
jmp 0x140182af8
mov dword [rsp + 0x1b0], 0
mov rcx, qword [rsp + 0x90]
call fcn.140008600
mov qword [rsp + 0x1b8], rax
mov rcx, qword [rsp + 0x88]
call fcn.140008600
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rsp + 0x78]
call fcn.140008600
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 0x140182bac
mov dword [rsp + 0x60], 0
jmp 0x140182bb5
call fcn.140010ff0
mov dword [rsp + 0x60], eax
jmp 0x140182cbc
cmp qword [rsp + 0x220], 0
je 0x140182bd7
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x1c8], rax
jmp 0x140182be7
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x1c8], rax
mov eax, dword [rsp + 0x228]
and eax, 1
test eax, eax
je 0x140182c02
mov dword [rsp + 0x1d0], 1
jmp 0x140182c0d
mov dword [rsp + 0x1d0], 0
mov rcx, qword [rsp + 0x90]
call fcn.140008600
mov qword [rsp + 0x1d8], rax
mov rcx, qword [rsp + 0x88]
call fcn.140008600
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x78]
call fcn.140008600
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 0x140182cb3
mov dword [rsp + 0x60], 0
jmp 0x140182cbc
call fcn.140010ff0
mov dword [rsp + 0x60], eax
cmp qword [rsp + 0x78], 0
je 0x140182cce
mov rcx, qword [rsp + 0x78]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp qword [rsp + 0x88], 0
je 0x140182ce6
mov rcx, qword [rsp + 0x88]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp qword [rsp + 0x90], 0
je 0x140182cfe
mov rcx, qword [rsp + 0x90]
call sym.ProcessHacker.exe_PhDereferenceObject
cmp dword [rsp + 0x60], 0
jl 0x140182db7
cmp qword [rsp + 0x238], 0
je 0x140182d43
mov ecx, dword [rsp + 0x148]
call fcn.14000baa0
mov rcx, qword [rsp + 0x238]
mov qword [rcx], rax
mov ecx, dword [rsp + 0x14c]
call fcn.14000baa0
mov rcx, qword [rsp + 0x238]
mov qword [rcx + 8], rax
cmp qword [rsp + 0x240], 0
je 0x140182d63
mov rax, qword [rsp + 0x240]
mov rcx, qword [rsp + 0x138]
mov qword [rax], rcx
jmp 0x140182d7c
cmp qword [rsp + 0x138], 0
je 0x140182d7c
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x248], 0
je 0x140182d9c
mov rax, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x140]
mov qword [rax], rcx
jmp 0x140182db5
cmp qword [rsp + 0x140], 0
je 0x140182db5
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x140182de9
cmp qword [rsp + 0x138], 0
je 0x140182dd0
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x140], 0
je 0x140182de9
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, [0x1404dfa00]
call fcn.140015750
mov eax, edi
add rsp, 0x1f0
pop rdi
ret