Function at 0x407ff0
Capabilities:
Create process on windows
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4097f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x340
mov eax, dword [0x40d078]
xor eax, ebp
mov dword [esp + 0x338], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov dword [esp + 0x74], eax
cmp dword [ebp + 8], esi
mov ebx, edx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x74], esi
jne 0x4089ad
lea edx, [esp + 0x34]
push edx
push 8
mov edi, 0x80004005
mov dword [esp + 0x3c], esi
call dword [0x40a05c]
push eax
call dword [0x40a008]
test eax, eax
je 0x4080df
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
push 4
lea ecx, [esp + 0x84]
push ecx
push 0x14
push edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x20], esi
call dword [0x40a00c]
test eax, eax
je 0x4080cb
mov ecx, dword [esp + 0x7c]
xor eax, eax
cmp ecx, esi
sete al
mov edi, eax
mov ecx, dword [esp + 0x34]
push ecx
call dword [0x40a050]
cmp edi, 1
je 0x4089d2
xor eax, eax
mov word [esp + 0x130], si
mov ecx, 0x82
lea edi, [esp + 0x132]
push esi
rep stosd dword es:[edi], eax
call dword [0x40a270]
push eax
call dword [0x40a26c]
call dword [0x40a268]
push eax
lea edx, [esp + 0x13c]
push str.RunAsStdUser_Task_d
push edx
call dword [0x40a2d0]
push str.RunAsStdUser_Task
call fcn.00407df0
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
push 0x40af40
push 1
push esi
push 0x40af10
call dword [0x40a2f0]
mov ebx, eax
cmp ebx, esi
jl 0x4088f0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4088fe
mov edi, dword [0x40a2a8]
lea ecx, [esp + 0x80]
push ecx
call edi
mov dword [esp + 0x354], 0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
call edi
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xbc]
lea eax, [esp + 0xd0]
push eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
call edi
mov edx, dword [esp + 0xd4]
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0xdc]
lea edx, [esp + 0xc0]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
call edi
mov byte [esp + 0x354], 3
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0xa8]
mov dword [edx + 4], ebx
mov dword [edx + 8], esi
mov esi, dword [esp + 0xac]
mov dword [edx + 0xc], esi
mov esi, dword [esp + 0x70]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x84]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x88]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x8c]
mov dword [edx + 0xc], esi
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x74]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x78]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x7c]
mov dword [edx + 0xc], esi
mov esi, dword [esp + 0xf0]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
mov esi, dword [esp + 0x104]
mov dword [edx + 4], esi
mov esi, dword [esp + 0x108]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x10c]
mov dword [edx + 0xc], esi
push eax
call dword [ecx + 0x28]
mov ebx, eax
lea eax, [esp + 0xc0]
mov byte [esp + 0x354], 2
mov edi, dword [0x40a29c]
push eax
call edi
test eax, eax
jge 0x4082de
push eax
call fcn.00408ef0
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x358], 1
call edi
test eax, eax
jge 0x4082fa
push eax
call fcn.00408ef0
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0x358], 0
call edi
test eax, eax
jge 0x408316
push eax
call fcn.00408ef0
lea eax, [esp + 0x80]
or esi, 0xffffffff
push eax
mov dword [esp + 0x358], esi
call edi
test eax, eax
jge 0x408334
push eax
call fcn.00408ef0
test ebx, ebx
jl 0x4088f0
lea ecx, [esp + 0xc]
push ecx
mov edi, 0x40afd8
call fcn.00407c40
mov dword [esp + 0x354], 4
mov eax, dword [eax]
test eax, eax
je 0x408360
mov ecx, dword [eax]
jmp 0x408362
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
lea edi, [esp + 0x24]
push edi
push ecx
push eax
call dword [edx + 0x1c]
lea edi, [esp + 0xc]
mov ebx, eax
mov dword [esp + 0x354], esi
call fcn.00407ce0
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4088f0
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x134]
call fcn.00407c40
mov dword [esp + 0x354], 5
mov eax, dword [eax]
test eax, eax
je 0x4083be
mov ecx, dword [eax]
jmp 0x4083c0
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push 0
push ecx
push eax
call dword [edx + 0x3c]
lea edi, [esp + 0xc]
mov dword [esp + 0x354], esi
call fcn.00407ce0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0
push eax
call dword [ecx + 0x24]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4088f0
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x1c]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4088f0
mov ecx, dword [eax]
push str.RunAsStdUser
push eax
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [edx + 0x3c]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4088f0
lea edx, [esp + 0xc]
push edx
mov edi, str.RunAsStdUser_Principal
call fcn.00407c40
mov dword [esp + 0x354], 6
mov eax, dword [eax]
test eax, eax
je 0x408483
mov ecx, dword [eax]
jmp 0x408485
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x20]
lea edi, [esp + 0xc]
mov ebx, eax
mov dword [esp + 0x354], esi
call fcn.00407ce0
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0x38]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 0
push eax
call dword [edx + 0x48]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
call dword [ecx + 0x2c]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4088f0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x58]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [edx + 0x24]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4088f0
mov edx, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push 7
push eax
call dword [edx + 0x28]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4088f0
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0x40af30
push eax
call dword [edx]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4088f0
lea edx, [esp + 0xc]
push edx
mov edi, str.RunAsStdUser_Trigger
call fcn.00407c40
mov dword [esp + 0x354], 7
mov eax, dword [eax]
test eax, eax
je 0x40859e
mov ecx, dword [eax]
jmp 0x4085a0
xor ecx, ecx
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
lea edi, [esp + 0xc]
mov ebx, eax
mov dword [esp + 0x354], esi
call fcn.00407ce0
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push str.PT0S
push eax
call dword [ecx + 0x54]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push eax
call dword [edx + 0x44]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4088f0
mov edx, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
push 0
push eax
call dword [edx + 0x30]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4088f0
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push str.MbLk
push eax
call dword [edx]
mov ebx, eax
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4088f0
mov edx, dword [esp + 0x14]
push edx
lea ebx, [esp + 0x18]
call fcn.00407bc0
mov dword [esp + 0x354], 8
mov eax, dword [eax]
test eax, eax
je 0x40866e
mov eax, dword [eax]
jmp 0x408670
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
lea edi, [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x354], esi
call fcn.00407ce0
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4086e3
push eax
lea ebx, [esp + 0x18]
call fcn.00407bc0
mov dword [esp + 0x354], 9
mov eax, dword [eax]
test eax, eax
je 0x4086bc
mov ecx, dword [eax]
jmp 0x4086be
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
lea edi, [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x354], esi
call fcn.00407ce0
test ebx, ebx
jl 0x4088f0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x408731
push eax
lea ebx, [esp + 0x18]
call fcn.00407bc0
mov dword [esp + 0x354], 0xa
mov eax, dword [eax]
test eax, eax
je 0x40870a
mov ecx, dword [eax]
jmp 0x40870c
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
lea edi, [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x354], esi
call fcn.00407ce0
test ebx, ebx
jl 0x4088f0
mov edi, 0x40af50
lea esi, [esp + 0x120]
call fcn.00407d30
mov dword [esp + 0x354], 0xb
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
mov edi, dword [0x40a2a8]
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
call edi
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
call edi
mov byte [esp + 0x354], 0xd
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xac]
lea ecx, [esp + 0x2c]
push ecx
lea edi, [esp + 0x134]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
call fcn.00407c40
mov byte [esp + 0x354], 0xe
mov eax, dword [eax]
test eax, eax
je 0x408803
mov ecx, dword [eax]
jmp 0x408805
xor ecx, ecx
lea edi, [esp + 0x74]
push edi
sub esp, 0x10
mov edi, esp
mov dword [edi], esi
mov esi, dword [esp + 0x9c]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov esi, dword [esp + 0xa0]
mov dword [edi + 0xc], esi
mov edi, dword [esp + 0x54]
push 3
sub esp, 0x10
mov eax, dword [esp + 0x4c]
mov esi, esp
mov dword [esi], edi
mov edi, dword [esp + 0x6c]
mov dword [esi + 4], edi
mov edi, dword [esp + 0x70]
mov dword [esi + 8], edi
mov edi, dword [esp + 0x74]
mov edx, dword [eax]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x88]
sub esp, 0x10
mov esi, esp
mov dword [esi], edi
mov edi, dword [esp + 0x9c]
mov dword [esi + 4], edi
mov edi, dword [esp + 0xa0]
mov dword [esi + 8], edi
mov edi, dword [esp + 0xa4]
push 6
mov dword [esi + 0xc], edi
mov esi, dword [esp + 0x4c]
push esi
push ecx
push eax
call dword [edx + 0x44]
lea edi, [esp + 0x2c]
mov ebx, eax
call fcn.00407ce0
lea eax, [esp + 0xa0]
mov byte [esp + 0x354], 0xc
mov esi, dword [0x40a29c]
push eax
call esi
test eax, eax
jge 0x4088b5
push eax
call fcn.00408ef0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x358], 0xb
call esi
test eax, eax
jge 0x4088d1
push eax
call fcn.00408ef0
lea edx, [esp + 0x120]
push edx
mov dword [esp + 0x358], 0xffffffff
call esi
test eax, eax
jge 0x4088f0
push eax
call fcn.00408ef0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4088fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40890c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40891a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x408928
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x408936
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x408944
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x408952
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x408960
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40896e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40897c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x40898a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x408998
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4089a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
jmp 0x408a4e
push 0x2e
push ebx
call dword [0x40a208]
add esp, 8
cmp eax, esi
je 0x4089d2
push str..exe
push eax
call dword [0x40a0f8]
test eax, eax
mov edx, str.runas
je 0x4089d7
mov edx, str.open
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0xe4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0xe4]
push eax
mov dword [esp + 0xe8], 0x3c
mov dword [esp + 0xec], esi
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], 1
call dword [0x40a2b4]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
mov ecx, dword [esp + 0x34c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x344]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004092bc
mov esp, ebp
pop ebp
ret