Function at 0x14004fe00
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r15
lea rbp, [rsp - 0x488]
sub rsp, 0x588
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rax, qword [rcx]
xor esi, esi
mov rdi, rcx
mov r15d, esi
mov rax, qword [rax + 0xe8]
call qword [0x1400926f0]
mov ecx, eax
mov rax, qword [rdi]
test ecx, ecx
mov rcx, rdi
mov rax, qword [rax + 0x78]
je 0x140050300
mov qword [rsp + 0x5b8], rbx
lea edx, [rsi + 0xd]
mov qword [rsp + 0x5c0], r12
mov qword [rsp + 0x5c8], r13
mov qword [rsp + 0x580], r14
call qword [0x1400926f0]
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x410
call fcn.1400659a0
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
call fcn.14005bc00
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x58]
call fcn.14005bc00
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x50]
call fcn.14005bc00
lea r8, [0x1400af274]
mov edx, 0x208
lea rcx, [rbp + 0x60]
call fcn.14006e308
mov r13, qword [rsp + 0x60]
lea rcx, [rbp + 0x60]
mov r8, r13
mov edx, 0x208
call fcn.14006e308
lea r8, [0x1400af274]
mov edx, 0x208
lea rcx, [rbp + 0x60]
call fcn.14006e308
lea r8, [0x1400a4958]
mov edx, 0x208
lea rcx, [rbp + 0x60]
call fcn.14006e308
mov r8, qword [rsp + 0x50]
lea rcx, [rbp + 0x60]
mov edx, 0x208
call fcn.14006e308
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x88]
call qword [0x1400926f0]
mov r12, qword [rsp + 0x58]
lea r9, [rbp + 0x60]
mov rdx, rax
mov qword [rsp + 0x20], r12
mov r8, rbx
lea rcx, str.InstallItem__s__s_commandline:_s__wrkdir:_s._n
call fcn.14005cb30
xor eax, eax
lea r14, [rsi - 1]
xorps xmm0, xmm0
cmp byte [rdi + 0x30], sil
je 0x140050047
mov qword [rbp - 0x1c], rax
xor ecx, ecx
mov dword [rbp - 0x14], eax
lea rax, str.open
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x60], rax
movups xmmword [rbp - 0x4c], xmm0
mov dword [rbp - 0x80], 0x70
movups xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x7c], 0x440
movups xmmword [rbp - 0x2c], xmm0
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
test ebx, ebx
mov rcx, rdi
mov rbx, rax
mov rax, qword [rdi]
mov rax, qword [rax + 0x88]
je 0x140050035
call qword [0x1400926f0]
mov r9d, r12d
lea rcx, str.InstallItem__s__s_ShellExecuteEx_OK_with_code__d._n
mov rdx, rax
mov r8, rbx
call fcn.14005cb30
mov r14, qword [rbp - 0x18]
jmp 0x14005013e
call qword [0x1400926f0]
lea rcx, str.InstallItem__s__s_ShellExecuteEx_FAILED_with_code__d._n
jmp 0x14005012a
mov qword [rbp + 0x50], rax
lea rdx, [rbp + 0x60]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x10]
mov rcx, r13
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rsi
movups xmmword [rbp - 0x10], xmm0
mov dword [rsp + 0x28], esi
movups xmmword [rbp + 0x20], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp - 0x10], 0x68
movups xmmword [rbp], xmm0
mov dword [rbp + 0x2c], 1
movups xmmword [rbp + 0x10], xmm0
mov word [rbp + 0x30], si
movups xmmword [rbp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
test ebx, ebx
mov rcx, rdi
mov rbx, rax
mov rax, qword [rdi]
mov rax, qword [rax + 0x88]
je 0x14005011d
call qword [0x1400926f0]
mov r9d, r12d
lea rcx, str.InstallItem__s__s_CreateProcess_OK_with_code__d._n
mov rdx, rax
mov r8, rbx
call fcn.14005cb30
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005010e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14005013e
mov r14, rax
jmp 0x14005013e
call qword [0x1400926f0]
lea rcx, str.InstallItem__s__s_CreateProcess_FAILED_with_code__d._n
mov r9d, r12d
mov r8, rbx
mov rdx, rax
call fcn.14005cb30
mov r15d, 1
mov r12, qword [rsp + 0x5c0]
cmp byte [rdi + 0x31], sil
je 0x1400502a1
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400502a1
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x88]
call qword [0x1400926f0]
mov r8, rbx
lea rcx, str.InstallItem__s__s_Waiting_for_process..._n
mov rdx, rax
call fcn.14005cb30
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x70]
call qword [0x1400926f0]
cmp rax, 0xffffffffffffffff
je 0x140050258
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x70]
call qword [0x1400926f0]
test rax, rax
je 0x140050258
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x70]
call qword [0x1400926f0]
xor r8d, r8d
mov qword [rsp + 0x68], r14
mov r9d, 0xffffffff
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x60]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov r14d, eax
mov rcx, rdi
mov rax, qword [rdi]
mov rdx, qword [rax + 0x80]
mov rax, rdx
call qword [0x1400926f0]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x88]
call qword [0x1400926f0]
mov r8, rbx
mov rdx, rax
test r14d, r14d
je 0x14005024f
cmp r14d, 1
je 0x140050295
mov r9d, r14d
lea rcx, str.InstallItem__s__s_wait_failed_with_val__d._n
call fcn.14005cb30
jmp 0x1400502a1
lea rcx, str.InstallItem__s__s_Received_cancel._n
jmp 0x14005029c
mov edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
mov rbx, rax
mov rcx, rdi
mov rax, qword [rdi]
mov rax, qword [rax + 0x88]
call qword [0x1400926f0]
mov rdx, rax
mov r8, rbx
lea rcx, str.InstallItem__s__s_Done._n
call fcn.14005cb30
mov rcx, r13
call fcn.140069370
mov rcx, qword [rsp + 0x50]
call fcn.140069370
mov rcx, qword [rsp + 0x58]
call fcn.140069370
mov rax, qword [rdi]
mov rcx, rdi
mov r14, qword [rsp + 0x580]
mov edx, 0xe
mov r13, qword [rsp + 0x5c8]
mov rbx, qword [rsp + 0x5b8]
mov rax, qword [rax + 0x78]
test r15d, r15d
je 0x1400502ee
mov edx, 0xf
call qword [0x1400926f0]
cmp byte [rdi + 0x32], sil
cmovne esi, r15d
mov eax, esi
jmp 0x14005030d
mov edx, 0xb
call qword [0x1400926f0]
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x588
pop r15
pop rdi
pop rsi
pop rbp
ret