Function at 0x1000b510
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x10023210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
cmp byte [0x10025398], 0
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
jne 0x1000b6d7
push esi
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, esi
jl 0x1000b6fd
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]
cmp eax, esi
jge 0x1000b587
cmp eax, 0x80010119
jne 0x1000b6fd
lea edi, [ebx + 0x24]
push edi
push 0x1001f5e0
push 1
push esi
push 0x1001f7f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [edi], esi
je 0x1000b7b8
cmp eax, esi
jl 0x1000b6fd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x8c]
push eax
call esi
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x7c]
push ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], eax
call esi
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
call esi
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call esi
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x48]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x44]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x40]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x2c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x28]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x24]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x20]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebx + 0x24]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x34]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x30]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x5c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x58]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x54]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x50]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x5c]
push ecx
mov edi, eax
call esi
lea edx, [ebp - 0x6c]
push edx
call esi
lea eax, [ebp - 0x7c]
push eax
call esi
lea ecx, [ebp - 0x8c]
push ecx
mov dword [ebp - 4], 0xffffffff
call esi
xor esi, esi
test edi, edi
js 0x1000b6fd
mov byte [0x10025398], 1
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0x24], esi
je 0x1000b7b8
lea eax, [ebp - 0x18]
push eax
call fcn.10005340
mov dword [ebp - 4], 4
mov eax, dword [eax]
cmp eax, esi
je 0x1000b728
mov ecx, dword [eax]
jmp 0x1000b72a
mov byte [0x10025398], 0
mov byte [ebp + 0xb], 0x29
cmp dword [ebx + 8], esi
jne 0x1000b7b8
mov ebx, dword [ebx + 4]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push 1
lea eax, [ebp + 0xb]
push eax
mov ecx, ebx
call edx
jmp 0x1000b7b8
xor ecx, ecx
mov eax, dword [ebx + 0x24]
mov edx, dword [eax]
lea esi, [ebp - 0x14]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
lea edi, [ebp - 0x18]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.100053e0
xor edi, edi
cmp esi, edi
jl 0x1000b7b8
push 0x2800
push 0x40
mov dword [ebx + 0x30], 0x2800
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebx + 0x28], eax
cmp eax, edi
je 0x1000b7ad
mov byte [eax], 0x29
mov ecx, dword [ebp - 0x14]
inc dword [ebx + 0x2c]
push ecx
mov ecx, ebx
call fcn.1000b3f0
mov edx, dword [ebx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp dword [ebx + 8], edi
jne 0x1000b79b
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
mov eax, dword [ebx + 0x28]
push eax
call edx
mov eax, dword [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
jmp 0x1000b7b8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4