Function at 0x458361
Capabilities:
Schedule task via itaskservice

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x47a008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
call fcn.00423500
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0045861c
mov ebx, eax
test ebx, ebx
js 0x4585fa
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00458c79
push eax
push 0x414f30
push 1
push 0
push 0x414eac
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x4585df
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
lea esi, [ebp - 0x44]
sub esp, 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, esp
mov eax, dword [ebp - 0x18]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov ebx, dword [eax]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x44]
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 - 0x44]
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 - 0x44]
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 [0x47d4cc]
call dword [ebx + 0x28]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
js 0x4585df
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push 0x406458
mov dword [ebp - 0xc], eax
call fcn.00457c5d
mov edi, dword [ebx]
lea ecx, [ebp - 0xc]
mov esi, dword [eax]
call fcn.00458a23
mov ecx, dword [edi + 0x1c]
push eax
push esi
push ebx
call dword [0x47d4cc]
call dword [edi + 0x1c]
push dword [ebp - 0x14]
test eax, eax
setns bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x4585d4
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
push 0x414bf0
mov dword [ebp - 0xc], eax
call fcn.00457c5d
mov edi, dword [ebx]
lea ecx, [ebp - 0xc]
mov esi, dword [eax]
call fcn.00458a23
mov ecx, dword [edi + 0x24]
push eax
push esi
push ebx
call dword [0x47d4cc]
call dword [edi + 0x24]
push dword [ebp - 0x10]
test eax, eax
setns bl
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x4584b9
push dword [ebp - 0x14]
call fcn.00457c94
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x458533
push 0x414ec0
lea ecx, [ebp - 0xc]
call fcn.00457c5d
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push 8
pop eax
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x14]
push 0x414bf0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x10], eax
call fcn.00457c5d
lea ecx, [ebp - 0x10]
mov ebx, dword [eax]
mov eax, dword [esi]
add eax, 0x2c
mov dword [ebp - 0x24], eax
call fcn.00458a23
push eax
sub esp, 0x10
lea esi, [ebp - 0x44]
mov edi, esp
push ebx
push dword [ebp - 0x34]
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 esi, dword [ebp - 0x24]
mov ecx, dword [esi]
call dword [0x47d4cc]
call dword [esi]
push dword [ebp - 0x1c]
mov ebx, eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test ebx, ebx
js 0x4585cc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045890f
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
js 0x4585cc
cmp dword [ebp - 0x1c], 0
je 0x4585cc
mov edi, dword [ebp - 0x2c]
test edi, edi
jle 0x4585cc
xor esi, esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x28]
push dword [esi + eax]
call fcn.004587d8
test eax, eax
js 0x4585c3
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
push dword [ebp - 0xc]
push dword [esi + eax]
push dword [ebp - 0x14]
call fcn.00457de4
mov dword [ebp - 0x1c], eax
test eax, eax
jns 0x4585b1
mov ecx, dword [ebp - 0x28]
push dword [esi + ecx]
push 2
push eax
push 0x414c38
call fcn.00427977
add esp, 0x10
test ebx, ebx
js 0x4585b1
mov ebx, dword [ebp - 0x1c]
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esi, 0x3c
dec edi
jne 0x458563
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x14]
call fcn.004589e5
lea ecx, [ebp - 0x20]
call fcn.004589e5
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4585fa
and dword [ebp - 0x18], 0
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x47d4cc]
call esi
lea ecx, [ebp - 0x30]
call fcn.00423512
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00459020
mov esp, ebp
pop ebp
ret 4