Function at 0x402820
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x403bc1
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x407018]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
xor esi, esi
push esi
push esi
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, esi
jge 0x402884
push eax
push str._nCoInitializeSecurity_failed:__x
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
lea eax, [esp + 0x1c]
push eax
push 0x404280
push 1
push esi
push 0x404490
mov dword [esp + 0x30], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x4028be
push eax
push str.Failed_to_create_an_instance_of_ITaskService:__x
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x64]
push ecx
call edi
mov dword [esp + 0xc8], esi
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call edi
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
call edi
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x84]
push edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
call edi
mov byte [esp + 0xc8], 3
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov esi, dword [esp + 0xc4]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xc8]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xa4]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xb8]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xbc]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xc0]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
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 esi, dword [esp + 0xb4]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xc8]
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 eax, dword [edx + 0x28]
push ecx
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x84]
push ecx
mov ebx, eax
call edi
lea edx, [esp + 0x54]
push edx
call edi
lea eax, [esp + 0x74]
push eax
call edi
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xcc], 0xffffffff
call edi
xor esi, esi
cmp ebx, esi
jge 0x402a5f
push ebx
push str.ITaskService::Connect_failed:__x
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
lea ecx, [esp + 0x24]
push ecx
mov edi, 0x404fd8
mov dword [esp + 0x1c], esi
call section..text
mov dword [esp + 0xc8], 4
mov eax, dword [eax]
cmp eax, esi
je 0x402a87
mov ecx, dword [eax]
jmp 0x402a89
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea edi, [esp + 0x18]
push edi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea ebx, [esp + 0x24]
mov edi, eax
mov dword [esp + 0xc8], 0xffffffff
call fcn.004010a0
cmp edi, esi
jge 0x402adb
push edi
push str.Cannot_get_Root_Folder_pointer:__x
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
lea eax, [esp + 0x24]
push eax
mov edi, str.ASUS_Splendid_ACMON
call section..text
mov dword [esp + 0xc8], 5
mov eax, dword [eax]
cmp eax, esi
je 0x402aff
mov ecx, dword [eax]
jmp 0x402b01
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push esi
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea ebx, [esp + 0x24]
mov dword [esp + 0xc8], 0xffffffff
call fcn.004010a0
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], esi
mov ecx, dword [eax]
push esi
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, esi
jge 0x402b71
push edi
push str.Failed_to_create_a_task_definition:__x
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
cmp eax, esi
jge 0x402bbc
push eax
push str._nCannot_get_settings_pointer:__x
call dword [sym.imp.MSVCR100.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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push esi
push eax
call edx
cmp eax, esi
jge 0x402bff
push eax
push str._nCannot_put_StopIfGoingOnBatteries:__x
call dword [sym.imp.MSVCR100.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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push esi
push eax
call edx
cmp eax, esi
jge 0x402c42
push eax
push str._nCannot_put_DisallowStartIfOnBatteries:__x
call dword [sym.imp.MSVCR100.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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push esi
push eax
call edx
cmp eax, esi
jl 0x402c10
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
mov dword [esp + 0x34], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, esi
jge 0x402caa
push eax
push str._nCannot_get_trigger_collection:__x
call dword [sym.imp.MSVCR100.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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push 9
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x402d05
push edi
push str._nCannot_create_the_trigger:__x
call dword [sym.imp.MSVCR100.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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x50], esi
mov ecx, dword [eax]
push 0x404330
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x402d62
push edi
push str._nQueryInterface_call_failed_for_ILogonTrigger:__x
call dword [sym.imp.MSVCR100.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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x4c]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov ebx, dword [sym.imp.MSVCR100.dll_printf]
cmp eax, esi
jge 0x402d87
push eax
push str._nCannot_put_the_delay:__x
call ebx
add esp, 8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x30]
mov dword [esp + 0x30], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
cmp eax, esi
jge 0x402dce
push eax
push str._nCannot_get_Task_collection_pointer:__x
call ebx
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]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x403074
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x30]
call eax
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x402dfe
push edi
push str._nCannot_create_the_action:__x
jmp 0x402da6
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], esi
mov ecx, dword [eax]
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x402e34
push edi
push str._nQueryInterface_call_failed_for_IExecAction:__x
jmp 0x402da6
mov edi, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
call section..text
mov dword [esp + 0xc8], 6
mov eax, dword [eax]
cmp eax, esi
je 0x402e56
mov ecx, dword [eax]
jmp 0x402e58
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
lea ebx, [esp + 0x24]
mov edi, eax
mov dword [esp + 0xc8], 0xffffffff
call fcn.004010a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x402e9c
push edi
push str._nCannot_set_path_of_executable:__x
call dword [sym.imp.MSVCR100.dll_printf]
jmp 0x402da8
mov dword [esp + 0x50], esi
mov edi, 0x404fdc
lea esi, [esp + 0x84]
call fcn.00402250
mov dword [esp + 0xc8], 7
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0xc8], 8
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x60]
mov edi, str.Everyone
lea esi, [esp + 0xac]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call fcn.00402250
mov byte [esp + 0xc8], 9
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov esi, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0xa8]
push ecx
mov edi, str.ASUS_Splendid_ACMON
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call section..text
mov byte [esp + 0xc8], 0xa
mov eax, dword [eax]
test eax, eax
je 0x402f60
mov edx, dword [eax]
jmp 0x402f62
xor edx, edx
lea eax, [esp + 0x50]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x7c]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x50]
push 4
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x68]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x6c]
mov edi, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [eax + 0xc], ebx
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]
push 6
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x50]
push eax
push edx
push ecx
mov ecx, dword [edi + 0x44]
call ecx
lea ebx, [esp + 0xa8]
mov edi, eax
call fcn.004010a0
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0xac]
push edx
call esi
lea eax, [esp + 0x54]
push eax
call esi
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0xcc], 0xffffffff
call esi
test edi, edi
jns 0x403042
push edi
push str._nError_saving_the_Task_:__x
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x402ba5
push str._n_Success__Task_successfully_registered.
call dword [sym.imp.MSVCR100.dll_printf]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
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 + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret