Function at 0x402360
Capabilities:
Schedule task via itaskscheduler
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ee39
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x43a050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
call fcn.00401c70
mov dword [ebp - 0x38], esi
push esi
cmp eax, 0x1b
jge 0x402475
mov dword [ebp + 8], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp + 8]
push eax
push 0x432718
push 1
push esi
push 0x432738
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x402459
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push 0x432708
push 0x435770
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, esi
jl 0x40240a
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x402456
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp + 8], esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ole32.dll_CoInitialize]
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]
lea eax, [ebp - 0x20]
push eax
push 0x432468
push 1
push esi
mov dword [ebp - 4], 2
push 0x432678
mov dword [ebp - 0x20], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x4024dc
push eax
push str.Failed_to_CoCreate_an_instance_of_the_TaskService_class:__x
call fcn.00419709
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x64]
push ecx
call edi
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x9c]
push ecx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], eax
call edi
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], edx
call edi
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0xa0]
lea edx, [ebp - 0xbc]
push edx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], ecx
call edi
mov byte [ebp - 4], 6
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xc4]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xc0]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x8c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x88]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x84]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x78]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x74]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x70]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0xbc]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0xb8]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xb4]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xb0]
mov dword [eax + 0xc], esi
push ecx
mov eax, dword [edx + 0x28]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0xbc]
push ecx
mov edi, eax
call esi
lea edx, [ebp - 0xac]
push edx
call esi
lea eax, [ebp - 0x9c]
push eax
call esi
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 2
call esi
xor esi, esi
cmp edi, esi
jge 0x402668
push edi
push str.ITaskService::Connect_failed:__x
call fcn.00419709
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
add esp, 8
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x3c], esi
call fcn.00401f30
mov byte [ebp - 4], 7
mov eax, dword [eax]
cmp eax, esi
je 0x402681
mov eax, dword [eax]
jmp 0x402683
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
lea edi, [ebp - 0x3c]
push edi
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
lea edi, [ebp - 0x18]
mov ebx, eax
mov byte [ebp - 4], 2
call fcn.00401fd0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp ebx, esi
jge 0x4026bb
push ebx
push str.Cannot_get_Root_Folder_pointer:__x
jmp 0x4024b8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x38]
call eax
mov edi, eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x4026ea
push edi
push str.Cannot_get_the_registered_tasks.:__x
jmp 0x4024b8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0x40]
cmp eax, esi
jne 0x402720
push str._nNo_Tasks_are_currently_running
call fcn.00419709
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
jmp 0x4024c0
push eax
push str._nNumber_of_Tasks_:__d
call fcn.00419709
add esp, 8
xor edi, edi
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x40]
jge 0x4029b4
inc edi
mov eax, 3
mov ecx, edi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x64], ax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
lea eax, [ebp - 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [ebp - 0x60]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x58]
push edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
call edx
mov ebx, eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor esi, esi
cmp ebx, esi
jl 0x40299c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
cmp eax, esi
jl 0x40297a
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004012d0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x34]
push edx
push str._nTask_Name:__S
call fcn.00419709
mov eax, dword [ebp - 0x34]
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x435770
call fcn.00402fc0
cmp eax, esi
jne 0x40295a
xor eax, eax
cmp eax, esi
je 0x402953
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
push ecx
push eax
call edx
cmp eax, esi
jl 0x40295a
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
cmp eax, esi
jl 0x402928
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x48], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor eax, eax
mov bl, 0xa
cmp eax, dword [ebp - 0x48]
jge 0x40291d
lea edi, [eax + 1]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], esi
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, esi
jl 0x402916
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp dword [ebp - 0x50], esi
jne 0x40290b
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, esi
jl 0x4028fd
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004012d0
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x2c]
push edx
push str._nTask_ExecFile_Path:__S
call fcn.00419709
mov eax, dword [ebp - 0x2c]
add esp, 8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp + 8]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.00402fc0
cmp eax, esi
jne 0x4028df
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 9
call fcn.00401380
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, edi
jmp 0x402843
push eax
push str._nCannot_get_the_registered_task_exec_file_path:__x
call fcn.00419709
add esp, 8
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, edi
jmp 0x402843
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401380
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x18]
inc edi
jmp 0x402730
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00401380
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x18]
inc edi
jmp 0x402730
push eax
push str._nCannot_get_the_registered_task_name:__x
call fcn.00419709
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 8
push eax
call edx
mov edi, dword [ebp - 0x18]
inc edi
jmp 0x402730
push ebx
push edi
push str._nCannot_get_the_registered_task_item_at_index_d:__x
call fcn.00419709
mov edi, dword [ebp - 0x18]
add esp, 0xc
inc edi
jmp 0x402730
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4