Function at 0x408766
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xac
mov eax, 0x50beee
call fcn.004aac38
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 8], 0
je 0x408da4
cmp dword [ebp + 0xc], 0
je 0x408da4
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 0x515a7c
push 0x17
push ebx
push 0x528730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x408d8f
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 0x408d85
mov dword [ebp - 0x34], ebx
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
mov edi, 0x515a24
mov byte [ebp - 4], 2
push edi
call fcn.004082c0
mov ecx, dword [eax]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x408838
mov ecx, dword [ecx]
jmp 0x40883a
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 0x408853
call fcn.004093d7
test esi, esi
js 0x408d74
mov dword [ebp - 0x30], ebx
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x10]
push edi
mov byte [ebp - 4], 4
call fcn.004082c0
mov ecx, dword [eax]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x40887c
mov ecx, dword [ecx]
jmp 0x40887e
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 0x40889b
call fcn.004093d7
test esi, esi
jns 0x4088c5
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 0x515a24
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 0x408d63
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 0x408d52
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 0x408d41
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.00408372
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 0x408d41
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.00408372
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 0x408d41
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 0x408d30
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 0x408d1f
push dword [ebp - 0x40]
lea ecx, [ebp - 0x18]
call fcn.00408227
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x408d0f
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.00408250
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.00408fcb
push dword [eax]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.00408250
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.00407c78
call fcn.0040776a
push eax
lea ecx, [ebp - 0x10]
call fcn.00405c5d
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x10
push str.PT3S
push eax
call fcn.00407675
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.00408250
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 0x408cf3
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 0x408ce2
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.004081fe
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x14
call fcn.00408250
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 0x408cd1
cmp dword [ebp + 0x14], 0
je 0x408b2e
push dword [ebp + 0x14]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
call fcn.00408250
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 0x408cd1
cmp dword [ebp + 0x10], 0
je 0x408b61
push dword [ebp + 0x10]
mov edi, dword [ebp - 0x28]
lea ecx, [ebp + 0xc]
call fcn.00408250
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 0x408cd1
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 0x408cc0
mov edi, dword [ebp - 0x24]
lea ecx, [ebp + 0xc]
push str.Users
call fcn.00408250
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 0x408cc0
mov eax, dword [ebp - 0x24]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x408cc0
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.00408250
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 0x408cbd
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 0x408cd1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x408ce2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x408cf3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x408d04
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi - 0x10]
call fcn.00407c78
mov eax, dword [ebp - 0x18]
push 0xb
pop ecx
mov byte [ebp - 4], cl
test eax, eax
je 0x408d1f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x408d30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 7
test eax, eax
je 0x408d41
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 6
test eax, eax
je 0x408d52
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x408d63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
test eax, eax
je 0x408d74
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
test eax, eax
je 0x408d85
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 0x408da0
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
jmp 0x408da6
xor eax, eax
call fcn.004aac01
ret 0x10