Function at 0x4c6ffe
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0x110
mov eax, 0x511f31
call fcn.004f41e2
mov ebx, ecx
mov dword [ebp - 0xd4], ebx
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xd0], eax
lea eax, [ebx + 0xc]
push esi
mov ecx, eax
mov dword [ebp - 0xec], eax
call fcn.004f3dc9
lea ecx, [ebx + 0x10]
push edi
call fcn.004f3dc9
push dword [ebp - 0xcc]
lea ecx, [ebx + 0x14]
call fcn.004f3dc9
push dword [ebp - 0xd0]
lea ecx, [ebx + 0x18]
call fcn.004f3dc9
mov ecx, dword [0x5a23ec]
push 1
call fcn.004673c5
test eax, eax
je 0x4c70c8
push 0x521e20
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x6c]
push str.__Dir:__
push dword [ebp - 0xcc]
push str.___Args:
push edi
push str.___Exe:__
push esi
push str.Scheduler:_Creating_Task:__
call fcn.004e2531
and dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
push 1
push 1
call fcn.0044612f
push eax
call fcn.00421c79
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
add esp, 0xc
call fcn.004e25e0
push str.PT0S
lea ecx, [ebp - 0xe4]
call fcn.004f3d92
push 0x524e5c
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 1
call fcn.004f3d92
push str.S_1_5_18
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.004f3d92
push 8
xor eax, eax
mov byte [ebp - 4], 3
pop esi
mov word [ebp - 0x11c], si
lea edi, [ebp - 0x11a]
stosd dword es:[edi], eax
lea ecx, [ebp - 0xdc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0044612f
push 0x514870
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x114], eax
call fcn.004f3d92
xor eax, eax
mov word [ebp - 0x10c], si
lea edi, [ebp - 0x10a]
mov byte [ebp - 4], 4
stosd dword es:[edi], eax
lea ecx, [ebp - 0xd8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0044612f
mov dword [ebp - 0x104], eax
lea edi, [ebp - 0xfc]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7196
push str.CoInitializeEx_failed.
mov ecx, ebx
call fcn.004c78a3
jmp 0x4c74cb
push edi
push edi
push edi
push 3
push 6
push edi
push edi
push 0xffffffffffffffff
push edi
mov byte [ebx + 8], 1
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c71ba
push str.CoInitializeSecurity_failed.
jmp 0x4c718a
lea esi, [ebx + 0x3c]
push esi
push 0x562c2c
push 1
push edi
push 0x562c4c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c71df
push str.Failed_to_CoCreate_an_instance_of_the_TaskService_class.
jmp 0x4c718a
mov eax, dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xfc]
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xfc]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xfc]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xfc]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7234
push str.ITaskService::Connect_failed.
jmp 0x4c718a
lea edi, [ebx + 0x3c]
mov eax, dword [edi]
lea ecx, [ebp - 0xe0]
mov esi, dword [eax]
lea eax, [ebx + 0x38]
push eax
mov dword [ebp - 0xcc], eax
call fcn.0044612f
push eax
push dword [edi]
call dword [esi + 0x1c]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7267
push str.Cannot_get_Root_Folder_pointer.
jmp 0x4c718a
mov eax, dword [ebx + 0x38]
lea ecx, [ebx + 0xc]
push 0
mov esi, dword [eax]
call fcn.0044612f
push eax
push dword [ebx + 0x38]
call dword [esi + 0x3c]
mov ecx, dword [edi]
lea esi, [ebx + 0x30]
push esi
mov dword [ebx + 4], eax
push 0
mov eax, dword [ecx]
push ecx
mov dword [ebp - 0xe8], esi
call dword [eax + 0x24]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c72a5
push str.Failed_to_create_an_instance_of_the_TaskService_class.
jmp 0x4c718a
mov ecx, dword [edi]
test ecx, ecx
je 0x4c72b4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [edi], 0
mov ecx, dword [esi]
lea edi, [ebx + 0x34]
push edi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c72d1
push str.Cannot_get_task_settings.
jmp 0x4c718a
mov eax, dword [edi]
lea ecx, [ebp - 0xe4]
mov esi, dword [eax]
call fcn.0044612f
push eax
push dword [edi]
call dword [esi + 0x70]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c72f7
push str.Cannot_set_task_execution_time_limit.
jmp 0x4c718a
mov ecx, dword [ebx + 0x30]
lea esi, [ebx + 0x2c]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7315
push str.Cannot_get_task_collection_pointer.
jmp 0x4c718a
mov ecx, dword [esi]
lea edi, [ebx + 0x24]
push edi
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7334
push str.pActionCollection__Create_failed.
jmp 0x4c718a
mov ecx, dword [esi]
test ecx, ecx
je 0x4c7343
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi], 0
mov ecx, dword [edi]
lea edi, [ebx + 0x28]
push edi
push str.MbLk
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7364
push str.pAction__QueryInterface_failed.
jmp 0x4c718a
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4c7375
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [ebx + 0x24], 0
mov eax, dword [edi]
lea ecx, [ebx + 0x10]
mov esi, dword [eax]
call fcn.0044612f
push eax
push dword [edi]
call dword [esi + 0x2c]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c7398
push str.Cannot_set_path_of_executable.
jmp 0x4c718a
mov eax, dword [edi]
lea ecx, [ebx + 0x14]
mov esi, dword [eax]
call fcn.0044612f
push eax
push dword [edi]
call dword [esi + 0x34]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c73bb
push str.Cannot_set_arguments_of_executable.
jmp 0x4c718a
cmp dword [ebp - 0xd0], 0
je 0x4c73e7
mov eax, dword [edi]
lea ecx, [ebx + 0x18]
mov esi, dword [eax]
call fcn.0044612f
push eax
push dword [edi]
call dword [esi + 0x3c]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c73e7
push str.Cannot_set_working_directory_of_executable.
jmp 0x4c718a
mov eax, dword [ebp - 0xcc]
lea esi, [ebp - 0x10c]
mov cl, byte [ebp + 8]
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, dword [ebp - 0xd4]
add eax, 0x1c
push eax
sub esp, 0x10
movzx eax, cl
mov edi, esp
lea eax, [eax*2 + 3]
movsd dword es:[edi], dword [esi]
push eax
sub esp, 0x10
lea eax, [ebp - 0x11c]
test cl, cl
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xfc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xfc]
cmovne esi, eax
mov eax, dword [ebp - 0xe8]
sub esp, 0x10
mov edi, esp
push 2
push dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xec]
mov ecx, esi
call fcn.0044612f
push eax
mov eax, dword [ebp - 0xcc]
push dword [eax]
call dword [ebx + 0x44]
mov ebx, dword [ebp - 0xd4]
mov dword [ebx + 4], eax
test eax, eax
jns 0x4c747b
push str.Error_registering_the_task_instance.
jmp 0x4c718a
xor eax, eax
mov ecx, esi
push eax
push eax
push eax
push eax
push eax
push eax
push str.__created_successfully
call fcn.0044612f
push eax
push str.Scheduler:_Task__
lea ecx, [ebp - 0xc8]
call fcn.004e2531
push 1
push 1
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 5
call fcn.0044612f
push eax
call fcn.00421c79
add esp, 0xc
lea ecx, [ebp - 0xc8]
call fcn.004e25e0
mov byte [ebx + 0x44], 1
mov esi, dword [ebx + 4]
lea ecx, [ebp - 0xd8]
call fcn.004f3db4
lea ecx, [ebp - 0xdc]
call fcn.004f3db4
lea ecx, [ebp - 0xe0]
call fcn.004f3db4
lea ecx, [ebp - 0xe4]
call fcn.004f3db4
mov eax, esi
call fcn.004f418c
ret 0x14