Function at 0x429b30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d872
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x43bc60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x30]
call fcn.0042c660
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401ca0
lea ecx, [ebp - 0x94]
call fcn.00401ea0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0042c920
push 0
lea ecx, [ebp - 0x94]
call fcn.00402740
push eax
push str.User_from_command_line:
call fcn.00428830
add esp, 0xc
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.00428eb0
add esp, 8
test eax, eax
jne 0x429c24
push 0
push 0x434ef0
push str.No_token_from_GetTokenFromElevatedUser
call fcn.00428830
add esp, 0xc
push 0x352
push 0x434f68
push 0x434ef4
call fcn.00428830
add esp, 0xc
mov dword [ebp - 0x9c], 0xd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042c640
mov eax, dword [ebp - 0x9c]
jmp 0x42a0a9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401ec0
mov byte [ebp - 4], 2
push 0
push 0x434f78
lea ecx, [ebp - 0x14]
call fcn.00402340
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
je 0x429c9f
mov edx, dword [ebp - 0x90]
sub edx, 1
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00401fe0
push 0
lea ecx, [ebp - 0x14]
call fcn.00402740
push eax
push str.Final_command_line:
call fcn.00428830
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00401ea0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.00401e70
test eax, eax
je 0x429d73
lea eax, [ebp - 0x88]
push eax
call fcn.00428330
add esp, 4
test eax, eax
jne 0x429d71
push 0x434fb4
lea ecx, [ebp - 0xa4]
call fcn.00401ee0
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0xa4]
push ecx
push 1
call fcn.0042c5c0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.00401fe0
mov dword [ebp - 0xa8], 6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042c640
mov eax, dword [ebp - 0xa8]
jmp 0x42a0a9
jmp 0x429dd9
push 0x2710
lea edx, [ebp - 0x88]
push edx
call fcn.004299b0
add esp, 8
test eax, eax
je 0x429dd9
mov dword [ebp - 0xac], 0xd
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042c640
mov eax, dword [ebp - 0xac]
jmp 0x42a0a9
mov dword [ebp - 0x10], 0x20
push 0x44
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.00412bb0
add esp, 0xc
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x7c], str.winsta0default
push 0x10
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00412bb0
add esp, 0xc
mov dword [ebp - 0x38], 0
push 1
mov edx, dword [ebp - 0x98]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x429e40
mov ecx, dword [ebp - 0x10]
or ecx, 0x400
mov dword [ebp - 0x10], ecx
jmp 0x429e5b
mov dword [ebp - 0x38], 0
push 0
push 0x435014
push 0x435018
call fcn.00428830
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
push str._Skip
lea eax, [ebp - 0x18]
push eax
call fcn.00402650
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.00402820
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00406aa5
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x429f3c
push 0
push 0x435064
push 0x435068
call fcn.00428830
add esp, 0xc
push 0x352
push 0x435090
push 0x4350a0
call fcn.00428830
add esp, 0xc
mov dword [ebp - 0xb4], 0xd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042c640
mov eax, dword [ebp - 0xb4]
jmp 0x42a0a9
lea ecx, [ebp - 0x18]
call fcn.00402740
push eax
lea ecx, [ebp - 0x18]
call fcn.00402820
add eax, 1
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.00412dad
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.00402740
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 - 0xb8], edx
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00406ab0
add esp, 4
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x34], 0
jne 0x42a019
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4350c4
push str.CreateProcessAsUser
call fcn.00428830
add esp, 0xc
push 0x352
push str.failed
push str.Service_workflow
call fcn.00428830
add esp, 0xc
jmp 0x42a047
push str.iLastSvcFailure
push 0x435150
push 0x80000002
call fcn.00428590
add esp, 0xc
push 0x354
push 0x435194
push str.CreateProcessAsUser_succeeded
call fcn.00428830
add esp, 0xc
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
call fcn.00401fe0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.00401fe0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00401fe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00401fe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042c640
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret