Function at 0x46c2c0
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f941
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
push ebx
push esi
push edi
mov eax, dword [0x4c448c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x4c7dca], 0
jne 0x46c2f9
call fcn.0042de30
cmp byte [0x4c7dcb], 0
je 0x46c491
lea eax, [ebp - 0x38]
push eax
push 0x4a88f4
push 1
push 0
push 0x4a8b04
mov dword [ebp - 0x38], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46c491
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x68]
push ecx
call esi
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x64]
lea ecx, [ebp - 0xc0]
push ecx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], eax
call esi
mov eax, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], edx
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
call esi
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0xb0]
push edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
call esi
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0xc8]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xc4]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x78]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x74]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x70]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x6c]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x84]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x80]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x7c]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0xb0]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0xac]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0xa8]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0xa4]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0xb0]
push ecx
mov esi, eax
call edi
lea edx, [ebp - 0xa0]
push edx
call edi
lea eax, [ebp - 0xc0]
push eax
call edi
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 4], 0xffffffff
call edi
test esi, esi
jns 0x46c4a8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x3c]
xor ebx, ebx
push ecx
mov edi, 0x4b2220
mov dword [ebp - 0x48], ebx
call fcn.0046a9c0
mov dword [ebp - 4], 4
mov eax, dword [eax]
cmp eax, ebx
je 0x46c4cc
mov ecx, dword [eax]
jmp 0x46c4ce
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
lea esi, [ebp - 0x48]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [ebp - 0x3c]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0046aa60
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46c491
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], ebx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov esi, eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x46c491
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [ebp - 0x58]
cmp eax, ebx
jne 0x46c54f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x46c491
jle 0x46ca86
mov esi, 1
mov dword [ebp - 0x3c], esi
mov eax, 3
mov ecx, esi
mov byte [ebp - 0x15], 0
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x68], ax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 5
mov edi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x30]
mov esi, dword [edx]
lea eax, [ebp - 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x64]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x5c]
push edx
mov edx, dword [esi + 0x20]
mov dword [eax + 0xc], ecx
call edx
mov esi, eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp esi, ebx
jl 0x46ca64
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x50], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
test eax, eax
js 0x46c7a4
push str.Checking_task_definition_...
call fcn.004261a0
mov eax, dword [ebp - 0x50]
add esp, 4
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x46c799
push str.Checking_task_triggers_...
call fcn.004261a0
mov eax, dword [ebp - 0x44]
add esp, 4
lea edx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov edi, 1
cmp dword [ebp - 0x54], edi
jl 0x46c78e
push edi
push str.Checking_task_trigger__d
call fcn.004261a0
mov eax, dword [ebp - 0x44]
add esp, 8
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x40], ebx
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
js 0x46c784
push str.Got_trigger_info_...
call fcn.004261a0
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
add esp, 4
lea edx, [ebp - 0x90]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
js 0x46c76c
cmp dword [ebp - 0x90], 9
jne 0x46c765
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
test eax, eax
js 0x46c755
mov esi, dword [ebp - 0x4c]
cmp esi, ebx
je 0x46c74f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46c6b6
sub eax, edx
sar eax, 1
je 0x46c74f
cmp dword [ebp + 0x10], ebx
je 0x46c732
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.00473ffc
add esp, 8
test eax, eax
je 0x46c732
mov eax, dword [ebp - 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46c6e7
sub eax, edx
sar eax, 1
jne 0x46c715
push str.Found_a_task_for_all_users__2_
call fcn.004261a0
mov edx, dword [ebp - 0x4c]
add esp, 4
push edx
mov byte [ebp - 0xd], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x46c779
push str.Found_a_task_for_another_user
call fcn.004261a0
mov edx, dword [ebp - 0x4c]
add esp, 4
push edx
mov byte [ebp - 0x1d], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x46c779
push str.Found_a_task_matching_sought_user
call fcn.004261a0
mov edx, dword [ebp - 0x4c]
add esp, 4
push edx
mov byte [ebp - 0x15], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x46c779
mov byte [ebp - 0xd], 1
jmp 0x46c779
push str.ASSUMING_all_users_for_this_task
call fcn.004261a0
mov byte [ebp - 0xd], 1
jmp 0x46c776
push str.Trigger_type_not_right
jmp 0x46c771
push str.ERROR:_Could_not_get_information_on_trigger__
call fcn.004261a0
add esp, 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, dword [ebp - 0x54]
jle 0x46c632
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp esi, ebx
jl 0x46c888
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x46c888
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x46c86f
push ecx
push eax
call fcn.00473ffc
add esp, 8
test eax, eax
jne 0x46c86c
mov ecx, dword [ebp - 0x14]
push ecx
push str.pl:_Found_matching_task__name__s
call fcn.004261a0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, ebx
je 0x46c81c
push eax
call edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x46c82c
push ecx
call edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
cmp byte [ebp - 0x15], 0
jne 0x46caa7
cmp byte [ebp - 0x1d], 0
jne 0x46caa7
cmp byte [ebp - 0xd], 0
je 0x46c86f
push str.All_users_task
call fcn.004261a0
add esp, 4
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x46c879
push eax
call edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x46c896
push eax
call edi
mov dword [ebp - 0x1c], ebx
jmp 0x46c896
push esi
push str.Failed_to_get_task__hR:__x
call fcn.004261a0
add esp, 8
cmp dword [ebp + 0xc], ebx
je 0x46ca54
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
push ecx
push eax
call edx
mov esi, eax
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp esi, ebx
jl 0x46c8ce
cmp dword [ebp - 0x14], ebx
jne 0x46c8df
cmp eax, ebx
jl 0x46ca54
cmp dword [ebp - 0x1c], ebx
je 0x46ca54
lea esi, [ebp - 0x24]
call fcn.00401e80
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
je 0x46c8fc
mov edi, esi
call fcn.00402c40
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402ba0
lea esi, [ebp - 0x34]
call fcn.00401e80
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x14]
cmp edx, ebx
je 0x46c922
mov edi, esi
call fcn.00402c40
lea edi, [ebp - 0x24]
call fcn.00403810
lea edi, [ebp - 0x2c]
call fcn.00403810
mov esi, dword [ebp - 0x24]
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
call fcn.004153a0
test eax, eax
je 0x46c999
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x46c967
cmp dword [esi - 0xc], ebx
jl 0x46c967
push eax
push esi
call fcn.00474087
add esp, 8
cmp eax, ebx
je 0x46c967
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x46c999
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x46ca10
mov esi, dword [ebp - 0x34]
cmp dword [esi - 0xc], ebx
jl 0x46ca10
push eax
push esi
call fcn.00474087
add esp, 8
cmp eax, ebx
je 0x46ca10
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x46ca10
push str.Found_matching_task_...
call fcn.004261a0
mov ecx, dword [ebp - 0x14]
add esp, 4
cmp ecx, ebx
je 0x46c9b9
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x46c9cf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x15], 0
jne 0x46cacd
cmp byte [ebp - 0xd], 0
je 0x46ca16
lea eax, [ebp - 0x34]
call fcn.00401ea0
lea eax, [ebp - 0x2c]
call fcn.00401ea0
lea eax, [ebp - 0x24]
call fcn.00401ea0
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x46ca27
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x46ca35
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x34]
call fcn.00401ea0
lea eax, [ebp - 0x2c]
call fcn.00401ea0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00401ea0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp - 0x3c]
jmp 0x46ca76
push esi
mov esi, dword [ebp - 0x3c]
push esi
push str.Can_not_get_task_item_at_index_d:__x
call fcn.004261a0
add esp, 0xc
inc esi
lea eax, [esi - 1]
mov dword [ebp - 0x3c], esi
cmp eax, dword [ebp - 0x58]
jl 0x46c55d
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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 0xc
push str.Single_user_task
call fcn.004261a0
add esp, 4
mov eax, 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 0xc
lea eax, [ebp - 0x34]
call fcn.00401ea0
lea eax, [ebp - 0x2c]
call fcn.00401ea0
lea eax, [ebp - 0x24]
call fcn.00401ea0
mov eax, 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 0xc