Function at 0x40e910
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cf15
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
push esi
push edi
mov eax, dword [0x5f0e24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x40], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40ec9d
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x5c9c88
push 1
push 0
push 0x5c9c98
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40ec97
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x70]
push eax
call esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
movups xmm0, xmmword [ebp - 0x70]
push eax
movups xmmword [ebp - 0x80], xmm0
call esi
movups xmm0, xmmword [ebp - 0x60]
lea eax, [ebp - 0xb0]
push eax
movups xmmword [ebp - 0x90], xmm0
call esi
movups xmm0, xmmword [ebp - 0xb0]
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0xa0], xmm0
call esi
mov byte [ebp - 4], 3
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x80]
mov ecx, dword [ebp - 0x14]
mov eax, esp
sub esp, 0x10
mov edx, dword [ecx]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x50]
push ecx
movups xmmword [eax], xmm0
call dword [edx + 0x28]
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0xffffffff
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
js 0x40ec8e
push 0xc
mov dword [ebp - 0x1c], 0
call fcn.0042f843
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 4
test esi, esi
je 0x40ea9a
push 0x5d0ecc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x40ee90
jmp 0x40ea9c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], esi
test esi, esi
je 0x40ee90
mov dword [ebp - 4], 5
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push edx
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x40eb11
mov ecx, dword [esi]
test ecx, ecx
je 0x40eaec
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40eb03
push eax
call fcn.0042f87b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00561e8b
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x40ec91
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x40ec85
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
js 0x40ec7c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ecx, dword [ebp - 0x28]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ec7c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0
push str.MbLk
mov ecx, dword [eax]
push eax
call dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ec7c
cmp dword [edi + 0x14], 8
jb 0x40ebaf
mov edi, dword [edi]
push 0xc
call fcn.0042f843
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x40ebee
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x40ebf0
test edi, edi
jne 0x40ee9a
jmp 0x40ebf0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40ee90
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x24]
push dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x40ec5b
mov eax, dword [esi]
test eax, eax
je 0x40ec39
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ec50
push eax
call fcn.0042f87b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00561e8b
add esp, 8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x40ecb3
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 0x38], 0
push 9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov ecx, dword [ebp - 0x30]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x40ec73
mov eax, 8
mov dword [ebp - 0x3c], 0
push 0x5d1100
mov word [ebp - 0x50], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x40eea4
mov dword [ebp - 4], 8
lea eax, [ebp - 0x60]
movups xmm0, xmmword [ebp - 0x50]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push eax
movups xmmword [ebp - 0xa0], xmm0
call esi
movups xmm0, xmmword [ebp - 0x60]
lea eax, [ebp - 0x70]
push eax
movups xmmword [ebp - 0x90], xmm0
call esi
mov edi, dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
movups xmm0, xmmword [ebp - 0x70]
cmp dword [edi + 0x14], 8
movups xmmword [ebp - 0x80], xmm0
jb 0x40ed44
mov edi, dword [edi]
push 0xc
call fcn.0042f843
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x40ed80
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x40ed82
test edi, edi
jne 0x40eeae
jmp 0x40ed82
xor esi, esi
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40eeb8
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x3c]
movups xmm0, xmmword [ebp - 0xa0]
mov ecx, dword [ebp - 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
push 3
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x80]
push 6
push dword [ebp - 0x18]
movups xmmword [eax], xmm0
push dword [esi]
push ecx
call dword [edx + 0x44]
mov edi, eax
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x40ee17
mov ecx, dword [esi]
test ecx, ecx
je 0x40edf5
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ee0c
push eax
call fcn.0042f87b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00561e8b
add esp, 8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x70]
push eax
call esi
lea eax, [ebp - 0x60]
push eax
call esi
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
push eax
call esi
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
test edi, edi
js 0x40ec9d
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.00563390
push 0x8007000e
call fcn.00563390
push 0x8007000e
call fcn.00563390
push 0x8007000e
call fcn.00563390
push 0x8007000e
call fcn.00563390
int3