Function at 0x4297f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c57f
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x438c60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
call fcn.0042b3a0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c20
lea ecx, [ebp - 0x94]
call fcn.00401dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0042b660
push 0
lea ecx, [ebp - 0x94]
call fcn.004015a0
push eax
push str.User_from_command_line:
call fcn.004286e0
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00428b70
add esp, 8
test eax, eax
jne 0x4298e4
push 0
push 0x432634
push 0x432638
call fcn.004286e0
add esp, 0xc
push 0x352
push 0x432688
push 0x432698
call fcn.004286e0
add esp, 0xc
mov dword [ebp - 0x9c], 0xd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042b380
mov eax, dword [ebp - 0x9c]
jmp 0x429cb9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401de0
mov byte [ebp - 4], 2
push 0
push 0x4326bc
lea ecx, [ebp - 0x14]
call fcn.00402260
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
je 0x42995f
mov edx, dword [ebp - 0x90]
sub edx, 1
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x14]
call fcn.004022e0
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401f20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00401f00
push 0
lea ecx, [ebp - 0x14]
call fcn.004015a0
push eax
push str.Final_command_line:
call fcn.004286e0
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00401dc0
mov byte [ebp - 4], 4
push 0x2710
lea eax, [ebp - 0x88]
push eax
call fcn.00429670
add esp, 8
test eax, eax
je 0x4299ec
mov dword [ebp - 0xa4], 0xd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042b380
mov eax, dword [ebp - 0xa4]
jmp 0x429cb9
mov dword [ebp - 0x10], 0x20
push 0x44
push 0
lea ecx, [ebp - 0x84]
push ecx
call fcn.00412a60
add esp, 0xc
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x7c], str.winsta0default
push 0x10
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.00412a60
add esp, 0xc
mov dword [ebp - 0x38], 0
push 1
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x429a53
mov edx, dword [ebp - 0x10]
or edx, 0x400
mov dword [ebp - 0x10], edx
jmp 0x429a6e
mov dword [ebp - 0x38], 0
push 0
push 0x432718
push 0x43271c
call fcn.004286e0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push str._Skip
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402450
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00402610
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406980
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x429b4f
push 0
push 0x432768
push 0x43276c
call fcn.004286e0
add esp, 0xc
push 0x352
push 0x432794
push 0x4327a4
call fcn.004286e0
add esp, 0xc
mov dword [ebp - 0xac], 0xd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042b380
mov eax, dword [ebp - 0xac]
jmp 0x429cb9
lea ecx, [ebp - 0x18]
call fcn.004015a0
push eax
lea ecx, [ebp - 0x18]
call fcn.00402610
add eax, 1
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.00412c5d
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x84]
push eax
push 0
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x88]
call fcn.004015a0
push eax
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.00406975
add esp, 4
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x34], 0
jne 0x429c2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4327c8
push 0x4327d8
call fcn.004286e0
add esp, 0xc
push 0x352
push str.failed
push str.Service_workflow
call fcn.004286e0
add esp, 0xc
jmp 0x429c57
push str.iLastSvcFailure
push 0x432868
push 0x80000002
call fcn.00428440
add esp, 0xc
push 0
push str.succeeded
push str.CreateProcessAsUser
call fcn.004286e0
add esp, 0xc
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xb4], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401f00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401f00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042b380
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret