Function at 0x4060e0
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
push esi
push edi
xor esi, esi
push esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x40610b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push esi
push esi
push 3
push 6
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [esp + 0xc]
push eax
push 0x4cb8dc
push 1
push esi
push 0x4bb964
mov dword [esp + 0x20], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x406148
mov eax, dword [esp + 0xc]
cmp eax, esi
jmp 0x406392
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
call esi
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x5c]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call esi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call esi
mov esi, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov esi, dword [esp + 0x9c]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x44]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x64]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x68]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xa0]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0xb4]
mov dword [eax + 4], esi
mov esi, dword [esp + 0xb8]
mov dword [eax + 8], esi
mov esi, dword [esp + 0xbc]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
lea ecx, [esp + 0x70]
mov edi, eax
push ecx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call esi
lea edx, [esp + 0x40]
push edx
call esi
lea eax, [esp + 0x50]
push eax
call esi
lea ecx, [esp + 0x60]
push ecx
call esi
test edi, edi
jns 0x4062ad
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40639c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esp + 0xc]
push 0x4cb7dc
mov dword [esp + 0x14], 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
jne 0x4062d4
push 0x8007000e
call fcn.00402e50
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x10]
push edx
push esi
push edi
call eax
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov edi, eax
call ebx
xor esi, esi
cmp edi, esi
jge 0x4062fe
mov eax, dword [esp + 0x10]
cmp eax, esi
jmp 0x406382
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp eax, esi
je 0x406324
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
jne 0x406324
push 0x8007000e
call fcn.00402e50
mov eax, dword [edi]
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x14]
push ecx
push esi
push edi
call edx
push esi
mov edi, eax
call ebx
mov eax, dword [esp + 0x14]
test edi, edi
js 0x406370
test eax, eax
je 0x40637c
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
js 0x40636c
cmp word [esp + 0x18], 0xffff
jne 0x40636c
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40637c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40638c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40639c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4