Function at 0x4910d0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0x4b17de
push eax
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x42c], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
call fcn.00490620
add esp, 4
test eax, eax
jne 0x49133d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
test esi, esi
js 0x491355
lea eax, [ebp - 0x438]
push eax
push 0x4b17bc
push 1
push 0
push 0x4b17cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x49134f
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
lea edx, [ebp - 0x434]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
test esi, esi
js 0x49134f
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
push edx
lea edx, [ebp - 0x430]
push edx
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x49130d
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x4911b0
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x49130d
mov edi, edi
mov ecx, dword [ebp - 0x430]
dec eax
mov dword [ebp - 0x42c], eax
mov edx, dword [ecx + eax*4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4911d5
push 0
sub eax, esi
push 0
sar eax, 1
inc eax
lea ecx, [eax + eax]
push ecx
lea ecx, [ebp - 0x418]
push ecx
push eax
push edx
push 0
push 0
call edi
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00483b10
test eax, eax
je 0x49121f
mov eax, dword [ebp - 0x42c]
test eax, eax
jne 0x4911c0
jmp 0x4912da
mov esi, dword [ebp - 0x430]
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
lea edx, [ebp - 0x43c]
push edx
mov edx, dword [ebp - 0x42c]
mov edx, dword [esi + edx*4]
push 0x4b17ac
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x4912ac
mov eax, dword [ebp - 0x43c]
mov ecx, dword [eax]
lea edx, [ebp - 0x428]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x4912ac
mov ecx, dword [ebp - 0x428]
mov edx, dword [ebp - 0x424]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x420]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x41c]
mov dword [eax + 8], ecx
lea esi, [ebp - 0x210]
mov dword [eax + 0xc], edx
call fcn.00490da0
mov ecx, dword [ebp - 0x440]
add esp, 0x10
mov eax, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x43c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x430]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x42c], 0
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x434]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [ebp - 0x42c]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push 5
push eax
call edx
test eax, eax
jns 0x4911b0
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x4d2aa0], 0
je 0x49133d
call fcn.004908b0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [0x4d2aa0], 0
je 0x491363
call fcn.004908b0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a01d6
mov esp, ebp
pop ebp
ret