Function at 0x40d580
Capabilities:
Check for time delay via gettickcount
Contain obfuscated stackstrings
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
push edi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x40d5ba
mov edi, 0x57
jmp 0x40daf2
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x466084
push 0x17
push 0
push 0x462de4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jne 0x40dae1
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x4c], xmm0
call esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6c]
movdqu xmm0, xmmword [ebp - 0x4c]
push eax
movdqu xmmword [ebp - 0x7c], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x6c], xmm0
call esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
movdqu xmm0, xmmword [ebp - 0x6c]
push eax
movdqu xmmword [ebp - 0x8c], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x5c], xmm0
call esi
mov byte [ebp - 4], 7
lea eax, [ebp - 0x9c]
movdqu xmm0, xmmword [ebp - 0x5c]
push eax
movdqu xmmword [ebp - 0xac], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x9c], xmm0
call esi
mov byte [ebp - 4], 8
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x7c]
mov eax, dword [ebp - 0x18]
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x8c]
movdqu xmmword [ecx], xmm0
mov ecx, esp
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0xac]
movdqu xmmword [ecx], xmm0
mov ecx, esp
movdqu xmm0, xmmword [ebp - 0x9c]
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x28]
mov edi, eax
mov byte [ebp - 4], 7
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x9c]
push eax
call esi
mov byte [ebp - 4], 6
lea eax, [ebp - 0x5c]
push eax
call esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6c]
push eax
call esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
push eax
call esi
test edi, edi
jne 0x40dae1
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 0xb
mov edi, dword [ebp - 0x18]
push 0x461514
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x40d70c
push 0x8007000e
call fcn.0040ab60
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
mov eax, dword [edi]
push ecx
push esi
push edi
call dword [eax + 0x1c]
mov edi, eax
mov byte [ebp - 4], 0xb
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x40dad0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push edx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
jne 0x40dabf
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edi, eax
test edi, edi
jne 0x40daae
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
setne cl
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x48]
mov edi, eax
test edi, edi
jne 0x40daae
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
jne 0x40da9d
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x26
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
push edx
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, eax
test edi, edi
jne 0x40da8c
push dword [ebp - 0x38]
lea ecx, [ebp - 0x3c]
call fcn.004032d0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov esi, dword [ebp - 0x3c]
call fcn.00403570
mov byte [ebp - 4], 0x2e
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x2c]
mov edi, eax
mov byte [ebp - 4], 0x2d
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x40da7b
mov eax, dword [ebp + 0xc]
cmp dword [eax - 8], edi
je 0x40d83d
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
push eax
call fcn.00403570
mov byte [ebp - 4], 0x37
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x34]
mov edi, eax
mov byte [ebp - 4], 0x2d
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
jne 0x40da7b
mov eax, dword [0x476478]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x40
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push eax
call esi
push eax
lea eax, [ebp - 0x10]
push str.Task_u_x
push eax
call fcn.004134b0
add esp, 0x10
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0x42
lea eax, [ebp - 0x5c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x5c], xmm0
call esi
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x6c]
movdqu xmm0, xmmword [ebp - 0x5c]
push eax
movdqu xmmword [ebp - 0xac], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x6c], xmm0
call esi
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x4c]
movdqu xmm0, xmmword [ebp - 0x6c]
push eax
movdqu xmmword [ebp - 0x8c], xmm0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x4c], xmm0
call esi
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x24]
movdqu xmm0, xmmword [ebp - 0x4c]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x28]
push esi
movdqu xmmword [ebp - 0x7c], xmm0
call fcn.00403570
mov byte [ebp - 4], 0x46
mov ecx, dword [eax]
lea eax, [ebp - 0x34]
movdqu xmm0, xmmword [ebp - 0xac]
push eax
mov edx, dword [edi]
sub esp, 0x10
mov eax, esp
push 3
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x8c]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x7c]
push 6
push dword [ebp - 0x14]
movdqu xmmword [eax], xmm0
push ecx
push edi
call dword [edx + 0x44]
mov edi, eax
mov byte [ebp - 4], 0x45
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x44
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x43
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x42
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jne 0x40da5e
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x4c]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x34]
movdqu xmm0, xmmword [ebp - 0x4c]
push ecx
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
push eax
movdqu xmmword [ecx], xmm0
call dword [edx + 0x30]
mov edi, eax
mov byte [ebp - 4], 0x51
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
jne 0x40da4d
mov ecx, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp eax, 4
je 0x40d9ee
push 0x12c
call ecx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ecx, dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
jge 0x40d9ee
mov eax, dword [ebp - 0x1c]
jmp 0x40d9c4
cmp dword [ebp + 0x14], 0
mov eax, 4
mov dword [ebp - 0x1c], eax
je 0x40da24
lea esp, [esp]
cmp eax, 4
jne 0x40da24
push 0xc8
call ecx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40da00
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
push esi
call fcn.00403570
mov byte [ebp - 4], 0x5d
mov ecx, dword [edi]
push 0
push dword [eax]
push edi
call dword [ecx + 0x3c]
mov byte [ebp - 4], 0x51
push dword [ebp - 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
mov byte [ebp - 4], 0x42
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40da5e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x40
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40da6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x10]
call fcn.004087b0
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x40da8c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x40da9d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40daae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40dabf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40dad0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x40dae1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40daf2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40db24
lea ecx, [eax - 0x20]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40db24
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x40db54
add eax, 0xffffffe0
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40db54
mov ecx, dword [ebp + 0xc]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret