Function at 0x40de79
Capabilities:
Accept command line arguments

Disassembly:
push 0x174
mov eax, 0x555971
call fcn.00534fef
mov esi, ecx
mov dword [ebp - 0x124], esi
push ecx
push ecx
push 0xa1
push str.NGSetupUtils::CTaskSchedulerWrapper::Run
push 0x5cf3ec
push dword [0x5cf3e8]
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 0x40dece
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x120]
call fcn.0040bc75
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.0040ae6b
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040ac56
mov bl, al
neg bl
sbb bl, bl
mov byte [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.0040afd1
inc bl
je 0x40df64
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.0040bccd
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.0040bccd
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 0x40dfc3
push eax
call fcn.0040bc5d
mov word [ebp - 0x140], bx
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x40dff6
test esi, esi
je 0x40dff6
push 0xa
pop eax
mov word [ebp - 0x140], ax
mov eax, 0x8007000e
mov dword [ebp - 0x138], eax
jmp 0x40dfbd
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 0x40e09c
mov dword [ebp - 0x148], str.Could_not_register_task
push 0x5bc3f4
lea eax, [ebp - 0x148]
push eax
call fcn.0053742e
lea ecx, [ebp - 0x15c]
call fcn.0040bccd
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 0x40e0f8
mov dword [ebp - 0x12c], str.Failed_to_Run_the_registered_task
push 0x5bc3f4
lea eax, [ebp - 0x12c]
jmp 0x40e096
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 0x40e12f
mov dword [ebp - 0x144], str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
push 0x5bc3f4
lea eax, [ebp - 0x144]
jmp 0x40e096
mov ecx, 0x5c3874
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 0x40e1c0
cmp byte [ebp + 0xc], 0
je 0x40e185
mov ecx, 0x5c3874
mov eax, dword [vtable.NGWinApi::IKernelApi.0]
call dword [eax + 0x28]
sub eax, edi
cmp eax, 0x1388
jbe 0x40e185
mov dword [ebp - 0x14c], str.Timed_out_waiting_for_task_to_start._Will_not_wait_for_app_to_return
push 0x5bc3f4
lea eax, [ebp - 0x14c]
jmp 0x40e096
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 0x40e144
mov dword [ebp - 0x128], str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
push 0x5bc3f4
lea eax, [ebp - 0x128]
jmp 0x40e096
cmp byte [ebp + 8], 0
je 0x40e20e
cmp ecx, 4
jne 0x40e20e
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 0x40e206
mov dword [ebp - 0x130], str.Failed_to_get_the_state._Will_not_wait_for_app_to_return
push 0x5bc3f4
lea eax, [ebp - 0x130]
jmp 0x40e096
mov ecx, dword [ebp - 0x11c]
jmp 0x40e1c6
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.0040abde
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00404190
mov dword [ebp - 4], 3
jmp 0x40e286
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 0x40e2a8
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.00534f41
ret 8