Function at 0x402ab4
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x190], VarUI4FromDisp
lea rcx, [r11 - 0x138]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 7
mov qword [rsp + 0x180], rsi
xor ebx, ebx
mov qword [rsp + 0x178], rbx
mov word [rsp + 0x168], bx
xor r8d, r8d
lea rdx, [0x004998e4]
lea rcx, [rsp + 0x160]
call fcn.00404e54
nop
mov rax, qword [0x004c5760]
mov rdx, qword [rax + 0x28]
add rdx, 0xa20
or rdi, 0xffffffffffffffff
mov r9, rdi
xor r8d, r8d
lea rcx, [rsp + 0x160]
call fcn.004020b0
lea r8, [rsp + 0x160]
lea rdx, [0x004993f8]
lea rcx, [rsp + 0x78]
call fcn.0040621c
nop
mov r9, rdi
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.004020b0
nop
cmp qword [rsp + 0x98], 8
jb 0x402ba6
mov rcx, qword [rsp + 0x80]
call fcn.00443d3c
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0x90], rbx
mov word [rsp + 0x80], bx
cmp dword [rsp + 0x1a0], 2
jne 0x402be4
mov r8d, 0x28
lea rdx, str.InstMsiW.exe___c:_msiinst__delayrebootq_
lea rcx, [rsp + 0x160]
call fcn.00404a40
jmp 0x402bff
mov r8d, 0x27
lea rdx, str.InstMsi.exe___c:_msiinst__delayrebootq_
lea rcx, [rsp + 0x160]
call fcn.00404a40
nop
lea rdi, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae rdi, qword [rsp + 0x168]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0xf0]
call fcn.00449860
mov dword [rsp + 0xf0], 0x68
mov eax, 0x18
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x88], 1
mov dword [rsp + 0xc0], eax
mov qword [rsp + 0xc8], rbx
mov dword [rsp + 0xd0], ebx
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x78]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x402da9
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rsp + 0x58]
mov dword [rsp + 0x70], edi
cmp edi, ebx
je 0x402d75
cmp edi, 0xbc2
je 0x402d75
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x58], rax
cmp rax, rbx
je 0x402d5e
lea rcx, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae rcx, qword [rsp + 0x168]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea r9, str.QuietExec__s__returned__d
mov edx, 0x1002
mov r8d, edx
mov rcx, rax
call fcn.00401de0
mov rbx, rax
mov qword [rsp + 0x68], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0x68]
call fcn.00449f60
nop
cmp qword [rsp + 0x180], 8
jb 0x402d8d
mov rcx, qword [rsp + 0x168]
call fcn.00443d3c
mov qword [rsp + 0x180], rsi
mov qword [rsp + 0x178], rbx
mov word [rsp + 0x168], bx
mov eax, edi
jmp 0x402df9
mov ecx, 0x840
call fcn.004443a8
mov qword [rsp + 0x50], rax
cmp rax, rbx
je 0x402ddc
mov qword [rsp + 0x20], rdi
lea r9, str.CreateProcess_NULL___s__...__returned_false
mov edx, 0x1fff
mov r8d, edx
mov rcx, rax
call fcn.00401de0
mov rbx, rax
mov qword [rsp + 0xa0], rbx
lea rdx, [0x004bc148]
lea rcx, [rsp + 0xa0]
call fcn.00449f60
nop
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret