Function at 0x40a5a6
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xac
mov eax, 0x51afae
call fcn.004b21aa
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
je 0x40abe4
cmp dword [ebp + 0xc], 0
je 0x40abe4
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 0x525a68
push 0x17
push ebx
push 0x539ae0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40abcf
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
js 0x40abc5
mov dword [ebp - 0x34], ebx
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov edi, 0x525a10
mov byte [ebp - 4], 2
push edi
call fcn.0040a0fc
mov ecx, dword [eax]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x40a678
mov ecx, dword [ecx]
jmp 0x40a67a
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 0x40a693
call fcn.0040b217
test esi, esi
js 0x40abb4
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push edi
mov byte [ebp - 4], 4
call fcn.0040a0fc
mov ecx, dword [eax]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x40a6bc
mov ecx, dword [ecx]
jmp 0x40a6be
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 0x40a6db
call fcn.0040b217
test esi, esi
jns 0x40a705
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
push edx
sub esp, 0x10
lea esi, [ebp - 0x68]
mov edi, esp
mov ecx, dword [eax]
push 0x525a10
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
js 0x40aba3
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
js 0x40ab92
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
js 0x40ab81
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.0040a1b2
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
js 0x40ab81
mov esi, dword [ebp - 0x2c]
xor eax, eax
push 0xb
pop ecx
mov word [ebp - 0x58], cx
mov word [ebp - 0x50], ax
mov edi, dword [esi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.0040a1b2
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
js 0x40ab81
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
js 0x40ab70
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]
test eax, eax
js 0x40ab5f
push dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
call fcn.0040a063
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x40ab4f
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.0040a08c
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.0040ae0b
push dword [eax]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.0040a08c
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.00405e50
call fcn.004060a0
push eax
lea ecx, [ebp - 0x10]
call fcn.004056b0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x10
push str.PT3S
push eax
call fcn.00409928
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.0040a08c
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
js 0x40ab33
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
js 0x40ab22
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.0040a03a
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x14
call fcn.0040a08c
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
js 0x40ab11
cmp dword [ebp + 0x14], 0
je 0x40a96e
push dword [ebp + 0x14]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
call fcn.0040a08c
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
js 0x40ab11
cmp dword [ebp + 0x10], 0
je 0x40a9a1
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
call fcn.0040a08c
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
js 0x40ab11
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
js 0x40ab00
mov edi, dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
push str.Users
call fcn.0040a08c
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
js 0x40ab00
mov eax, dword [ebp - 0x24]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x40ab00
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.0040a08c
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
mov eax, dword [ebp - 0x48]
xor ebx, ebx
test esi, esi
mov byte [ebp - 4], 0x18
setns bl
test eax, eax
je 0x40aafd
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 0x40ab11
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x40ab22
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x40ab33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x40ab44
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.00405e50
mov eax, dword [ebp - 0x18]
push 0xb
pop ecx
mov byte [ebp - 4], cl
test eax, eax
je 0x40ab5f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x40ab70
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 7
test eax, eax
je 0x40ab81
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
test eax, eax
je 0x40ab92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x40aba3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test eax, eax
je 0x40abb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test eax, eax
je 0x40abc5
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 0x40abe0
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
jmp 0x40abe6
xor eax, eax
call fcn.004b2173
ret 0x10