Function at 0x40c230
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449721
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
mov eax, dword [0x4611f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x44d590
push 1
push 0
push 0x44d7a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
mov eax, dword [ebp - 0x18]
test edi, edi
js 0x40c88a
test eax, eax
je 0x40c88a
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
movq qword [ebp - 0x58], xmm0
movq qword [ebp - 0x50], xmm0
call esi
xorps xmm0, xmm0
lea eax, [ebp - 0x88]
push eax
movq qword [ebp - 0x88], xmm0
movq qword [ebp - 0x80], xmm0
call esi
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
push eax
movq qword [ebp - 0x68], xmm0
movq qword [ebp - 0x60], xmm0
call esi
xorps xmm0, xmm0
lea eax, [ebp - 0x78]
push eax
movq qword [ebp - 0x78], xmm0
movq qword [ebp - 0x70], xmm0
call esi
mov byte [ebp - 4], 5
movq xmm0, qword [ebp - 0x78]
mov eax, dword [ebp - 0x18]
sub esp, 0x10
mov edx, dword [eax]
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [ecx + 8], xmm0
movq xmm0, qword [ebp - 0x68]
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ecx + 8], xmm0
movq xmm0, qword [ebp - 0x88]
mov ecx, esp
sub esp, 0x10
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [ecx + 8], xmm0
movq xmm0, qword [ebp - 0x58]
mov ecx, esp
push eax
movq qword [ecx], xmm0
movq xmm0, qword [ebp - 0x50]
movq qword [ecx + 8], xmm0
call dword [edx + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
test edi, edi
js 0x40c86c
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 6
mov edi, dword [ebp - 0x18]
push 0x455154
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
jne 0x40c3a2
push 0x8007000e
call fcn.004022e0
lea ecx, [ebp - 0x2c]
push ecx
mov byte [ebp - 4], 7
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x1c]
mov byte [ebp - 4], 6
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
mov edi, eax
call ebx
mov esi, dword [ebp - 0x2c]
test edi, edi
js 0x40c858
test esi, esi
je 0x40c858
push str.RunAsStdUser_Task
lea ecx, [ebp - 0x10]
call fcn.0040a240
push 0
mov byte [ebp - 4], 8
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x3c]
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x24]
mov edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
js 0x40c847
test eax, eax
je 0x40c847
mov dword [ebp - 0x3c], 0
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, dword [ebp - 0x3c]
mov edi, eax
test edi, edi
js 0x40c836
test esi, esi
je 0x40c836
push str.RunAsStdUser
lea ecx, [ebp - 0x10]
call fcn.0040a240
mov byte [ebp - 4], 0xb
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x28]
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x3c]
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x40c825
push str.RunAsStdUser_Principal
lea ecx, [ebp - 0x10]
call fcn.0040a240
mov byte [ebp - 4], 0xd
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x20]
mov byte [ebp - 4], 0xc
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp - 0x24]
push 3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x24]
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x40c814
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40c803
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
push 7
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 0x20], esi
test eax, eax
je 0x40c554
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push 0x45529c
push eax
call dword [ecx]
mov esi, dword [ebp - 0x20]
xor ecx, ecx
test eax, eax
mov eax, dword [ebp - 0x1c]
cmovs esi, ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 0x11
test esi, esi
jne 0x40c566
mov edi, 0x80004005
jmp 0x40c7e1
push str.RunAsStdUser_Trigger
lea ecx, [ebp - 0x10]
call fcn.0040a240
mov byte [ebp - 4], 0x12
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x24]
mov byte [ebp - 4], 0x11
push dword [ebp - 0x10]
call ebx
mov esi, dword [ebp - 0x20]
push str.PT0S
lea ecx, [ebp - 0x10]
call fcn.0040a240
mov byte [ebp - 4], 0x13
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x54]
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40c5d2
mov edi, 0x80004005
jmp 0x40c7cd
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
mov byte [ebp - 4], 0x15
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40c5fa
mov edi, 0x80004005
jmp 0x40c7bc
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 0
mov ecx, dword [eax]
push str.MbLk
push eax
call dword [ecx]
mov esi, dword [ebp - 0x28]
xor ecx, ecx
test eax, eax
cmovs esi, ecx
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0x16
test esi, esi
jne 0x40c62e
mov edi, 0x80004005
jmp 0x40c7ab
push str.explorer.exe
lea ecx, [ebp - 0x10]
call fcn.0040a240
mov byte [ebp - 4], 0x17
push dword [eax]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x2c]
push dword [ebp - 0x10]
call ebx
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0xe8]
call fcn.0040a210
lea ecx, [ebp - 0xd0]
call fcn.0040a210
xor eax, eax
mov byte [ebp - 4], 0x1c
push 0x451c88
lea ecx, [ebp - 0x98]
mov word [ebp - 0x98], ax
call fcn.0040a1a0
mov byte [ebp - 4], 0x1d
movq xmm0, qword [ebp - 0x98]
mov esi, dword [ebp - 0x2c]
movq qword [ebp - 0xa0], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0xb0], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [ebp - 0xd8], xmm0
movq xmm0, qword [ebp - 0xc8]
movq qword [ebp - 0xc0], xmm0
movq xmm0, qword [ebp - 0xe8]
movq qword [ebp - 0xa8], xmm0
movq xmm0, qword [ebp - 0xe0]
push str.RunAsStdUser_Task
lea ecx, [ebp - 0x10]
movq qword [ebp - 0xb8], xmm0
call fcn.0040a240
mov byte [ebp - 4], 0x1e
mov ecx, dword [eax]
movq xmm0, qword [ebp - 0xa0]
mov edx, dword [esi]
lea eax, [ebp - 0x44]
push eax
sub esp, 0x10
mov eax, esp
push 3
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0xb0]
movq qword [eax + 8], xmm0
movq xmm0, qword [ebp - 0xd8]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0xc0]
movq qword [eax + 8], xmm0
movq xmm0, qword [ebp - 0xa8]
mov eax, esp
push 6
push dword [ebp - 0x14]
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0xb8]
push ecx
push esi
movq qword [eax + 8], xmm0
call dword [edx + 0x44]
push dword [ebp - 0x10]
call ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x98]
push eax
call esi
lea eax, [ebp - 0xd0]
push eax
call esi
lea eax, [ebp - 0xe8]
push eax
call esi
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x44]
mov edi, 1
test eax, eax
je 0x40c7a8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x15
test esi, esi
je 0x40c7b9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x40c7ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x40c7db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x40c7f2
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xf
test eax, eax
je 0x40c800
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x40c811
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x40c822
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 0xa
test esi, esi
je 0x40c833
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 4], 9
test esi, esi
je 0x40c844
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
test eax, eax
je 0x40c855
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
test esi, esi
je 0x40c866
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x78]
push eax
call ebx
lea eax, [ebp - 0x68]
push eax
call ebx
lea eax, [ebp - 0x88]
push eax
call ebx
lea eax, [ebp - 0x58]
push eax
call ebx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test eax, eax
je 0x40c898
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10