Function at 0x42ada0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fe5c
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x43fc54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0x30]
call fcn.0042ea70
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x30]
call fcn.00401de0
lea ecx, [ebp - 0x94]
call fcn.00402600
mov byte [ebp - 4], 1
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x30]
call fcn.0042ed30
push 0
lea ecx, [ebp - 0x94]
call fcn.004016d0
push eax
push str.User_from_command_line:
call fcn.00428bf0
add esp, 0xc
cmp dword [ebp - 0x98], 0
jne 0x42aebc
lea ecx, [ebp - 0x98]
push ecx
call fcn.0042a860
add esp, 4
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x42ae5b
cmp dword [ebp - 0x98], 0
jne 0x42aebc
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.004293f0
add esp, 8
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x42ae89
cmp dword [ebp - 0x98], 0
jne 0x42aebc
mov dword [ebp - 0xa0], 0xd
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042ea50
mov eax, dword [ebp - 0xa0]
jmp 0x42b312
lea ecx, [ebp - 0x88]
call fcn.00402600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00401fe0
test eax, eax
je 0x42af2e
lea ecx, [ebp - 0x88]
push ecx
call fcn.00427010
add esp, 4
test eax, eax
jne 0x42af2c
mov dword [ebp - 0xa4], 6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00402740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042ea50
mov eax, dword [ebp - 0xa4]
jmp 0x42b312
jmp 0x42af88
push 0x2710
lea edx, [ebp - 0x88]
push edx
call fcn.0042a5a0
add esp, 8
test eax, eax
je 0x42af88
mov dword [ebp - 0xa8], 0xd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00402740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042ea50
mov eax, dword [ebp - 0xa8]
jmp 0x42b312
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402620
mov byte [ebp - 4], 3
push 0
push 0x438414
lea ecx, [ebp - 0x14]
call fcn.00402aa0
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xffffffff
je 0x42b003
mov ecx, dword [ebp - 0x90]
sub ecx, 1
push ecx
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402c90
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00402740
push 0
lea ecx, [ebp - 0x14]
call fcn.004016d0
push eax
push str.Final_command_line:
call fcn.00428bf0
add esp, 0xc
mov dword [ebp - 0x10], 0x20
push 0x44
push 0
lea edx, [ebp - 0x84]
push edx
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x7c], str.winsta0default
push 0x10
push 0
lea eax, [ebp - 0x28]
push eax
call fcn.00411600
add esp, 0xc
mov dword [ebp - 0x38], 0
push 1
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x42b081
mov eax, dword [ebp - 0x10]
or eax, 0x400
mov dword [ebp - 0x10], eax
jmp 0x42b09c
mov dword [ebp - 0x38], 0
push 0
push 0x438470
push str.CreateEnvironmentBlock_failed
call fcn.00428bf0
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
push str._Skip
lea edx, [ebp - 0x18]
push edx
call fcn.00402e00
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.00402fc0
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004050d1
add esp, 4
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x42b165
push 0x372
push 0x4384c0
push str.new_wchar_t_failed
call fcn.00428bf0
add esp, 0xc
mov dword [ebp - 0xb4], 0xd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00402740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042ea50
mov eax, dword [ebp - 0xb4]
jmp 0x42b312
lea ecx, [ebp - 0x18]
call fcn.004016d0
push eax
lea ecx, [ebp - 0x18]
call fcn.00402fc0
add eax, 1
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004117fd
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.004016d0
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.004050dc
add esp, 4
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp - 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 0
jne 0x42b292
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4384ec
push str.CreateProcessAsUser_failed
call fcn.00428bf0
add esp, 0xc
mov dword [ebp - 0xbc], 0xd
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00402740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042ea50
mov eax, dword [ebp - 0xbc]
jmp 0x42b312
push str.iLastSvcFailure
push 0x438548
push 0x80000002
call fcn.004288e0
add esp, 0xc
push 0
push 0x43858c
push str.CreateProcessAsUser_succeeded
call fcn.00428bf0
add esp, 0xc
mov dword [ebp - 0xc0], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00402740
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00402740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042ea50
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret