Function at 0x406d50
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 0x64]
mov dword [ebp - 0x44], edx
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0x80004005
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push section..text
push 1
push 0
push 0x401020
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
js 0x406e09
movups xmm0, xmmword [ebp - 0x64]
mov ecx, dword [ebp - 0x18]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov edx, dword [ecx]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x28]
test eax, eax
js 0x406e09
push 0x401498
call ebx
mov esi, eax
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x406e0c
mov byte [ebp - 5], 1
mov eax, 1
jmp 0x406e13
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 5], 0
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test al, 1
je 0x406e20
push esi
call edi
cmp byte [ebp - 5], 0
je 0x40717a
push 0x401a18
call ebx
mov ecx, dword [ebp - 0x40]
mov esi, eax
movups xmm0, xmmword [ebp - 0x64]
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
push esi
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x2c]
push esi
mov dword [ebp - 0x10], eax
call edi
mov eax, dword [ebp - 0x10]
cmp eax, 0x800700b7
jne 0x406e7d
push 0x401a18
call ebx
mov esi, eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push esi
mov dword [ebp - 0x10], eax
call edi
mov eax, dword [ebp - 0x10]
test eax, eax
js 0x406e99
push 0x4019b8
call ebx
mov esi, eax
mov eax, dword [ebp - 0x28]
push 0
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push esi
call edi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x407171
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x406f10
push 0x4015f0
call ebx
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push esi
call edi
push 0x40149c
call ebx
mov esi, eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
push esi
call edi
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x406f74
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x14]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
push 0x4014ac
call ebx
mov esi, eax
mov eax, dword [ebp - 0x14]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
push esi
call edi
mov eax, dword [ebp - 0xc]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x407036
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
push edx
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x407036
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x20]
push edx
push 0x401010
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x407036
push 0x4014b8
call ebx
mov esi, eax
mov eax, dword [ebp - 0x20]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
push esi
call edi
push 0x4014cc
call ebx
mov esi, eax
mov eax, dword [ebp - 0x20]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push esi
call edi
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x40702d
push 0x4014f4
call ebx
mov esi, eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
push esi
call edi
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x407043
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x407050
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x4070d6
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x4070d6
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
push edx
push 0x401030
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4070d6
push 0x401a30
call ebx
mov esi, eax
mov eax, dword [ebp - 0x24]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push esi
call edi
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4070cd
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x24]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
push esi
call edi
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4070e3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4070f0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x10], 0
jl 0x407168
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
push 0x40113c
mov word [ebp - 0x54], ax
call ebx
push 0x4019b8
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x44], 0
call ebx
movups xmm0, xmmword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
push 3
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [eax], xmm0
mov eax, esp
push 6
push dword [ebp - 0xc]
push esi
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x44]
push esi
mov dword [ebp - 0x10], eax
call edi
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x407187
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret