Function at 0x402ea0
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 0x40305f
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 0x40305f
lea eax, [ebp - 0x10]
push eax
push 0x4041d8
push 1
push 0
push 0x4043e8
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40305f
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 0x40305f
push 0x404f28
lea edi, [ebp - 8]
call fcn.00402dc0
mov eax, dword [eax]
test eax, eax
je 0x40301b
mov ecx, dword [eax]
jmp 0x40301d
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push 0x45b9bc
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x403050
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x403050
test edi, edi
je 0x403050
call fcn.00402e40
test esi, esi
jns 0x40306d
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.00402dc0
mov eax, dword [eax]
test eax, eax
je 0x403083
mov ecx, dword [eax]
jmp 0x403085
xor ecx, ecx
mov eax, dword [0x45b9bc]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x3c]
call eax
lea esi, [ebp - 8]
call fcn.00402e10
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 0x4030dc
mov eax, dword [0x45b9bc]
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 0x40317f
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 0x40317f
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 0x40317f
push 0x404f2c
lea edi, [ebp - 8]
call fcn.00402dc0
mov eax, dword [eax]
cmp eax, esi
je 0x403158
mov ecx, dword [eax]
jmp 0x40315a
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.00402e10
test edi, edi
jns 0x4031a5
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x45b9bc]
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 0x404f3c
lea edi, [ebp - 8]
call fcn.00402dc0
mov eax, dword [eax]
test eax, eax
je 0x4031bc
mov eax, dword [eax]
jmp 0x4031be
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.00402e10
test edi, edi
js 0x403174
mov eax, 8
push 0x404f3c
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.00402dc0
mov eax, dword [eax]
test eax, eax
je 0x403259
mov edx, dword [eax]
jmp 0x40325b
xor edx, edx
push 0x459c44
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 [0x45b9bc]
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.00402e10
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 0x4032fa
mov eax, dword [0x45b9bc]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40318c
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4