Function at 0x10018730
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 0x1001a54e
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 0x100187ab
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.10017680
lea eax, [ebx + 1]
jmp 0x10019480
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 0x100187d8
cmp eax, 0x80010119
je 0x100187d8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [edi + 2]
jmp 0x10019480
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 0x1001883f
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.10017680
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 0x10019480
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 0x1001886f
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
lea eax, [esp + 0x134]
push eax
jmp 0x10018806
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 0x10018a54
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.10017680
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 0x10019480
lea eax, [esp + 0x1c]
push eax
mov edi, 0x1001f404
mov dword [esp + 0x1c], ebx
call fcn.10005660
mov byte [esp + 0x618], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x10018a79
mov ecx, dword [eax]
jmp 0x10018a7b
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.10005700
cmp esi, ebx
jge 0x10018afa
push esi
lea ecx, [esp + 0x130]
push 0x1001f408
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x12c]
call fcn.10017680
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 0x10019480
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.NPAV_DMAL
call fcn.10005660
mov byte [esp + 0x618], 6
mov eax, dword [eax]
cmp eax, ebx
je 0x10018b1b
mov ecx, dword [eax]
jmp 0x10018b1d
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.10005700
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 0x10018b8f
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.10017680
mov eax, dword [esp + 0x18]
jmp 0x10018a24
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 0x10018be0
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.10017680
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
jmp 0x10018a24
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 0x10018c3b
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.10017680
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10018a24
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 0x10018c5f
push eax
push str.Cannot_get_settings_pointer:__x
jmp 0x10018bae
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 0x10018cc3
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.10017680
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10018a24
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 0x10018ce7
push eax
push str.Cannot_get_trigger_collection:__x
jmp 0x10018bae
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 0x10018d34
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 0x10018a24
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 0x10018d83
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 0x10018a24
lea eax, [esp + 0x1c]
push eax
mov edi, str.Trigger1
call fcn.10005660
mov byte [esp + 0x618], 7
mov eax, dword [eax]
cmp eax, ebx
je 0x10018da4
mov ecx, dword [eax]
jmp 0x10018da6
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.10005700
cmp esi, ebx
mov edi, dword [sym.imp.MSVCR90.dll_printf]
jge 0x10018dda
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.100169f0
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 0x10018e60
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 0x10018e9e
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 0x10018a24
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 0x10018ec2
push eax
push str.Cannot_get_Task_collection_pointer:__x
jmp 0x10018bae
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 0x10018ef5
push esi
push str.Cannot_create_the_action:__x
jmp 0x10018c91
push 0x1001cf78
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 0x10018f94
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.10017680
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 0x10018a32
cmp dword [esp + 0xf0], 8
mov edi, dword [esp + 0xdc]
jae 0x10018fac
lea edi, [esp + 0xdc]
lea eax, [esp + 0x1c]
push eax
call fcn.10005660
mov byte [esp + 0x618], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x10018fc8
mov ecx, dword [eax]
jmp 0x10018fca
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.10005700
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10019005
push esi
push str.Cannot_set_path_of_executable:__x
jmp 0x10018f40
cmp dword [esp + 0x10c], 8
mov edi, dword [esp + 0xf8]
jae 0x1001901d
lea edi, [esp + 0xf8]
lea eax, [esp + 0x1c]
push eax
call fcn.10005660
mov byte [esp + 0x618], 0xa
mov eax, dword [eax]
cmp eax, ebx
je 0x10019039
mov ecx, dword [eax]
jmp 0x1001903b
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.10005700
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 0x100190a6
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.10017680
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10018f69
lea eax, [esp + 0x1c]
push eax
mov edi, str.Principal1
call fcn.10005660
mov byte [esp + 0x618], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x100190c7
mov ecx, dword [eax]
jmp 0x100190c9
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.10005700
cmp esi, ebx
jge 0x10019114
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.10017680
jmp 0x1001911a
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 0x1001914b
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.10017680
push str.SYSTEM
lea edx, [esp + 0x400]
push 0x1001f970
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 0x10019197
lea edi, [esp + 0x114]
lea ecx, [esp + 0x1c]
push ecx
call fcn.10005660
mov byte [esp + 0x618], 0xd
mov eax, dword [eax]
cmp eax, ebx
je 0x100191b3
mov ecx, dword [eax]
jmp 0x100191b5
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.10005700
cmp esi, ebx
jge 0x100191fc
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.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 0x1001928b
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.10017680
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 0x10018a32
xor eax, eax
lea esi, [esp + 0x94]
mov dword [esp + 0x58], ebx
mov word [esp + 0x6c], ax
call fcn.10016a10
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.10016a10
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.10005660
mov byte [esp + 0x618], 0x10
mov eax, dword [eax]
cmp eax, ebx
je 0x10019318
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
jmp 0x1001931c
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.10005700
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 0x10019413
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.10017680
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x1001924b
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.100195d2
mov esp, ebp
pop ebp
ret