Function at 0x40c0e0
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 0x4a34fc
push 1
push edi
push 0x4a370c
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 0x40c43e
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 0x40c43e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4a56e4
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40c43e
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x40c43e
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x4a39e4
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jns 0x40c25f
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 0x4a39e4
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0xc], esi
call ecx
mov esi, eax
cmp esi, edi
jl 0x40c43e
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 0x40c29a
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x40c289
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 0x40c43e
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x40c43e
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 0x40c43e
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 0x40c43e
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 0x40c43e
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x40c43e
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 0x40c43e
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 0x40c43e
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 0x40c43e
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x40c43e
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 0x40c43e
cmp dword [ebp - 0x24], edi
je 0x40c450
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 0x40c43e
mov eax, dword [ebp - 0x2c]
cmp eax, edi
je 0x40c43e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push 1
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40c43e
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 0x40c450
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 0x40c462
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 0x40c474
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 0x40c486
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 0x40c498
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 0x40c4aa
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 0x40c4bc
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 0x40c4ce
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 0x40c4e0
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 0x40c4f2
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 0x40c501
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