Function at 0x40d230
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x4ba1f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x228]
push eax
push 0x49956c
push 1
push edi
push 0x49977c
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x220], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x40d733
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x270]
push ecx
call esi
lea edx, [ebp - 0x2a0]
push edx
call esi
lea eax, [ebp - 0x280]
push eax
call esi
lea ecx, [ebp - 0x290]
push ecx
call esi
lea edx, [ebp - 0x250]
push edx
call esi
lea eax, [ebp - 0x260]
push eax
call esi
mov esi, dword [ebp - 0x250]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x24c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x248]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x244]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x290]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x28c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x288]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x284]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x228]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x29c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x298]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x294]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x270]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x26c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x268]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x264]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x28]
push ecx
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push 0x49b904
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x40d733
mov ecx, dword [eax]
lea edx, [ebp - 0x214]
push edx
push 0x499a54
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jns 0x40d43d
mov esi, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx]
lea eax, [ebp - 0x214]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x25c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x258]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x254]
push 0x499a54
push ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0xc], esi
call ecx
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x214]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [ebp - 0x21c]
push ecx
push str.FsLibraryDailyUpdate
push eax
call edx
test eax, eax
js 0x40d487
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x40d473
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x21c], edi
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push edi
push str.FsLibraryDailyUpdate
push eax
call edx
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax]
lea edx, [ebp - 0x218]
push edx
push edi
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x40d733
mov ecx, dword [eax]
lea edx, [ebp - 0x238]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push edi
push eax
mov eax, dword [ecx + 0x30]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
lea edx, [ebp - 0x22c]
push edx
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x22c]
cmp eax, edi
je 0x40d733
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push str.daily_update
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
lea edx, [ebp - 0x230]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x40d733
mov ecx, dword [eax]
lea edx, [ebp - 0x240]
push edx
push 2
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x240]
cmp eax, edi
je 0x40d733
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push 0x49965c
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
cmp dword [ebp - 0x220], edi
je 0x40d74b
mov eax, dword [ebp - 0x240]
cmp eax, edi
je 0x40d5e6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x240], edi
push 0x206
lea ecx, [ebp - 0x20e]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x210], ax
call fcn.004690e0
push edi
push edi
push 1
lea edx, [ebp - 0x210]
push str.2014_01_01T_02d:_02d:_02d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
add esp, 0x20
lea edx, [ebp - 0x210]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
push 1
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
lea edx, [ebp - 0x23c]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov esi, eax
cmp esi, edi
jl 0x40d733
mov eax, dword [ebp - 0x23c]
cmp eax, edi
je 0x40d733
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push 1
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40d733
mov esi, dword [ebp - 0x260]
lea eax, [ebp - 0x21c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x25c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x258]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x254]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x250]
push 3
mov ecx, dword [ebp - 0x214]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x24c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x248]
mov edx, dword [ecx]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x244]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x280]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x27c]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x278]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x274]
push 6
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0x218]
push eax
push str.FsLibraryDailyUpdate
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov esi, eax
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x40d74b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x220], edi
mov eax, dword [ebp - 0x23c]
cmp eax, edi
je 0x40d763
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x23c], edi
mov eax, dword [ebp - 0x230]
cmp eax, edi
je 0x40d77b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x230], edi
mov eax, dword [ebp - 0x22c]
cmp eax, edi
je 0x40d793
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x22c], edi
mov eax, dword [ebp - 0x234]
cmp eax, edi
je 0x40d7ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x234], edi
mov eax, dword [ebp - 0x238]
cmp eax, edi
je 0x40d7c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x238], edi
mov eax, dword [ebp - 0x218]
cmp eax, edi
je 0x40d7db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x218], edi
mov eax, dword [ebp - 0x21c]
cmp eax, edi
je 0x40d7f3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x21c], edi
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x40d80b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x214], edi
mov eax, dword [ebp - 0x224]
cmp eax, edi
je 0x40d823
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x224], edi
mov eax, dword [ebp - 0x228]
cmp eax, edi
je 0x40d835
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp esi, edi
sete al
pop edi
xor ecx, ebp
pop esi
call fcn.004657f5
mov esp, ebp
pop ebp
ret