Function at 0x140012278
Capabilities:
Accept command line arguments

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x300
mov qword [r11 - 0x208], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x14027eb40]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r15b, r8b
mov r12b, dl
mov r14, rcx
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_LoadRegTypeLib
lea r9, str.NGSetupUtils::CTaskSchedulerWrapper::Run
lea r8, [0x1402932a0]
mov rdx, qword [0x140292f28]
lea rcx, [r11 - 0xd8]
call fcn.14000593c
nop
xor esi, esi
mov qword [rsp + 0x58], rsi
lea rcx, [r14 + 0x18]
lea r13d, [rsi + 8]
cmp qword [rcx + 0x18], r13
jb 0x1400122fb
mov rcx, qword [rcx]
test rcx, rcx
jne 0x14001230a
mov rbx, rsi
mov qword [rsp + 0x60], rbx
jmp 0x140012328
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x140012328
mov ecx, 0x8007000e
call fcn.14000faa4
nop
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x1a8], rsi
mov edi, 7
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x1a0], rsi
mov word [rsp + 0x190], si
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x1d0]
call fcn.14000db30
nop
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x1c8], rdi
mov qword [rsp + 0x1c0], rsi
mov word [rsp + 0x1b0], si
lea rdx, str.user
lea rcx, [rsp + 0x1b0]
call fcn.14000e66c
nop
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x1d0]
call fcn.14000e1ec
test al, al
sete dil
cmp qword [rsp + 0x1c8], r13
jb 0x1400123e7
mov rcx, qword [rsp + 0x1b0]
call fcn.14001ae84
mov qword [rsp + 0x1c8], 7
mov qword [rsp + 0x1c0], rsi
mov word [rsp + 0x1b0], si
test dil, dil
je 0x140012425
lea r9, str.Could_not_get__user__from_command_line._Task_might_not_start_properly.
mov edx, 0x40
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x250]
call fcn.140005d14
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x170], xmm0
movsd xmm1, qword [rsp + 0x90]
movsd qword [rsp + 0x180], xmm1
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x150], xmm0
movsd xmm1, qword [rsp + 0xc0]
movsd qword [rsp + 0x160], xmm1
lea rdi, [rsp + 0x190]
cmp qword [rsp + 0x1a8], r13
cmovae rdi, qword [rsp + 0x190]
mov word [rsp + 0x68], si
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x1400124ef
mov ecx, eax
call fcn.14000faa4
mov word [rsp + 0x68], r13w
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x140012526
test rdi, rdi
je 0x140012526
mov eax, 0xa
mov word [rsp + 0x68], ax
mov ecx, 0x8007000e
mov dword [rsp + 0x70], ecx
call fcn.14000faa4
nop
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x130], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rsp + 0x140], xmm1
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x170]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 3
lea rdx, [rsp + 0x150]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x130]
mov qword [rsp + 0x20], rdx
mov r9d, 6
mov r8, qword [r14 + 0x10]
mov rdx, rbx
call qword [rax + 0x88]
mov edi, eax
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jns 0x1400125eb
lea rax, str.Could_not_register_task
mov qword [rsp + 0xd0], rax
lea rdx, [0x140277958]
lea rcx, [rsp + 0xd0]
call fcn.14019bce0
xor eax, eax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x100], xmm0
movsd xmm1, qword [rsp + 0xa8]
movsd qword [rsp + 0x110], xmm1
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rsp + 0x100]
call qword [rax + 0x60]
mov edi, eax
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jns 0x140012687
lea rax, str.Failed_to_Run_the_registered_task
mov qword [rsp + 0xe8], rax
lea rdx, [0x140277958]
lea rcx, [rsp + 0xe8]
call fcn.14019bce0
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x54]
call qword [rax + 0x48]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400126c2
lea rax, str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
mov qword [rsp + 0xc8], rax
lea rdx, [0x140277958]
lea rcx, [rsp + 0xc8]
call fcn.14019bce0
mov rcx, qword [0x1402805e8]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov edi, eax
mov ecx, dword [rsp + 0x54]
cmp ecx, 4
je 0x140012767
test r15b, r15b
je 0x14001271c
mov rcx, qword [0x1402805e8]
mov rdx, qword [rcx]
call qword [rdx + 0x50]
sub eax, edi
cmp eax, 0x1388
jbe 0x14001271c
lea rax, str.Timed_out_waiting_for_task_to_start._Will_not_wait_for_app_to_return
mov qword [rsp + 0xe0], rax
lea rdx, [0x140277958]
lea rcx, [rsp + 0xe0]
call fcn.14019bce0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x54]
call qword [rax + 0x48]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140012762
lea rax, str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
mov qword [rsp + 0xf0], rax
lea rdx, [0x140277958]
lea rcx, [rsp + 0xf0]
call fcn.14019bce0
jmp 0x1400126d1
test r12b, r12b
je 0x1400127bd
cmp ecx, 4
jne 0x1400127bd
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x54]
call qword [rax + 0x48]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x1400127b7
lea rax, str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
mov qword [rsp + 0xd8], rax
lea rdx, [0x140277958]
lea rcx, [rsp + 0xd8]
call fcn.14019bce0
mov ecx, dword [rsp + 0x54]
jmp 0x14001276c
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x78]
mov edi, eax
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x1d0]
call fcn.14000e0ac
nop
cmp qword [rsp + 0x1a8], r13
jb 0x1400127f8
mov rcx, qword [rsp + 0x190]
call fcn.14001ae84
mov qword [rsp + 0x1a8], 7
mov qword [rsp + 0x1a0], rsi
mov word [rsp + 0x190], si
jmp 0x14001281f
movzx edi, di
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001283d
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
lea rcx, [rsp + 0x250]
call fcn.1400059c8
mov eax, edi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140199450
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret