Function at 0x140027d4c
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14017b278]
xor rax, rsp
mov qword [rbp], rax
mov sil, dl
mov rdi, rcx
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x6c]
call fcn.14009b2d0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x70], 0x68
mov rcx, qword [rdi + 0x10]
inc rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400873d0
mov r14, rax
mov qword [rbp - 0x80], rax
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140027dd5
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
inc rdx
mov rcx, r14
call fcn.1400a68cc
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000020
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140027f00
test sil, sil
je 0x140027e3b
or edx, 0xffffffff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x78], ebx
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140027e9c
lea esi, [rax + 6]
mov ecx, esi
call fcn.1400756d0
test eax, eax
je 0x140027e9c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_GetExitCodeProcess_with__ld
mov qword [rsp + 0x20], rax
mov r9d, 0xd2
lea r8, str.WssNgmAmbassador::Utilities::ExecuteCommandLine
lea rdx, str.E:BT8991f292_e1db_4262_9576_b4cf026c9a56UBF_1WssNgmAmbassador_srcCommonUtilities.cpp
mov ecx, esi
call fcn.14001fcf0
mov ecx, 1
call fcn.1400756d0
test eax, eax
je 0x140027ede
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, str.ExecuteCommandLine_exit_code__ld
mov qword [rsp + 0x20], rax
mov r9d, 0xd4
lea r8, str.WssNgmAmbassador::Utilities::ExecuteCommandLine
lea rdx, str.E:BT8991f292_e1db_4262_9576_b4cf026c9a56UBF_1WssNgmAmbassador_srcCommonUtilities.cpp
mov ecx, 1
call fcn.14001fcf0
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140027eee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140027f69
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140027f69
mov esi, 6
mov ecx, esi
call fcn.1400756d0
test eax, eax
je 0x140027f64
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp qword [rdi + 0x18], 8
jb 0x140027f24
mov rdi, qword [rdi]
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_create__s_process_with__ld
mov qword [rsp + 0x20], rax
mov r9d, 0xcc
lea r8, str.WssNgmAmbassador::Utilities::ExecuteCommandLine
lea rdx, str.E:BT8991f292_e1db_4262_9576_b4cf026c9a56UBF_1WssNgmAmbassador_srcCommonUtilities.cpp
mov ecx, esi
call fcn.14001fba0
mov ebx, 0x579
mov rcx, r14
call fcn.14008739c
mov eax, ebx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140086e90
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret