Function at 0x5db510
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x609680
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6aae14]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, dword [esp + 0xb0]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp esi, edi
je 0x5db558
mov dword [esi], edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jge 0x5db570
cmp esi, edi
je 0x5db569
mov dword [esi], eax
xor eax, eax
jmp 0x5db828
mov ebx, dword [esp + 0xa8]
cmp ebx, edi
je 0x5db57e
mov byte [ebx], 0
lea eax, [esp + 0x18]
push eax
push 0x66a6f4
push 1
push edi
push 0x66a904
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x5db5c4
cmp esi, edi
je 0x5db5a0
mov dword [esi], eax
push eax
push str.CoCreateInstance_Failed._Reason:_0x_x
push ebx
call fcn.005dfb23
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x5db828
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x68]
push ecx
call esi
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
lea eax, [esp + 0x58]
mov dword [esp + 0xa0], edi
mov edi, dword [esp + 0x68]
push eax
mov dword [esp + 0x98], edx
call esi
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call esi
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
call esi
mov esi, dword [esp + 0x94]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebp
mov dword [eax + 8], ebx
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 + 0x58]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x6c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x70]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x74]
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x8c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x90]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x94]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
mov byte [esp + 0xe0], 3
push ecx
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
call esi
lea edx, [esp + 0x78]
push edx
call esi
lea eax, [esp + 0x58]
push eax
call esi
lea ecx, [esp + 0x68]
or ebx, 0xffffffff
push ecx
mov dword [esp + 0xa4], ebx
call esi
test edi, edi
jge 0x5db735
mov edx, dword [esp + 0xa8]
push edi
push str.ITaskService:Connect_Failed._Reason:_0x_x
push edx
call fcn.005dfb23
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], eax
jmp 0x5db801
push 0x61fb14
lea ecx, [esp + 0x34]
call fcn.004031a0
mov eax, dword [eax]
mov dword [esp + 0xa0], 4
test eax, eax
je 0x5db758
mov ecx, dword [eax]
jmp 0x5db75a
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea esi, [esp + 0x1c]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea ecx, [esp + 0x30]
mov edi, eax
mov dword [esp + 0xa0], ebx
call fcn.00403250
test edi, edi
jge 0x5db792
mov ecx, dword [esp + 0xa8]
push edi
push str.Cannot_Get_Root_Folder_Pointer._Reason:_0x_x
push ecx
jmp 0x5db71e
mov edx, dword [esp + 0xac]
push edx
lea ecx, [esp + 0x38]
call fcn.004c51c0
mov eax, dword [eax]
mov dword [esp + 0xa0], 5
test eax, eax
je 0x5db7b8
mov ecx, dword [eax]
jmp 0x5db7ba
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [esp + 0x34]
mov edi, eax
mov dword [esp + 0xa0], ebx
call fcn.00403250
test edi, edi
jge 0x5db7f9
cmp edi, 0x80070002
je 0x5db801
push edi
push str._TaskDelB__Failed_To_Delete_The_Task._Reason:_0x_x
push 0
call fcn.004f0f30
add esp, 0xc
jmp 0x5db801
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x5db80e
mov dword [eax], edi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5db81e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret