Function at 0x14004f8b0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x470], rax
mov rax, qword [rcx]
mov rdi, rcx
mov rax, qword [rax + 0x38]
call qword [0x1400926f0]
mov esi, eax
test eax, eax
jne 0x14004fddf
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0xe0]
call qword [0x1400926f0]
mov rcx, qword [rdi]
test eax, eax
mov r8, qword [rcx + 0x78]
mov rcx, rdi
mov rax, r8
je 0x14004fdd2
mov qword [rsp + 0x5b8], rbx
lea edx, [rsi + 7]
mov qword [rsp + 0x5c0], r12
mov qword [rsp + 0x5c8], r13
mov qword [rsp + 0x588], r14
mov qword [rsp + 0x580], r15
call qword [0x1400926f0]
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x410
call fcn.1400659a0
mov rcx, qword [rdi + 0x10]
lea rdx, [rsp + 0x58]
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rax
call fcn.14005bc00
mov rcx, qword [rdi + 0x28]
lea rdx, [rsp + 0x60]
call fcn.14005bc00
mov rcx, qword [rdi + 0x18]
lea rdx, [rsp + 0x50]
call fcn.14005bc00
lea r8, [0x1400af274]
mov edx, 0x208
lea rcx, [rbp + 0x60]
call fcn.14006e308
mov r13, qword [rsp + 0x58]
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 r15, qword [rsp + 0x50]
lea rcx, [rbp + 0x60]
mov r8, r15
mov edx, 0x208
call fcn.14006e308
mov r12, qword [rsp + 0x60]
xor ecx, ecx
mov rdx, r12
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
mov rcx, qword [rdi]
mov rbx, rax
mov rax, qword [rcx + 0x88]
mov rcx, rdi
call qword [0x1400926f0]
lea r9, [rbp + 0x60]
mov qword [rsp + 0x20], r12
mov rdx, rax
lea rcx, str.InstallItem__s__s_commandline:_s__wrkdir:_s._n
mov r8, rbx
call fcn.14005cb30
xor eax, eax
xor ecx, ecx
mov r14, 0xffffffffffffffff
xorps xmm0, xmm0
cmp byte [rdi + 0x30], cl
je 0x14004fb20
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], eax
lea rax, str.open
mov qword [rbp - 0x70], 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], rcx
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], ecx
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 rcx, qword [rdi]
mov r15d, eax
mov rax, qword [rcx + 0x80]
mov rcx, rdi
call qword [0x1400926f0]
mov rcx, qword [rdi]
test ebx, ebx
mov rbx, rax
mov rax, qword [rcx + 0x88]
mov rcx, rdi
je 0x14004fb0e
call qword [0x1400926f0]
mov r9d, r15d
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 0x14004fc16
call qword [0x1400926f0]
lea rcx, str.InstallItem__s__s_ShellExecuteEx_FAILED_with_code__d._n
jmp 0x14004fc03
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 qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
movups xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x30], cx
mov rcx, r13
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x10], 0x68
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp + 0x2c], 1
movups xmmword [rbp], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
mov r15d, eax
mov rax, qword [rcx + 0x80]
mov rcx, rdi
call qword [0x1400926f0]
mov rcx, qword [rdi]
test ebx, ebx
mov rbx, rax
mov rax, qword [rcx + 0x88]
mov rcx, rdi
je 0x14004fbf6
call qword [0x1400926f0]
mov r9d, r15d
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 0x14004fbe7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14004fc16
mov r14, rax
jmp 0x14004fc16
call qword [0x1400926f0]
lea rcx, str.InstallItem__s__s_CreateProcess_FAILED_with_code__d._n
mov r9d, r15d
mov r8, rbx
mov rdx, rax
call fcn.14005cb30
mov esi, 1
cmp byte [rdi + 0x31], 0
mov r15, qword [rsp + 0x580]
je 0x14004fd76
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14004fd76
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x80]
call qword [0x1400926f0]
mov rcx, qword [rdi]
mov rbx, rax
mov rax, qword [rcx + 0x88]
mov rcx, rdi
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 0x14004fd2d
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x70]
call qword [0x1400926f0]
test rax, rax
je 0x14004fd2d
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 rcx, qword [rdi]
mov r14d, eax
mov rax, qword [rcx + 0x80]
mov rcx, rdi
call qword [0x1400926f0]
mov rcx, qword [rdi]
mov rbx, rax
mov rax, qword [rcx + 0x88]
mov rcx, rdi
call qword [0x1400926f0]
mov r8, rbx
mov rdx, rax
test r14d, r14d
je 0x14004fd24
cmp r14d, 1
je 0x14004fd6a
mov r9d, r14d
lea rcx, str.InstallItem__s__s_wait_failed_with_val__d._n
call fcn.14005cb30
jmp 0x14004fd76
lea rcx, str.InstallItem__s__s_Received_cancel._n
jmp 0x14004fd71
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 rcx, qword [rdi]
mov rbx, rax
mov rax, qword [rcx + 0x88]
mov rcx, rdi
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, r12
call fcn.140069370
mov rax, qword [rdi]
mov rcx, rdi
mov r14, qword [rsp + 0x588]
mov edx, 8
mov r13, qword [rsp + 0x5c8]
mov r12, qword [rsp + 0x5c0]
mov rax, qword [rax + 0x78]
mov rbx, qword [rsp + 0x5b8]
test esi, esi
je 0x14004fdc8
mov edx, 9
call qword [0x1400926f0]
mov eax, esi
jmp 0x14004fddf
mov edx, 8
call qword [0x1400926f0]
xor eax, eax
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.1400625f0
add rsp, 0x590
pop rdi
pop rsi
pop rbp
ret