Function at 0x402f30
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4030ef
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x4030ef
lea eax, [ebp - 0x10]
push eax
push 0x4041e0
push 1
push 0
push 0x4043f0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4030ef
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [ebp - 0x6c]
push ecx
call esi
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov edi, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], eax
call esi
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
call esi
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call esi
mov esi, dword [ebp - 0x84]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x80]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x18]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
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 - 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x48]
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 eax, dword [edx + 0x28]
push ecx
call eax
lea ecx, [ebp - 0x4c]
mov esi, eax
push ecx
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
call ebx
lea edx, [ebp - 0x7c]
push edx
call ebx
lea eax, [ebp - 0x5c]
push eax
call ebx
lea ecx, [ebp - 0x6c]
push ecx
call ebx
test esi, esi
js 0x4030ef
push 0x404ed8
lea edi, [ebp - 8]
call fcn.00402e50
mov eax, dword [eax]
test eax, eax
je 0x4030ab
mov ecx, dword [eax]
jmp 0x4030ad
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push 0x4591bc
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4030e0
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4030e0
test edi, edi
je 0x4030e0
call fcn.00402ed0
test esi, esi
jns 0x4030fd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
lea edi, [ebp - 8]
call fcn.00402e50
mov eax, dword [eax]
test eax, eax
je 0x403113
mov ecx, dword [eax]
jmp 0x403115
xor ecx, ecx
mov eax, dword [0x4591bc]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea esi, [ebp - 8]
call fcn.00402ea0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
push edx
xor esi, esi
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x24]
call eax
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jge 0x40316c
mov eax, dword [0x4591bc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
test eax, eax
js 0x40320f
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], esi
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x30]
call eax
mov edi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jl 0x40320f
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push str.MbLk
push eax
mov eax, dword [ecx]
call eax
mov edi, eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
jl 0x40320f
push 0x404edc
lea edi, [ebp - 8]
call fcn.00402e50
mov eax, dword [eax]
cmp eax, esi
je 0x4031e8
mov ecx, dword [eax]
jmp 0x4031ea
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
lea esi, [ebp - 8]
mov edi, eax
call fcn.00402ea0
test edi, edi
jns 0x403235
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x4591bc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x404eec
lea edi, [ebp - 8]
call fcn.00402e50
mov eax, dword [eax]
test eax, eax
je 0x40324c
mov eax, dword [eax]
jmp 0x40324e
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x34]
push ecx
call eax
lea esi, [ebp - 8]
mov edi, eax
call fcn.00402ea0
test edi, edi
js 0x403204
mov eax, 8
push 0x404eec
mov word [ebp - 0x4c], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x60], edx
call edi
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call edi
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
push ecx
lea edi, [ebp - 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call fcn.00402e50
mov eax, dword [eax]
test eax, eax
je 0x4032e9
mov edx, dword [eax]
jmp 0x4032eb
xor edx, edx
push 0x457444
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x68]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x64]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x60]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x3c]
push 3
mov ecx, dword [0x4591bc]
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 edi, dword [ecx]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x30]
mov dword [eax + 0xc], esi
mov esi, dword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x18]
push 6
mov dword [eax + 0xc], esi
mov eax, dword [ebp - 0xc]
push eax
push edx
push ecx
mov ecx, dword [edi + 0x44]
call ecx
lea esi, [ebp - 8]
mov edi, eax
call fcn.00402ea0
lea edx, [ebp - 0x5c]
push edx
call ebx
lea eax, [ebp - 0x7c]
push eax
call ebx
lea ecx, [ebp - 0x4c]
push ecx
call ebx
test edi, edi
jns 0x40338a
mov eax, dword [0x4591bc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40321c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4