Function at 0x40aff0
Capabilities:
Get http document via iwebbrowser2
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40ee2b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x415028]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x40b1bb
lea eax, [esi + 8]
push eax
push 0x410530
push 1
push 0
push 0x410720
mov dword [esp + 0x2c], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40b1bb
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x74]
push eax
call esi
mov dword [esp + 0xa0], 0
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x94], ecx
call esi
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call esi
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x60]
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
call esi
mov byte [esp + 0xa0], 3
mov esi, dword [esp + 0x90]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x88]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x8c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x90]
mov dword [eax + 0xc], esi
push ecx
mov eax, dword [edx + 0x28]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
call esi
lea edx, [esp + 0x54]
push edx
call esi
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0xa4], 0xffffffff
call esi
test edi, edi
jge 0x40b1d4
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x410cf8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x40b1f3
mov eax, 0x8007000e
call fcn.004060a0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa0], 4
mov eax, dword [eax]
mov ecx, dword [eax]
add edx, 0xc
push edx
push esi
push eax
mov eax, dword [ecx + 0x1c]
call eax
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
test edi, edi
setge al
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret