Function at 0x405d40
Capabilities:
Schedule task via itaskservice

Disassembly:
push 0xffffffffffffffff
push 0x43cf4f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x17], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4c], 1
lea eax, [esp + 0x18]
push eax
push 0x440714
push 1
push ebx
push 0x440904
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4060c5
cmp dword [esp + 0x18], ebx
je 0x4060c5
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x4c], 2
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
mov ebx, dword [ebp]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x28]
mov dword [eax + 8], esi
push ebp
mov dword [eax + 0xc], edi
call edx
xor ebp, ebp
cmp eax, ebp
jge 0x405e54
mov byte [esp + 0x4c], 1
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x18]
push ecx
call fcn.0041a3e0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x4c], 4
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
mov edi, 0x448b5c
call fcn.004125b0
mov byte [esp + 0x4c], 5
mov eax, dword [eax]
cmp eax, ebp
je 0x405e7f
mov eax, dword [eax]
jmp 0x405e81
xor eax, eax
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x1c]
push esi
call eax
mov edi, eax
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x405edc
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x405ed8
cmp esi, ebp
je 0x405ed8
mov eax, dword [esi]
cmp eax, ebp
je 0x405ebf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x405ecf
push eax
call fcn.0041206d
add esp, 4
push esi
call fcn.0041206d
add esp, 4
mov dword [esp + 0x28], ebp
cmp edi, ebp
jge 0x405f29
mov byte [esp + 0x4c], 2
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041a3e0
mov byte [esp + 0x4c], 1
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x4c], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.0041a3e0
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x20], ebp
mov byte [esp + 0x4c], 7
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
call fcn.004125b0
mov byte [esp + 0x4c], 8
mov eax, dword [eax]
mov dword [esp + 0x24], 1
cmp eax, ebp
je 0x405f5b
mov eax, dword [eax]
jmp 0x405f5d
xor eax, eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea ecx, [esp + 0x20]
push ecx
push eax
push esi
call edx
test eax, eax
jl 0x405f79
cmp dword [esp + 0x20], ebp
je 0x405f79
mov bl, 1
jmp 0x405f7b
xor bl, bl
mov dword [esp + 0x4c], 7
mov eax, 1
mov dword [esp + 0x24], eax
and eax, 0xfffffffe
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x405fd9
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x405fd5
cmp esi, ebp
je 0x405fd5
mov eax, dword [esi]
cmp eax, ebp
je 0x405fbc
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x405fcc
push eax
call fcn.0041206d
add esp, 4
push esi
call fcn.0041206d
add esp, 4
mov dword [esp + 0x28], ebp
test bl, bl
je 0x40606d
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x5c]
push ebp
push eax
call edx
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.004125b0
mov byte [esp + 0x4c], 9
mov eax, dword [eax]
cmp eax, ebp
je 0x40600b
mov eax, dword [eax]
jmp 0x40600d
xor eax, eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x3c]
push ebp
push eax
push esi
call edx
test eax, eax
setge bl
mov byte [esp + 0x4c], 7
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x406067
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x406063
cmp esi, ebp
je 0x406063
mov eax, dword [esi]
cmp eax, ebp
je 0x40604a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x40605a
push eax
call fcn.0041206d
add esp, 4
push esi
call fcn.0041206d
add esp, 4
mov dword [esp + 0x28], ebp
test bl, bl
mov bl, 1
jne 0x406071
mov bl, byte [esp + 0x17]
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x406086
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4c], 2
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x40609b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x4c], 1
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x4c], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4060d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4060d7
mov dword [esp + 0x4c], 0xffffffff
lea eax, [esp + 0x18]
push eax
call fcn.0041a3e0
mov al, bl
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret