Function at 0x10017740
Capabilities:
Check if file exists
Resolve function by parsing pe exports
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001a66b
mov eax, dword fs:[0]
push eax
sub esp, 0xdc0
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0xdb8], eax
push ebx
push esi
push edi
mov eax, dword [0x10022018]
xor eax, esp
push eax
lea eax, [esp + 0xdd0]
mov dword fs:[0], eax
push 0x206
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x152]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x158], ax
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea edx, [esp + 0x158]
push str.NPAV_:_Task_Add_Application
push edx
call esi
add esp, 0x14
lea ecx, [esp + 0x14c]
call fcn.10017680
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jge 0x100177f8
push eax
lea eax, [esp + 0x150]
push str.CoInitializeEx_failed:__x
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
lea eax, [ebx + 1]
jmp 0x1001870c
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x10017844
cmp eax, 0x80010119
je 0x10017844
push eax
push str.CoInitializeSecurity_failed:__x
lea ecx, [esp + 0x154]
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001870c
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
test eax, eax
jne 0x1001785f
push str.File_Not_Exists_to_Add_Task___s
lea edx, [esp + 0x154]
push edx
jmp 0x10017823
lea ecx, [esp + 0x118]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x1001cf78
lea ecx, [esp + 0xe0]
mov dword [esp + 0xddc], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x7fe
lea ecx, [esp + 0x5ca]
xor eax, eax
push ebx
mov byte [esp + 0xde0], 1
push ecx
mov word [esp + 0x5d0], ax
call sub.MSVCR90.dll_memset
push edi
lea edx, [esp + 0x5d4]
push str.__s_
push edx
call esi
add esp, 0x18
lea eax, [esp + 0x5c4]
push eax
lea ecx, [esp + 0xfc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x1c]
push ecx
push 0x1001b634
push 1
push ebx
push 0x1001b824
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x10017962
push eax
lea edx, [esp + 0x150]
push str.Failed_to_create_an_instance_of_ITaskService:__x
push edx
call esi
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xf8]
mov byte [esp + 0xdd8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0xdd8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
mov dword [esp + 0xdd8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x1001870c
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x34]
push eax
call edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
call edi
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
call edi
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xb8]
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
call edi
mov byte [esp + 0xdd8], 6
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xd0]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xd4]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xd8]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x9c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xb0]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xb4]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xb8]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x90]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x94]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x98]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xcc]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xe0]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xe4]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xe8]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x9c]
push ecx
mov esi, eax
call edi
lea edx, [esp + 0xac]
push edx
call edi
lea eax, [esp + 0x74]
push eax
call edi
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0xddc], 2
call edi
cmp esi, ebx
jge 0x10017b7e
push esi
lea edx, [esp + 0x150]
push str.ITaskService::Connect_failed:__x
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xf8]
mov byte [esp + 0xdd8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0xdd8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
mov dword [esp + 0xdd8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x1001870c
lea eax, [esp + 0x18]
push eax
mov edi, 0x1001f404
mov dword [esp + 0x18], ebx
call fcn.10005660
mov byte [esp + 0xdd8], 7
mov eax, dword [eax]
cmp eax, ebx
je 0x10017ba3
mov ecx, dword [eax]
jmp 0x10017ba5
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea esi, [esp + 0x14]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
cmp esi, ebx
jge 0x10017c52
push esi
lea ecx, [esp + 0x150]
push 0x1001f408
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xf8]
mov byte [esp + 0xdd8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0xdd8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
mov dword [esp + 0xdd8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, 1
jmp 0x1001870c
lea ecx, [esp + 0x18]
push ecx
mov edi, str.NPAV_Update
call fcn.10005660
mov byte [esp + 0xdd8], 8
mov eax, dword [eax]
cmp eax, ebx
je 0x10017c73
mov ecx, dword [eax]
jmp 0x10017c75
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea edi, [esp + 0x18]
mov byte [esp + 0xdd8], 2
call fcn.10005700
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jge 0x10017ce8
push edi
lea eax, [esp + 0x150]
push str.Failed_to_create_a_task_definition:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x14]
jmp 0x10017b25
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
mov dword [esp + 0x48], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x10017d39
push eax
push str.Cannot_get_identification_pointer:__x
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x10]
jmp 0x10017b25
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Author_Name
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10017d94
push esi
lea eax, [esp + 0x150]
push str.Cannot_put_identification_info:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10017b25
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
cmp eax, ebx
jge 0x10017db8
push eax
push str.Cannot_get_settings_pointer:__x
jmp 0x10017d07
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push ebx
push eax
call edx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
push ebx
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10017e1c
push esi
push str.Cannot_put_setting_info:__x
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10017b25
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jge 0x10017e40
push eax
push str.Cannot_get_trigger_collection:__x
jmp 0x10017d07
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x58], ebx
mov ecx, dword [eax]
push 2
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10017e74
push esi
push str.Cannot_create_the_trigger:__x
jmp 0x10017dea
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push 0x1001b724
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10017eaa
push esi
push str.QueryInterface_call_failed_for_IDailyTrigger:__x
jmp 0x10017dea
lea eax, [esp + 0x18]
push eax
mov edi, str.Trigger1
call fcn.10005660
mov byte [esp + 0xdd8], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x10017ecb
mov ecx, dword [eax]
jmp 0x10017ecd
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
cmp esi, ebx
jge 0x10017f14
push esi
lea ecx, [esp + 0x150]
push str.Cannot_put_the_trigger_ID:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
lea edx, [esp + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x62
lea ecx, [esp + 0x35a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x360], ax
call sub.MSVCR90.dll_memset
movzx edx, word [esp + 0xde]
movzx eax, word [esp + 0xda]
movzx ecx, word [esp + 0xd8]
push edx
push eax
push ecx
lea edx, [esp + 0x36c]
push str._4d__02d__02dT11:00:00
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x358]
call fcn.10005660
mov byte [esp + 0xdd8], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x10017f90
mov ecx, dword [eax]
jmp 0x10017f92
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
cmp esi, ebx
mov edi, dword [sym.imp.MSVCR90.dll_printf]
jge 0x10017fc7
push esi
push str._nCannot_put_start_boundary:__x
call edi
add esp, 8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
push 1
push eax
call edx
cmp eax, ebx
jge 0x10018005
push eax
push str._nCannot_put_days_interval:__x
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10017b25
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x1001804c
push esi
push str._nCannot_get_repetition_pattern:__x
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10017b25
lea eax, [esp + 0x18]
push eax
mov edi, str.PT18H
call fcn.10005660
mov byte [esp + 0xdd8], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x1001806d
mov ecx, dword [eax]
jmp 0x1001806f
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x28]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
cmp esi, ebx
jge 0x100180c3
push esi
push str._nCannot_put_repetition_duration:__x
call dword [sym.imp.MSVCR90.dll_printf]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10017b25
lea eax, [esp + 0x18]
push eax
mov edi, str.PT4H
call fcn.10005660
mov byte [esp + 0xdd8], 0xc
mov eax, dword [eax]
cmp eax, ebx
je 0x100180e4
mov ecx, dword [eax]
jmp 0x100180e6
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x1001813a
push esi
push str._nCannot_put_repetition_interval:__x
call dword [sym.imp.MSVCR90.dll_printf]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x10]
jmp 0x10017b25
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
cmp eax, ebx
jge 0x1001815e
push eax
push str.Cannot_get_Task_collection_pointer:__x
jmp 0x10017d07
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x70]
push edx
mov dword [esp + 0x74], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10018191
push esi
push str.Cannot_create_the_action:__x
jmp 0x10017dea
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], ebx
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x100181c7
push esi
push str.QueryInterface_call_failed_for_IExecAction:__x
jmp 0x10017dea
cmp dword [esp + 0x110], 8
mov edi, dword [esp + 0xfc]
jae 0x100181df
lea edi, [esp + 0xfc]
lea eax, [esp + 0x18]
push eax
call fcn.10005660
mov byte [esp + 0xdd8], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x100181fb
mov ecx, dword [eax]
jmp 0x100181fd
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
cmp esi, ebx
jge 0x1001822c
push esi
push str.Cannot_set_path_of_executable:__x
jmp 0x10017d07
cmp dword [esp + 0xf4], 8
mov edi, dword [esp + 0xe0]
jae 0x10018244
lea edi, [esp + 0xe0]
lea eax, [esp + 0x18]
push eax
call fcn.10005660
mov byte [esp + 0xdd8], 0xe
mov eax, dword [eax]
cmp eax, ebx
je 0x10018260
mov ecx, dword [eax]
jmp 0x10018262
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x34]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x1001829d
push esi
push str.Cannot_set_path_of_executable:__x
jmp 0x10017dea
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
cmp eax, ebx
jge 0x100182c1
push eax
push str.Cannot_get_principal_pointer:__x
jmp 0x10017d07
lea eax, [esp + 0x18]
push eax
mov edi, str.Principal1
call fcn.10005660
mov byte [esp + 0xdd8], 0xf
mov eax, dword [eax]
cmp eax, ebx
je 0x100182e2
mov ecx, dword [eax]
jmp 0x100182e4
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x20]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 2
call fcn.10005700
cmp esi, ebx
jge 0x1001832f
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x150]
push str.Cannot_put_the_principal_ID:__x
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
jmp 0x10018335
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 5
push eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, ebx
jge 0x10018366
push eax
lea ecx, [esp + 0x150]
push str.Cannot_put_principal_logon_type:__x
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
push str.SYSTEM
lea edx, [esp + 0x3c0]
push 0x1001f970
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x3bc]
push eax
lea ecx, [esp + 0x134]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0xdd8], 0x10
mov eax, dword [esp + 0x134]
mov edi, 8
cmp dword [esp + 0x148], edi
jae 0x100183b6
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x150]
push str._UserName:__s_n
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
cmp dword [esp + 0x148], edi
mov edi, dword [esp + 0x134]
jae 0x100183ec
lea edi, [esp + 0x134]
lea edx, [esp + 0x18]
push edx
call fcn.10005660
mov byte [esp + 0xdd8], 0x11
mov eax, dword [eax]
cmp eax, ebx
je 0x10018408
mov ecx, dword [eax]
jmp 0x1001840a
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x30]
call eax
lea edi, [esp + 0x18]
mov esi, eax
mov byte [esp + 0xdd8], 0x10
call fcn.10005700
cmp esi, ebx
jge 0x10018451
push esi
lea ecx, [esp + 0x150]
push str.Cannot_put_Principle_UserID:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 1
push eax
mov eax, dword [edx + 0x48]
call eax
mov edi, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jge 0x100184cc
push edi
lea eax, [esp + 0x150]
push str.Cannot_put_principal_run_level:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x130]
mov byte [esp + 0xdd8], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x10017917
xor eax, eax
lea esi, [esp + 0x9c]
mov dword [esp + 0x58], ebx
mov word [esp + 0x74], ax
call fcn.10016a10
mov byte [esp + 0xdd8], 0x12
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0xc]
lea esi, [esp + 0xac]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
call fcn.10016a10
mov byte [esp + 0xdd8], 0x13
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x88]
push ecx
mov edi, str.NPAV_Update
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.10005660
mov byte [esp + 0xdd8], 0x14
mov eax, dword [eax]
cmp eax, ebx
je 0x10018559
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jmp 0x1001855d
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x5c]
lea eax, [esp + 0x58]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x74]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x78]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x88]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0xa4]
mov edx, dword [ecx]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xa8]
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x48]
push 6
push eax
mov eax, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
lea edi, [esp + 0x88]
mov esi, eax
call fcn.10005700
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xac]
push edx
call edi
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0xddc], 0x10
call edi
cmp esi, ebx
jge 0x1001864b
push esi
lea ecx, [esp + 0x150]
push str.Error_saving_the_Task_:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x14c]
call fcn.10017680
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x100184a0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
xor ecx, ecx
mov word [esp + 0x38], cx
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x30]
push ecx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x130]
mov byte [esp + 0xdd8], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xf8]
mov byte [esp + 0xdd8], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0xdc]
mov byte [esp + 0xdd8], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x114]
mov dword [esp + 0xdd8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0xdd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xdb8]
xor ecx, esp
call fcn.100195d2
mov esp, ebp
pop ebp
ret