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

Disassembly:
push 0xffffffffffffffff
push 0x1001a207
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 0x100165a5
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.10017150
lea eax, [ebx + 1]
jmp 0x10017124
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 0x100165f5
cmp eax, 0x80010119
je 0x100165f5
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.10017150
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [edi + 2]
jmp 0x10017124
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 0x1001665c
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.10017150
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 0x10017124
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 0x1001668c
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
lea eax, [esp + 0x10c]
push eax
jmp 0x10016623
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 0x10016871
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.10017150
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 0x10017124
lea eax, [esp + 0x1c]
push eax
mov edi, 0x1001f32c
mov dword [esp + 0x1c], ebx
call fcn.10005160
mov byte [esp + 0x520], 5
mov eax, dword [eax]
cmp eax, ebx
je 0x10016896
mov ecx, dword [eax]
jmp 0x10016898
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 0x10016917
push esi
lea ecx, [esp + 0x108]
push 0x1001f330
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [esp + 0x104]
call fcn.10017150
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 0x10017124
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 0x10016937
mov ecx, dword [eax]
jmp 0x10016939
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 0x100169ab
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.10017150
mov eax, dword [esp + 0x18]
jmp 0x10016841
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 0x100169fc
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.10017150
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x14]
jmp 0x10016841
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 0x10016a57
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.10017150
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10016841
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 0x10016a7b
push eax
push str.Cannot_get_settings_pointer:__x
jmp 0x100169ca
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 0x10016ae0
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.10017150
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
jmp 0x10016841
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 0x10016b04
push eax
push str.Cannot_get_trigger_collection:__x
jmp 0x100169ca
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 0x10016b38
push esi
push str.Cannot_create_the_trigger:__x
jmp 0x10016aae
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 0x10016b6e
push esi
push str.QueryInterface_call_failed_for_ILogonTrigger:__x
jmp 0x10016aae
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 0x10016b8f
mov ecx, dword [eax]
jmp 0x10016b91
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 0x10016bd9
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.10017150
mov eax, dword [esp + 0x78]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, ebx
jge 0x10016bfe
push esi
lea ecx, [esp + 0x108]
push str.Cannot_release_IEventLogonTrigger_:__x
push ecx
call edi
jmp 0x100169d8
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 0x10016c2c
push eax
lea ecx, [esp + 0x108]
push str.Cannot_get_Task_collection_pointer:__x
push ecx
call edi
jmp 0x100169d8
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 0x10016c69
push esi
lea eax, [esp + 0x108]
push str.Cannot_create_the_action:__x
push eax
call edi
jmp 0x10016abc
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 0x10016ca9
push esi
lea eax, [esp + 0x108]
push str.QueryInterface_call_failed_for_IExecAction:__x
push eax
call edi
jmp 0x10016abc
cmp dword [esp + 0xe4], 8
mov edi, dword [esp + 0xd0]
jae 0x10016cc1
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 0x10016cdd
mov eax, dword [eax]
jmp 0x10016cdf
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 0x10016d19
push esi
push str.Cannot_set_path_of_executable:__x
jmp 0x10016aae
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 0x10016d3d
push eax
push str.Cannot_get_principal_pointer:__x
jmp 0x100169ca
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 0x10016d5e
mov eax, dword [eax]
jmp 0x10016d60
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 0x10016daa
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.10017150
jmp 0x10016db0
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 0x10016de1
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.10017150
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x310]
push 0x1001f898
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 0x10016e2d
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 0x10016e49
mov ecx, dword [eax]
jmp 0x10016e4b
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 0x10016e92
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.10017150
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 0x10016f0c
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.10017150
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 0x1001684f
xor eax, eax
lea esi, [esp + 0x9c]
mov dword [esp + 0x48], ebx
mov word [esp + 0x7c], ax
call fcn.100164e0
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.100164e0
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 0x10016f95
mov edx, dword [eax]
mov dword [esp + 0x28], edx
jmp 0x10016f99
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 0x10017084
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.10017150
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10016ee1
cmp byte [esp + 0x52c], bl
je 0x100170cc
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.100190a2
add esp, 0x510
ret