Function at 0x10018330
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 0x1001a13e
mov eax, dword fs:[0]
push eax
sub esp, 0x600
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x5f8], eax
push ebx
push esi
push edi
mov eax, dword [0x10022018]
xor eax, esp
push eax
lea eax, [esp + 0x610]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jge 0x100183ab
push eax
lea eax, [esp + 0x130]
push str.CoInitializeEx_failed:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
lea eax, [ebx + 1]
jmp 0x10019080
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
or edi, 0xffffffff
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x100183d8
cmp eax, 0x80010119
je 0x100183d8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [edi + 2]
jmp 0x10019080
push esi
lea ecx, [esp + 0xdc]
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 esi
mov dword [esp + 0x61c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001843f
push esi
push str.File_Not_Exists_to_Add_Task___s
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x618], edi
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 0x10019080
lea edx, [esp + 0x20]
push edx
push 0x1001b634
push 1
push ebx
push 0x1001b824
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x1001846f
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
lea eax, [esp + 0x134]
push eax
jmp 0x10018406
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x5c]
push ecx
call esi
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xb8], edx
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
call esi
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
call esi
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call esi
mov byte [esp + 0x618], 4
mov esi, dword [esp + 0xb8]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
mov esi, dword [esp + 0xcc]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xd0]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x94]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xa8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xac]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xb0]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x78]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x7c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xc4]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xd8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xdc]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xe0]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x94]
push ecx
mov edi, eax
call esi
lea edx, [esp + 0xa4]
push edx
call esi
lea eax, [esp + 0x6c]
push eax
call esi
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x61c], bl
call esi
cmp edi, ebx
jge 0x10018654
push edi
lea edx, [esp + 0x130]
push str.ITaskService::Connect_failed:__x
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x618], 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 0x10019080
lea eax, [esp + 0x1c]
push eax
mov edi, 0x1001f36c
mov dword [esp + 0x1c], ebx
call fcn.10005160
mov byte [esp + 0x618], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x10018679
mov ecx, dword [eax]
jmp 0x1001867b
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x618], bl
call fcn.10005200
cmp esi, ebx
jge 0x100186fa
push esi
lea ecx, [esp + 0x130]
push 0x1001f370
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x618], 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 0x10019080
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.NPAV_DMAL
call fcn.10005160
mov byte [esp + 0x618], 6
mov eax, dword [eax]
cmp eax, ebx
je 0x1001871b
mov ecx, dword [eax]
jmp 0x1001871d
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x618], bl
call fcn.10005200
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x24]
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 0x1001878f
push esi
lea eax, [esp + 0x130]
push str.Failed_to_create_a_task_definition:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
jmp 0x10018624
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x100187e0
push eax
push str.Cannot_get_identification_pointer:__x
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
jmp 0x10018624
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Author_Name
push eax
call edx
mov esi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x1001883b
push esi
lea eax, [esp + 0x130]
push str.Cannot_put_identification_info:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10018624
mov eax, dword [esp + 0x14]
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 0x1001885f
push eax
push str.Cannot_get_settings_pointer:__x
jmp 0x100187ae
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 0x100188c3
push esi
push str.Cannot_put_setting_info:__x
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10018624
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jge 0x100188e7
push eax
push str.Cannot_get_trigger_collection:__x
jmp 0x100187ae
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], ebx
mov ecx, dword [eax]
push 2
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10018934
push esi
push str._nCannot_create_the_trigger:__x
call dword [sym.imp.MSVCR90.dll_printf]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10018624
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
push 0x1001b724
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10018983
push esi
push str._nQueryInterface_call_on_IDailyTrigger_failed:__x
call dword [sym.imp.MSVCR90.dll_printf]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10018624
lea eax, [esp + 0x1c]
push eax
mov edi, str.Trigger1
call fcn.10005160
mov byte [esp + 0x618], 7
mov eax, dword [eax]
cmp eax, ebx
je 0x100189a4
mov ecx, dword [eax]
jmp 0x100189a6
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
lea edi, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x618], bl
call fcn.10005200
cmp esi, ebx
mov edi, dword [sym.imp.MSVCR90.dll_printf]
jge 0x100189da
push esi
push str._nCannot_put_trigger_ID:__x
call edi
add esp, 8
push 0xc6
lea edx, [esp + 0x33a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x340], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0xce]
movzx edx, word [esp + 0xca]
movzx eax, word [esp + 0xc8]
push ecx
push edx
push eax
lea ecx, [esp + 0x340]
push str._02d__02d__02dT13:00:00
push ecx
mov edx, 0x64
call fcn.100165f0
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0x3c]
add esp, 0x14
lea ecx, [esp + 0x334]
push ecx
push eax
call edx
cmp eax, ebx
jge 0x10018a60
push eax
push str._nCannot_put_start_boundary:__x
call edi
add esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
push 3
push eax
call edx
cmp eax, ebx
jge 0x10018a9e
push eax
push str._nCannot_put_days_interval:__x
call edi
mov eax, dword [esp + 0x20]
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 + 0x14]
jmp 0x10018624
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x54]
mov dword [esp + 0x54], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
cmp eax, ebx
jge 0x10018ac2
push eax
push str.Cannot_get_Task_collection_pointer:__x
jmp 0x100187ae
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x30]
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 0x10018af5
push esi
push str.Cannot_create_the_action:__x
jmp 0x10018891
push 0x1001ceb8
lea ecx, [esp + 0xf8]
mov dword [esp + 0x30], 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__]
mov byte [esp + 0x618], 8
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10018b94
push esi
push str.QueryInterface_call_failed_for_IExecAction:__x
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x618], 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_]
jmp 0x10018632
cmp dword [esp + 0xf0], 8
mov edi, dword [esp + 0xdc]
jae 0x10018bac
lea edi, [esp + 0xdc]
lea eax, [esp + 0x1c]
push eax
call fcn.10005160
mov byte [esp + 0x618], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x10018bc8
mov ecx, dword [eax]
jmp 0x10018bca
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 + 0x1c]
mov esi, eax
mov byte [esp + 0x618], 8
call fcn.10005200
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10018c05
push esi
push str.Cannot_set_path_of_executable:__x
jmp 0x10018b40
cmp dword [esp + 0x10c], 8
mov edi, dword [esp + 0xf8]
jae 0x10018c1d
lea edi, [esp + 0xf8]
lea eax, [esp + 0x1c]
push eax
call fcn.10005160
mov byte [esp + 0x618], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x10018c39
mov ecx, dword [eax]
jmp 0x10018c3b
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 + 0x1c]
mov byte [esp + 0x618], 8
call fcn.10005200
mov eax, dword [esp + 0x14]
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 0x10018ca6
push eax
lea ecx, [esp + 0x130]
push str.Cannot_get_principal_pointer:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10018b69
lea eax, [esp + 0x1c]
push eax
mov edi, str.Principal1
call fcn.10005160
mov byte [esp + 0x618], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x10018cc7
mov ecx, dword [eax]
jmp 0x10018cc9
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 + 0x1c]
mov esi, eax
mov byte [esp + 0x618], 8
call fcn.10005200
cmp esi, ebx
jge 0x10018d14
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x130]
push str.Cannot_put_the_principal_ID:__x
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
jmp 0x10018d1a
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 3
push eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, ebx
jge 0x10018d4b
push eax
lea ecx, [esp + 0x130]
push str.Cannot_put_principal_logon_type:__x
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
push str.SYSTEM
lea edx, [esp + 0x400]
push 0x1001f8d8
push edx
call esi
add esp, 0xc
lea eax, [esp + 0x3fc]
push eax
lea ecx, [esp + 0x114]
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 + 0x618], 0xc
cmp dword [esp + 0x128], 8
mov edi, dword [esp + 0x114]
jae 0x10018d97
lea edi, [esp + 0x114]
lea ecx, [esp + 0x1c]
push ecx
call fcn.10005160
mov byte [esp + 0x618], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x10018db3
mov ecx, dword [eax]
jmp 0x10018db5
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 + 0x1c]
mov esi, eax
mov byte [esp + 0x618], 0xc
call fcn.10005200
cmp esi, ebx
jge 0x10018dfc
push esi
lea ecx, [esp + 0x130]
push str.Cannot_put_Principle_UserID:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
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 0x10018e8b
push edi
lea eax, [esp + 0x130]
push str.Cannot_put_principal_run_level:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x110]
mov byte [esp + 0x618], 8
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 + 0xf4]
mov byte [esp + 0x618], 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_]
jmp 0x10018632
xor eax, eax
lea esi, [esp + 0x94]
mov dword [esp + 0x58], ebx
mov word [esp + 0x6c], ax
call fcn.10016610
mov byte [esp + 0x618], 0xe
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xc]
lea esi, [esp + 0xa4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
call fcn.10016610
mov byte [esp + 0x618], 0xf
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0x80]
push ecx
mov edi, str.NPDMALN
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.10005160
mov byte [esp + 0x618], 0x10
mov eax, dword [eax]
cmp eax, ebx
je 0x10018f18
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
jmp 0x10018f1c
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x58]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x5c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x60]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x64]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x80]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x9c]
mov edx, dword [ecx]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xa0]
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x98]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x9c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xa0]
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x4c]
push 6
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
lea edi, [esp + 0x80]
mov esi, eax
call fcn.10005200
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xa4]
push edx
call edi
lea eax, [esp + 0x94]
push eax
mov byte [esp + 0x61c], 0xc
call edi
cmp esi, ebx
jge 0x10019013
push esi
lea ecx, [esp + 0x130]
push str.Error_saving_the_Task_:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10018e4b
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
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 + 0x110]
mov byte [esp + 0x618], 8
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 + 0xf4]
mov byte [esp + 0x618], 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 + 0xd8]
mov dword [esp + 0x618], 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 + 0x610]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5f8]
xor ecx, esp
call fcn.100191d2
mov esp, ebp
pop ebp
ret