Function at 0x40437d
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xac
mov eax, 0x487d96
call fcn.0043bd32
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
je 0x404aab
cmp dword [ebp + 0xc], 0
je 0x404aab
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
push 0x48f06c
push 0x17
push ebx
push 0x495f00
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4043df
push eax
push str.Cant_CoCreateInstance_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a96
xor eax, eax
lea edi, [ebp - 0x68]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 0x10
mov eax, dword [ebp - 0x1c]
mov edi, esp
mov byte [ebp - 4], 1
lea esi, [ebp - 0x68]
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 - 0x68]
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 - 0x68]
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 - 0x68]
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]
test eax, eax
jns 0x404445
push eax
push str.Cant_Connect_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a8c
mov dword [ebp - 0x34], ebx
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov edi, 0x48e6c0
mov byte [ebp - 4], 2
push edi
call fcn.004037aa
mov ecx, dword [eax]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x40446b
mov ecx, dword [ecx]
jmp 0x40446d
mov ecx, ebx
mov eax, dword [esi]
lea edx, [ebp - 0x34]
push edx
push ecx
push esi
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x10]
mov esi, eax
test ecx, ecx
je 0x404486
call fcn.0040581f
test esi, esi
jns 0x40449c
push esi
push str.Cant_GetFolder_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a7b
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push edi
mov byte [ebp - 4], 4
call fcn.004037aa
mov ecx, dword [eax]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4044bd
mov ecx, dword [ecx]
jmp 0x4044bf
mov ecx, ebx
mov eax, dword [esi]
lea edx, [ebp - 0x30]
push edx
push ecx
push esi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x10]
mov esi, eax
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4044dc
call fcn.0040581f
test esi, esi
jns 0x404523
push esi
push edi
push str.Cant_GetFolder_:_s___x
call fcn.004057ce
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
add esp, 0xc
lea esi, [ebp - 0x68]
mov ecx, dword [eax]
push edx
sub esp, 0x10
mov edi, esp
push 0x48e6c0
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
test eax, eax
jns 0x404523
push eax
push str.Cant_CreateFolder_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a6a
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push ebx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx + 0x24]
test eax, eax
jns 0x40454e
push eax
push str.Cant_NewTask_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a59
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push eax
mov byte [ebp - 4], 7
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jns 0x40456e
push eax
push str.Cant_get_Settings:__x
jmp 0x4045e8
mov esi, dword [ebp - 0x2c]
push 0xb
pop eax
mov word [ebp - 0x58], ax
xor eax, eax
mov word [ebp - 0x50], ax
mov edi, dword [esi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00403f3f
movzx eax, ax
push eax
push esi
call dword [edi + 0x48]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x4045ac
push esi
push str.Cant_put_DisallowStartIfOnBatteries:__x
jmp 0x4045e8
mov esi, dword [ebp - 0x2c]
push 0xb
pop eax
mov word [ebp - 0x58], ax
xor eax, eax
mov word [ebp - 0x50], ax
mov edi, dword [esi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.00403f3f
movzx eax, ax
push eax
push esi
call dword [edi + 0x40]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
jns 0x4045f4
push esi
push str.Cant_put_StopIfGoingOnBatteries:__x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a48
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push eax
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x40461e
push eax
push str.Cant_get_Triggers_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a37
mov dword [ebp - 0x40], ebx
push 0xb
pop eax
mov byte [ebp - 4], al
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x44]
push edx
push 9
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov esi, eax
test esi, esi
jns 0x40464e
push esi
push str.Cant_CreateTask_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a26
push dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
call fcn.004032d8
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test eax, eax
jne 0x404676
push esi
push str.Cant_logon_trigger_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x404a13
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x4c]
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push str.Trigger1
call fcn.004034ed
push dword [eax]
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 0xd
call dword [ecx + 0x24]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xc
call edi
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov esi, dword [ebp - 0x18]
push eax
call fcn.00404d40
push dword [eax]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.004034ed
push dword [eax]
mov ecx, dword [esi]
push esi
mov byte [ebp - 4], 0xf
call dword [ecx + 0x5c]
push dword [ebp - 0x20]
call edi
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xc
lea ecx, [ecx - 0x10]
call fcn.004024a8
call fcn.00401f79
push eax
lea ecx, [ebp - 0x10]
call fcn.0040171b
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x10
push str.PT3S
push eax
call fcn.00401e81
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.004034ed
push dword [eax]
mov ecx, dword [edi]
push edi
mov byte [ebp - 4], 0x11
call dword [ecx + 0x54]
push dword [ebp - 0x20]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x3c]
push edx
push eax
mov byte [ebp - 4], 0x12
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
jns 0x404756
push eax
push str.Cant_get_Actions_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x4049fa
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
push edx
push ebx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x13
call dword [ecx + 0x30]
test eax, eax
jns 0x404781
push eax
push str.Cant_Create_action_:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x4049e9
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.004032af
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x14
call fcn.004034ed
push dword [eax]
mov ecx, dword [edi]
push edi
mov byte [ebp - 4], 0x15
call dword [ecx + 0x2c]
push dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x4047c5
push edi
push str.Cant_put_Path:_x
jmp 0x404835
cmp dword [ebp + 0x14], 0
je 0x404800
push dword [ebp + 0x14]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
call fcn.004034ed
push dword [eax]
mov ecx, dword [edi]
push edi
mov byte [ebp - 4], 0x16
call dword [ecx + 0x34]
push dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x404800
push edi
push str.Cant_put_Arguments:_x
jmp 0x404835
cmp dword [ebp + 0x10], 0
je 0x404841
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
call fcn.004034ed
push dword [eax]
mov ecx, dword [edi]
push edi
mov byte [ebp - 4], 0x17
call dword [ecx + 0x3c]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x404841
push edi
push str.Cant_put_WorkingDirectory:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x4049d8
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
push edx
push eax
mov byte [ebp - 4], 0x18
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jns 0x404861
push eax
push str.Cant_get_Principal:_x
jmp 0x4048ad
mov edi, dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
push str.Users
call fcn.004034ed
push dword [eax]
mov ecx, dword [edi]
push edi
mov byte [ebp - 4], 0x19
call dword [ecx + 0x40]
push dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 4], 0x18
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jns 0x404898
push edi
push str.Cant_put_GroupId:_x
jmp 0x4048ad
mov eax, dword [ebp - 0x24]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jns 0x4048b9
push eax
push str.Cant_put_RunLevel:_x
call fcn.004057ce
pop ecx
pop ecx
jmp 0x4049c7
mov dword [ebp - 0x48], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edi, [ebp - 0x88]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x88]
push eax
call ebx
lea esi, [ebp - 0x88]
xor eax, eax
lea edi, [ebp - 0x98]
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 edi, [ebp - 0x78]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
push eax
call ebx
lea esi, [ebp - 0x78]
xor eax, eax
lea edi, [ebp - 0xa8]
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 edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x58]
push eax
call ebx
push dword [ebp + 8]
mov ebx, dword [ebp - 0x30]
lea esi, [ebp - 0x58]
lea edi, [ebp - 0xb8]
mov byte [ebp - 4], 0x1d
movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004034ed
lea edx, [ebp - 0x48]
mov ecx, dword [ebx]
push edx
sub esp, 0x10
mov byte [ebp - 4], 0x1e
mov edi, esp
lea esi, [ebp - 0x98]
push 3
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xa8]
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 - 0xb8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push dword [eax]
push ebx
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x44]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x58]
push eax
call ebx
lea eax, [ebp - 0x78]
push eax
call ebx
lea eax, [ebp - 0x88]
push eax
call ebx
test esi, esi
jns 0x4049b0
push esi
push str.Cant_RegisterTaskDefinition:_x
call fcn.004057ce
pop ecx
pop ecx
xor ebx, ebx
jmp 0x4049b3
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x18
test eax, eax
je 0x4049c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4049d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x4049e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4049fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x404a0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.004024a8
push 0xb
pop eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404a26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x404a37
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 7
test eax, eax
je 0x404a48
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
test eax, eax
je 0x404a59
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x404a6a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test eax, eax
je 0x404a7b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test eax, eax
je 0x404a8c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x404aa7
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
jmp 0x404ab8
push str.Name_or_Path_IsNULL
call fcn.004057ce
pop ecx
xor eax, eax
call fcn.0043bcfb
ret 0x10