Function at 0x40cc10
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x1c]
push eax
push 0x49956c
push 1
push edi
push 0x49977c
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x74]
push ecx
call esi
lea edx, [ebp - 0x64]
push edx
call esi
lea eax, [ebp - 0x94]
push eax
call esi
lea ecx, [ebp - 0x84]
push ecx
call esi
lea edx, [ebp - 0x54]
push edx
call esi
lea eax, [ebp - 0x44]
push eax
call esi
mov esi, dword [ebp - 0x54]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x50]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x4c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x48]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x80]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x7c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x78]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x60]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x5c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x58]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x74]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x70]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x6c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x68]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x49b904
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40cf6e
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x499a54
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jns 0x40cd8f
mov esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
lea eax, [ebp - 0xc]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x40]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x3c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x38]
push 0x499a54
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0xc], esi
call ecx
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [ebp - 0x10]
push ecx
push str.FsLibraryLogonUpdate
push eax
call edx
test eax, eax
js 0x40cdca
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x40cdb9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push edi
push str.FsLibraryLogonUpdate
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push edi
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x40cf6e
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push eax
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x40cf6e
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push str.logon_update
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x40cf6e
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 9
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
cmp dword [ebp - 0x24], edi
je 0x40cf80
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x40cf6e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push 1
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40cf6e
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x10]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x40]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x3c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x38]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x54]
push 3
mov ecx, dword [ebp - 0xc]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x50]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x48]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x94]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x90]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x8c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x88]
push 6
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 8]
push eax
push str.FsLibraryLogonUpdate
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov esi, eax
mov eax, dword [ebp - 0x24]
cmp eax, edi
je 0x40cf80
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x40cf92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x40cfa4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x40cfb6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x40cfc8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x40cfda
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x40cfec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x40cffe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x40d010
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40d022
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x1c]
cmp eax, edi
je 0x40d031
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
cmp esi, edi
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret