Function at 0x403726
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x419110]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0xb8
mov eax, 0x414c43
call fcn.00404b55
mov eax, dword [ebp + 0x224]
mov edi, dword [ebp + 0x220]
mov ebx, dword [ebp + 0x21c]
xor esi, esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x228]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x54], esi
cmp dword [ebp + 0x218], esi
jne 0x403e61
push esi
call fcn.004033fa
pop ecx
cmp eax, 1
je 0x403e84
xor eax, eax
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.004044b0
push esi
call fcn.0040524e
push eax
call fcn.0040529f
call fcn.004052b1
push eax
lea eax, [ebp]
push str.KwRunAsStdUser_Task_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push str.KwRunAsStdUser_Task
call fcn.0040346c
add esp, 0x24
lea eax, [ebp - 0x2c]
push eax
push 0x4159b4
push 1
push esi
push 0x4159a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x403da7
cmp dword [ebp - 0x2c], esi
je 0x403db4
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x74]
push eax
call ebx
and dword [ebp - 4], esi
lea esi, [ebp - 0x74]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x64]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x84]
push eax
movsd dword es:[edi], dword [esi]
call ebx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xc4]
push eax
movsd dword es:[edi], dword [esi]
call ebx
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
mov eax, dword [ebp - 0x2c]
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xc4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
mov byte [ebp - 4], 3
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0xc4]
push eax
call ebx
lea eax, [ebp - 0x84]
push eax
call ebx
lea eax, [ebp - 0x64]
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x74]
push eax
call ebx
test edi, edi
jl 0x403da7
push 0x4158ec
lea ecx, [ebp - 0x18]
call fcn.00403696
mov eax, dword [eax]
xor esi, esi
mov dword [ebp - 4], 4
cmp eax, esi
je 0x40390f
mov ecx, dword [eax]
jmp 0x403911
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
lea edi, [ebp - 0x30]
push edi
push ecx
push eax
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov edi, eax
cmp ecx, esi
je 0x403931
call fcn.004036e3
cmp edi, esi
jl 0x403da7
cmp dword [ebp - 0x30], esi
je 0x403da7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403696
mov eax, dword [eax]
mov dword [ebp - 4], 5
cmp eax, esi
je 0x40395f
mov ecx, dword [eax]
jmp 0x403961
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push esi
push ecx
push eax
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp ecx, esi
je 0x40397c
call fcn.004036e3
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push esi
push eax
call dword [ecx + 0x24]
mov edi, eax
cmp edi, esi
jl 0x403da7
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x403da7
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x1c]
mov edi, eax
cmp edi, esi
jl 0x403da7
cmp dword [ebp - 0x38], esi
je 0x403da7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x4039f8
mov ecx, dword [ebp - 0x28]
cmp ecx, esi
je 0x4039f8
push esi
call fcn.00403334
mov ecx, dword [ebp - 0x28]
push esi
call fcn.004032f2
mov ecx, dword [ebp - 0x28]
push esi
call fcn.00403313
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push 0x4158f0
push eax
call dword [ecx + 0x28]
mov edi, eax
cmp edi, esi
jl 0x403da7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x3c]
mov edi, eax
test edi, edi
jl 0x403da7
cmp dword [ebp - 0x20], 0
je 0x403da7
push str.KwRunAsStdUser_Principal
lea ecx, [ebp - 0x18]
call fcn.00403696
mov eax, dword [eax]
mov dword [ebp - 4], 6
test eax, eax
je 0x403a4f
mov ecx, dword [eax]
jmp 0x403a51
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov edi, eax
test ecx, ecx
je 0x403a6d
call fcn.004036e3
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x38]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x403da7
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push eax
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x403da7
mov ecx, dword [eax]
lea edx, [ebp - 0x40]
push edx
push 7
pop esi
push esi
push eax
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x403da7
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push 0x415994
push eax
call dword [ecx]
mov edi, eax
test edi, edi
jl 0x403da7
cmp dword [ebp - 0x34], 0
je 0x403da7
push str.RunAsStdUser_Trigger
lea ecx, [ebp - 0x18]
call fcn.00403696
mov eax, dword [eax]
mov dword [ebp - 4], esi
test eax, eax
je 0x403b54
mov ecx, dword [eax]
jmp 0x403b56
xor ecx, ecx
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
mov edi, eax
test ecx, ecx
je 0x403b72
call fcn.004036e3
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push str.PT0S
push eax
call dword [ecx + 0x54]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x44]
push edx
push eax
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x403da7
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0
push eax
call dword [ecx + 0x30]
mov edi, eax
test edi, edi
jl 0x403da7
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x403da7
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x415984
push eax
call dword [ecx]
mov edi, eax
test edi, edi
jl 0x403da7
cmp dword [ebp - 0x1c], 0
je 0x403da7
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.00403649
mov eax, dword [eax]
mov dword [ebp - 4], 8
test eax, eax
je 0x403c13
mov ecx, dword [eax]
jmp 0x403c15
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov edi, eax
test ecx, ecx
je 0x403c31
call fcn.004036e3
test edi, edi
jl 0x403da7
cmp dword [ebp - 0x24], 0
je 0x403c81
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00403649
mov eax, dword [eax]
mov dword [ebp - 4], 9
test eax, eax
je 0x403c5b
mov ecx, dword [eax]
jmp 0x403c5d
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov edi, eax
test ecx, ecx
je 0x403c79
call fcn.004036e3
test edi, edi
jl 0x403da7
cmp dword [ebp - 0x4c], 0
je 0x403cc9
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x14]
call fcn.00403649
mov eax, dword [eax]
mov dword [ebp - 4], 0xa
test eax, eax
je 0x403ca3
mov ecx, dword [eax]
jmp 0x403ca5
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
mov edi, eax
test ecx, ecx
je 0x403cc1
call fcn.004036e3
test edi, edi
jl 0x403da7
push 0x415968
lea ecx, [ebp - 0x84]
call fcn.004032ba
mov esi, eax
lea edi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 4], 0xb
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x74]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea esi, [ebp - 0x74]
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
movsd dword es:[edi], dword [esi]
call fcn.00403696
mov eax, dword [eax]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x403d38
mov ecx, dword [eax]
jmp 0x403d3a
xor ecx, ecx
lea esi, [ebp - 0x54]
push esi
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0xa4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 3
sub esp, 0x10
mov edi, esp
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 6
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
push ecx
push eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x24]
mov edi, eax
test ecx, ecx
je 0x403d8e
call fcn.004036e3
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x74]
push eax
call ebx
lea eax, [ebp - 0x64]
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x84]
push eax
call ebx
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x403db4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x403dc1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x403dce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x403ddb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x403de8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x403df5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x403e02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x403e0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x403e1c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x403e29
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x403e36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x403e43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403e50
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x403e5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
jmp 0x403ea8
push 0x2e
push edi
call fcn.00405237
pop ecx
pop ecx
cmp eax, esi
je 0x403e84
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
mov eax, 0x41589c
je 0x403e89
mov eax, str.open
push dword [ebp - 0x4c]
push dword [ebp - 0x24]
push edi
push eax
push ebx
call fcn.00403355
add esp, 0x14
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00404499
add ebp, 0x210
leave
ret