Function at 0x10016650
Capabilities:
Check if file exists
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x1001a337
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x10022018]
xor eax, esp
mov dword [esp + 0x500], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10022018]
xor eax, esp
push eax
lea eax, [esp + 0x518]
mov dword fs:[0], eax
mov eax, dword [esp + 0x528]
xor ebx, ebx
push ebx
push ebx
mov dword [esp + 0x34], eax
mov esi, edx
mov dword [esp + 0x30], ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jge 0x100166d5
push eax
lea edx, [esp + 0x108]
push str.CoInitializeEx_failed:__x
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
lea eax, [ebx + 1]
jmp 0x10017254
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 0x10016725
cmp eax, 0x80010119
je 0x10016725
push eax
lea eax, [esp + 0x108]
push str.CoInitializeSecurity_failed:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [edi + 2]
jmp 0x10017254
push esi
lea ecx, [esp + 0xd0]
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 + 0x524], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001678c
push esi
push str.File_Not_Exists_to_Add_Task___s
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xcc]
mov dword [esp + 0x520], 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 0x10017254
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 0x100167bc
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
lea eax, [esp + 0x10c]
push eax
jmp 0x10016753
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0xcc], edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x88]
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x520], 4
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xd8]
mov dword [eax + 4], edi
mov dword [eax + 8], ebp
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 + 0x84]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
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 esi, dword [esp + 0xdc]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xf0]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xf4]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xf8]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov esi, eax
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0xac]
push ecx
call ebp
lea edx, [esp + 0x9c]
push edx
call ebp
lea eax, [esp + 0x7c]
push eax
call ebp
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x524], bl
call ebp
cmp esi, ebx
jge 0x100169a1
push esi
lea edx, [esp + 0x108]
push str.ITaskService::Connect_failed:__x
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 + 0xcc]
mov dword [esp + 0x520], 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 0x10017254
lea eax, [esp + 0x1c]
push eax
mov edi, 0x1001f36c
mov dword [esp + 0x1c], ebx
call fcn.10005160
mov byte [esp + 0x520], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x100169c6
mov ecx, dword [eax]
jmp 0x100169c8
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 + 0x520], bl
call fcn.10005200
cmp esi, ebx
jge 0x10016a47
push esi
lea ecx, [esp + 0x108]
push 0x1001f370
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 + 0xcc]
mov dword [esp + 0x520], 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 0x10017254
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
call fcn.10005160
mov byte [esp + 0x520], 6
mov eax, dword [eax]
cmp eax, ebx
je 0x10016a67
mov ecx, dword [eax]
jmp 0x10016a69
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 + 0x520], 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 0x10016adb
push esi
lea eax, [esp + 0x108]
push str.Failed_to_create_a_task_definition:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
mov eax, dword [esp + 0x18]
jmp 0x10016971
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, ebx
jge 0x10016b2c
push eax
push str.Cannot_get_identification_pointer:__x
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 0x10016971
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Author_Name
push eax
call edx
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 0x10016b87
push esi
lea eax, [esp + 0x108]
push str.Cannot_put_identification_info:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 0x10016971
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 0x10016bab
push eax
push str.Cannot_get_settings_pointer:__x
jmp 0x10016afa
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 1
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 0x10016c10
push esi
push str.Cannot_put_setting_info:__x
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 0x10016971
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, ebx
jge 0x10016c34
push eax
push str.Cannot_get_trigger_collection:__x
jmp 0x10016afa
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], ebx
mov ecx, dword [eax]
push 9
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10016c68
push esi
push str.Cannot_create_the_trigger:__x
jmp 0x10016bde
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x7c], ebx
mov ecx, dword [eax]
push 0x1001b6e4
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10016c9e
push esi
push str.QueryInterface_call_failed_for_ILogonTrigger:__x
jmp 0x10016bde
lea eax, [esp + 0x1c]
push eax
mov edi, str.Trigger1
call fcn.10005160
mov byte [esp + 0x520], 7
mov eax, dword [eax]
cmp eax, ebx
je 0x10016cbf
mov ecx, dword [eax]
jmp 0x10016cc1
xor ecx, ecx
mov eax, dword [esp + 0x78]
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 + 0x520], bl
call fcn.10005200
cmp esi, ebx
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jge 0x10016d09
push esi
lea ecx, [esp + 0x108]
push str.Cannot_put_the_trigger_ID:__x
push ecx
call edi
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
jge 0x10016d2e
push esi
lea ecx, [esp + 0x108]
push str.Cannot_release_IEventLogonTrigger_:__x
push ecx
call edi
jmp 0x10016b08
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 0x10016d5c
push eax
lea ecx, [esp + 0x108]
push str.Cannot_get_Task_collection_pointer:__x
push ecx
call edi
jmp 0x10016b08
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x54], 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 0x10016d99
push esi
lea eax, [esp + 0x108]
push str.Cannot_create_the_action:__x
push eax
call edi
jmp 0x10016bec
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], ebx
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
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 0x10016dd9
push esi
lea eax, [esp + 0x108]
push str.QueryInterface_call_failed_for_IExecAction:__x
push eax
call edi
jmp 0x10016bec
cmp dword [esp + 0xe4], 8
mov edi, dword [esp + 0xd0]
jae 0x10016df1
lea edi, [esp + 0xd0]
lea eax, [esp + 0x1c]
push eax
call fcn.10005160
mov byte [esp + 0x520], 8
mov eax, dword [eax]
cmp eax, ebx
je 0x10016e0d
mov eax, dword [eax]
jmp 0x10016e0f
xor eax, eax
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
lea edi, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x520], bl
call fcn.10005200
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x10016e49
push esi
push str.Cannot_set_path_of_executable:__x
jmp 0x10016bde
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 0x10016e6d
push eax
push str.Cannot_get_principal_pointer:__x
jmp 0x10016afa
lea eax, [esp + 0x1c]
push eax
mov edi, str.Principal1
call fcn.10005160
mov byte [esp + 0x520], 9
mov eax, dword [eax]
cmp eax, ebx
je 0x10016e8e
mov eax, dword [eax]
jmp 0x10016e90
xor eax, eax
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
lea edi, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x520], bl
call fcn.10005200
cmp esi, ebx
jge 0x10016eda
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [esp + 0x108]
push str.Cannot_put_the_principal_ID:__x
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
jmp 0x10016ee0
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 0x10016f11
push eax
lea ecx, [esp + 0x108]
push str.Cannot_put_principal_logon_type:__x
push ecx
call esi
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x310]
push 0x1001f8d8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x30c]
push ecx
lea ecx, [esp + 0xec]
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 + 0x520], 0xa
cmp dword [esp + 0x100], 8
mov edi, dword [esp + 0xec]
jae 0x10016f5d
lea edi, [esp + 0xec]
lea edx, [esp + 0x2c]
push edx
call fcn.10005160
mov byte [esp + 0x520], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x10016f79
mov ecx, dword [eax]
jmp 0x10016f7b
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 + 0x2c]
mov esi, eax
mov byte [esp + 0x520], 0xa
call fcn.10005200
cmp esi, ebx
jge 0x10016fc2
push esi
lea ecx, [esp + 0x108]
push str.Cannot_put_Principle_UserID:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 0x1001703c
push edi
lea eax, [esp + 0x108]
push str.Cannot_put_principal_run_level:__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
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 + 0xe8]
mov byte [esp + 0x520], 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 0x1001697f
xor eax, eax
lea esi, [esp + 0x9c]
mov dword [esp + 0x48], ebx
mov word [esp + 0x7c], ax
call fcn.10016610
mov byte [esp + 0x520], 0xc
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0xc]
lea esi, [esp + 0xbc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
call fcn.10016610
mov edi, dword [esp + 0x28]
mov byte [esp + 0x520], 0xd
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 + 0x2c]
push ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.10005160
mov byte [esp + 0x520], 0xe
mov eax, dword [eax]
cmp eax, ebx
je 0x100170c5
mov edx, dword [eax]
mov dword [esp + 0x28], edx
jmp 0x100170c9
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x48]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x7c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x80]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x84]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x90]
push ebx
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0xa8]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], edi
mov edi, dword [esp + 0xac]
mov edx, dword [ecx]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xb0]
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 + 0x4c]
push 6
push eax
mov eax, dword [esp + 0x68]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
lea edi, [esp + 0x2c]
mov esi, eax
call fcn.10005200
lea edx, [esp + 0xbc]
push edx
call ebp
lea eax, [esp + 0x9c]
push eax
mov byte [esp + 0x524], 0xa
call ebp
cmp esi, ebx
jge 0x100171b4
push esi
lea ecx, [esp + 0x108]
push str.Error_saving_the_Task_:__x
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017280
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10017011
cmp byte [esp + 0x52c], bl
je 0x100171fc
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 + 0x4c]
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 + 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 + 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x520], 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 + 0xcc]
mov dword [esp + 0x520], 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 + 0x518]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x500]
xor ecx, esp
call fcn.100191d2
add esp, 0x510
ret