Function at 0x14009e630
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1030], rax
mov rsi, rdx
mov r14, rcx
lea rdx, str.OperateService::OperateStartService
lea rcx, [rbp - 0x20]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea rbx, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009e700
test byte [rcx + 0x1c], 1
je 0x14009e6c8
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_WSAStartup
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009e700
test byte [rcx + 0x1c], 1
je 0x14009e700
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_WSACleanup
mov qword [rsp + 0x20], rsi
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x830]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x30]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x430]
call fcn.1401e7e40
mov edx, 0x200
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x2e], 0x5c
je 0x14009e79e
lea r8, [0x140251df8]
mov edx, 0x200
lea rcx, [rbp + 0x30]
call fcn.1401ec614
lea r9, str.cmd.exe
lea r8, [rbp + 0x30]
lea rdx, [0x1402528f8]
lea rcx, [rbp + 0x430]
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [rsp + 0x70], WSAGetLastError
xor edi, edi
mov word [rbp - 0x50], di
mov dword [rbp - 0x54], 1
mov r9, rsi
lea r8, str._C_net_start___s___Y
mov edx, 0x400
lea rcx, [rbp + 0x830]
call fcn.14002fb20
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x830]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test eax, eax
je 0x14009e867
mov rax, qword [r14]
mov r8d, 1
mov rdx, rsi
mov rcx, r14
mov rax, qword [rax + 0xb0]
call qword [case.0x1400136d6.0]
mov edi, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov byte [rbp - 0x18], al
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009e8b4
test byte [rcx + 0x1c], al
je 0x14009e8b4
mov r9, rbx
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x75
mov dword [rsp + 0x20], edi
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
movzx eax, byte [rbp - 0x18]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rbp - 0x20], rdx
test al, al
jne 0x14009e909
cmp rcx, r15
je 0x14009e909
test byte [rcx + 0x1c], 1
je 0x14009e909
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x10]
call fcn.1400048a0
lea rcx, [rbp - 0x10]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x1180]
add rsp, 0x1140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret