Function at 0x401d31
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0x58
push 0x4344a8
call fcn.0042341c
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
cmp dword [ebp + 8], ebx
je 0x401fd1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x401fd1
mov eax, dword [esi + 0x54]
cmp dword [eax - 0xc], ebx
je 0x401fd1
lea eax, [ebp - 0x2c]
push eax
push 0x429d20
push 1
push ebx
push 0x429d40
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401fd6
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
mov edi, 0x429d10
push edi
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401de1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], ebx
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x43b028
call sub.MSVCR90.dll__local_unwind4
add esp, 0xc
mov eax, 0x80070050
jmp 0x401fd6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push 0x429d30
push dword [ebp + 8]
push eax
call dword [ecx + 0x20]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jge 0x401e19
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x43b028
call sub.MSVCR90.dll__local_unwind4
add esp, 0xc
mov eax, dword [ebp - 0x20]
jmp 0x401fd6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push edi
push eax
call dword [ecx]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x28], ebx
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x80]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [esi + 0x58]
cmp dword [eax - 0xc], ebx
je 0x401e6c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x88]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [esi + 0x5c]
cmp dword [eax - 0xc], ebx
je 0x401e89
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [esi + 0x60]
cmp dword [eax - 0xc], ebx
je 0x401ea9
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x90]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
cmp dword [esi + 0x70], ebx
je 0x401ec7
mov eax, dword [esi + 0x64]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push ebx
push eax
push ecx
call dword [edx + 0x78]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [esi + 0x6c]
cmp dword [eax - 0xc], ebx
je 0x401ee4
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x48]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov dword [ebp - 0x38], 0x20c0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x401efc
mov dword [ebp - 0x38], 0x20c1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x38]
push eax
call dword [ecx + 0x70]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
add esi, 0x24
push 0xc
pop ecx
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0x68]
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push 0x429cfc
push eax
call dword [ecx]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jl 0x401dfe
mov dword [ebp - 4], 0xfffffffe
call fcn.00401f97
jmp 0x401e11
mov eax, 0x80004005
call fcn.00423461
ret 4