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

Disassembly:
push rbp
push rbx
push rsi
push r12
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140237008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
movups xmm0, xmmword [rcx]
lea rax, str.wsl.exe__u_root__d
mov dword [rbp + 0x40], 1
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x40]
movaps xmmword [rbp + 0x70], xmm0
lea rax, str.__e
movups xmm0, xmmword [rdx]
mov r12, r8
mov qword [rbp + 0x50], 0x26
mov edx, 4
mov dword [rbp + 0x60], 1
mov r8d, 0x100
movaps xmmword [rbp + 0xb0], xmm0
mov dword [rbp + 0x80], 1
mov qword [rbp + 0x90], 8
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa0], 1
call sym.ProcessHacker.exe_PhFormat
mov r15, rax
call sym.ProcessHacker.exe_PhGetSystemDirectory
mov rbx, rax
mov rsi, 0xffffffffffffffff
test rax, rax
je 0x140171f7f
mov r8, r15
lea rdx, [0x14023f3c0]
mov rcx, rax
call sym.ProcessHacker.exe_PhConcatStringRef3
mov rcx, r15
mov r15, rax
test rcx, rcx
je 0x140171f6a
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140171f6a
call fcn.1400fbcc0
lea rcx, [rbx - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140171f7f
call fcn.1400fbcc0
mov qword ss:[rsp + 0x200], rdi
lea rdx, [rsp + 0x60]
mov r8b, 1
mov qword [rsp + 0x218], r14
lea rcx, [rsp + 0x58]
call fcn.14011c6e0
test eax, eax
js 0x140172347
mov r8b, 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14011c6e0
nop
test eax, eax
jns 0x140171fd9
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
jmp 0x140172341
mov rax, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x208], r13
xor r13d, r13d
mov qword [rbp - 0x10], rax
mov ebx, r13d
mov rax, qword [rsp + 0x60]
mov r14d, r13d
mov qword [rbp - 8], rax
mov qword [rbp], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x24], 0x181
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x20], r13w
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
test r15, r15
je 0x140172136
mov r15, qword ds:[r15 + 8]
test r15, r15
je 0x140172136
mov rdi, rsi
nop dword [rax]
inc rdi
cmp word [r15 + rdi*2], bx
jne 0x140172050
mov rdx, qword [0x1402418e8]
add rdi, rdi
lea rcx, [rdi + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r14, rax
mov r8, rdi
mov rdx, r15
lea rcx, [rax + 0x10]
mov qword [rax], rdi
mov qword [rax + 8], rcx
xor eax, eax
mov word [rcx + rdi], ax
mov rcx, qword [r14 + 8]
call fcn.140188690
mov rcx, qword [r14 + 8]
lea rdx, [rsp + 0x68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
test rax, rax
je 0x140172136
mov rcx, qword [rax]
call sym.ProcessHacker.exe_PhCreateString
mov rcx, rdi
mov rbx, rax
mov r15, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x140172136
mov rcx, qword [rbx + 8]
call sym.ProcessHacker.exe_PhDoesFileExistsWin32
test al, al
jne 0x140172105
mov rcx, qword ds:[rbx + 8]
call fcn.1400f8160
lea rcx, [r15 - 0x10]
mov rbx, rax
test rax, rax
je 0x140172122
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140172105
nop dword [rax]
call fcn.1400fbcc0
cmp qword [rbx], r13
je 0x140172136
mov rcx, rbx
call sym.ProcessHacker.exe_PhGetBaseDirectory
mov r13, rax
test rax, rax
je 0x140172136
mov rax, qword [rax + 8]
xor ecx, ecx
jmp 0x14017213a
mov rbx, rax
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140172136
call fcn.1400fbcc0
xor ecx, ecx
mov eax, ecx
test r14, r14
je 0x140172145
mov rdx, qword [r14 + 8]
jmp 0x140172148
mov rdx, rcx
test rbx, rbx
je 0x140172151
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x80]
xor r15d, r15d
mov qword [rsp + 0x48], r8
xor r9d, r9d
lea r8, [rbp - 0x60]
mov qword [rsp + 0x40], r8
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x4000010
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140172195
mov edi, r15d
jmp 0x1401721ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x1401721ad
movzx edi, ax
or edi, 0xc0070000
test rbx, rbx
je 0x1401721ca
lea rcx, ds:[rbx - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401721ca
call fcn.1400fbcc0
test r14, r14
je 0x1401721e5
lea rcx, [r14 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401721e5
nop
call fcn.1400fbcc0
test r13, r13
je 0x1401721ff
lea rcx, [r13 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401721ff
call fcn.1400fbcc0
mov r13, qword [rsp + 0x208]
test edi, edi
js 0x1401722fa
mov rcx, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
test rcx, rcx
je 0x140172226
nop dword [rax]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rbx, qword [rsp + 0x58]
mov dl, 1
mov rcx, rbx
call fcn.1400fae80
mov r9d, 0x30
mov qword [rsp + 0x20], r15
lea r8, [rbp + 0x10]
xor edx, edx
mov rcx, rdi
mov r14, rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
cmovns eax, dword [rbp + 0x10]
test eax, eax
jne 0x1401722b3
test r12, r12
je 0x14017227b
mov qword [r12], r14
nop dword [rax + rax]
test rdi, rdi
je 0x14017228e
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
test rbx, rbx
je 0x14017229c
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401722ac
call qword [sym.imp.ntdll.dll_NtClose]
mov al, 1
jmp 0x140172349
test r14, r14
je 0x1401722d0
lea rcx, [r14 - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x1401722cb
call fcn.1400fbcc0
mov rbx, qword [rsp + 0x58]
test rdi, rdi
je 0x1401722de
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
nop
test rbx, rbx
je 0x1401722ee
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140172347
jmp 0x140172341
mov rcx, qword ds:[rbp - 0x80]
test rcx, rcx
je 0x14017230b
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14017231a
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
xor al, al
mov r14, qword [rsp + 0x218]
mov rdi, qword [rsp + 0x200]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1401848a0
add rsp, 0x1d0
pop r15
pop r12
pop rsi
pop rbx
pop rbp
ret