Function at 0x40dd7c
Capabilities:
Accept command line arguments

Disassembly:
push 0x174
mov eax, 0x554d41
call fcn.00534d8f
mov esi, ecx
mov dword [ebp - 0x124], esi
push ecx
push ecx
push 0xa1
push str.NGSetupUtils::CTaskSchedulerWrapper::Run
push 0x5ce3ec
push dword [0x5ce3e8]
lea ecx, [ebp - 0x110]
call fcn.0040514c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x118], ebx
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
push 8
pop ecx
cmp dword [eax + 0x14], ecx
jb 0x40ddd1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040bb78
mov byte [ebp - 4], 3
mov dword [ebp - 0x114], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00404e31
mov byte [ebp - 4], 5
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040a8ab
mov byte [ebp - 4], 6
push str.user
lea ecx, [ebp - 0x44]
call fcn.0040ad6e
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040abca
mov bl, al
neg bl
sbb bl, bl
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.0040aed4
inc bl
je 0x40de67
push str.Could_not_get__user__from_command_line._Task_might_not_start_properly.
push 0xac
push 0x40
lea eax, [ebp - 0x110]
push eax
call fcn.00405445
add esp, 0x10
lea ecx, [ebp - 0x180]
call fcn.0040bbd0
push 8
pop ebx
mov byte [ebp - 4], bl
mov esi, eax
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x170]
call fcn.0040bbd0
mov byte [ebp - 4], 9
mov esi, eax
lea edi, [ebp - 0x15c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
cmovae esi, dword [ebp - 0x2c]
xor eax, eax
mov word [ebp - 0x140], ax
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jns 0x40dec6
push eax
call fcn.0040bb60
mov word [ebp - 0x140], bx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x40def9
test esi, esi
je 0x40def9
push 0xa
pop eax
mov word [ebp - 0x140], ax
mov eax, 0x8007000e
mov dword [ebp - 0x138], eax
jmp 0x40dec0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x124]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
lea esi, [ebp - 0x118]
push esi
sub esp, 0x10
lea esi, [ebp - 0x3c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 3
sub esp, 0x10
lea esi, [ebp - 0x15c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x140]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [edx + 8]
mov ebx, dword [ebp - 0x120]
push ebx
push ecx
call dword [eax + 0x44]
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 9
lea eax, [ebp - 0x140]
push eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call edi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x170]
push eax
call edi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x180]
push eax
call edi
test esi, esi
jns 0x40df9f
mov dword [ebp - 0x148], str.Could_not_register_task
push 0x5bb384
lea eax, [ebp - 0x148]
push eax
call fcn.005371ce
lea ecx, [ebp - 0x15c]
call fcn.0040bbd0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
call dword [edx + 0x30]
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x40dffb
mov dword [ebp - 0x12c], str.Failed_to_Run_the_registered_task
push 0x5bb384
lea eax, [ebp - 0x12c]
jmp 0x40df99
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
jns 0x40e032
mov dword [ebp - 0x144], str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
push 0x5bb384
lea eax, [ebp - 0x144]
jmp 0x40df99
mov ecx, 0x5c2874
mov eax, dword [vtable.NGWinApi::IKernelApi.0]
call dword [eax + 0x28]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x11c]
cmp ecx, 4
je 0x40e0c3
cmp byte [ebp + 0xc], 0
je 0x40e088
mov ecx, 0x5c2874
mov eax, dword [vtable.NGWinApi::IKernelApi.0]
call dword [eax + 0x28]
sub eax, edi
cmp eax, 0x1388
jbe 0x40e088
mov dword [ebp - 0x14c], str.Timed_out_waiting_for_task_to_start._Will_not_wait_for_app_to_return
push 0x5bb384
lea eax, [ebp - 0x14c]
jmp 0x40df99
push 0x64
call esi
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
jns 0x40e047
mov dword [ebp - 0x128], str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
push 0x5bb384
lea eax, [ebp - 0x128]
jmp 0x40df99
cmp byte [ebp + 8], 0
je 0x40e111
cmp ecx, 4
jne 0x40e111
push 1
call esi
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
lea edx, [ebp - 0x11c]
push edx
push eax
call dword [ecx + 0x24]
mov dword [ebp - 0x114], eax
test eax, eax
jns 0x40e109
mov dword [ebp - 0x130], str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
push 0x5bb384
lea eax, [ebp - 0x130]
jmp 0x40df99
mov ecx, dword [ebp - 0x11c]
jmp 0x40e0c9
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push 0
push ebx
push eax
call dword [ecx + 0x3c]
mov esi, eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x98]
call fcn.0040ab52
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00404190
mov dword [ebp - 4], 3
jmp 0x40e189
movzx esi, si
mov byte [ebp - 4], 2
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je 0x40e1ab
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.004051b5
mov eax, esi
call fcn.00534ce1
ret 8