Function at 0x42d3b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.0041f610
mov eax, dword [0x6240b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x10], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x2014], ecx
mov dword [ebp - 0x2008], edx
je 0x42d68f
call fcn.0042797a
test al, al
je 0x42d40d
pop edi
pop esi
push ecx
pop edx
pop esp
push ebx
pop esp
push ebp
pop ebp
pop ecx
push edi
push ebp
push ebx
push ebp
pop ebp
pop edi
pop esp
push edx
pop ebx
push edx
push eax
pop edx
pop ebp
push ecx
pop eax
push ebx
pop ebx
push ebp
push ebp
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x2004]
push 0x2000
push ebx
push eax
mov dword [ebp - 0x2010], ebx
mov dword [ebp - 0x200c], ebx
call fcn.0043ffd0
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push dword [ebp - 0x2014]
push str.__s___s
push eax
call fcn.00406d50
add esp, 0x1c
call fcn.0042738c
test al, al
je 0x42d46a
push edi
push esp
pop edi
push ebx
push esi
push ecx
push esi
pop edx
push ebp
push edi
push ebp
push ebp
push esi
push esi
push esp
push esi
pop esi
pop edi
push esp
push ebx
push str.EXPLORER.EXE
call fcn.0042da78
pop ecx
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x42d605
lea ecx, [ebp - 0x2010]
mov esi, 0xf01ff
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42d605
lea eax, [ebp - 0x200c]
push eax
push 1
push 1
push ebx
push esi
push dword [ebp - 0x2010]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x42d605
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42d51c
push str.WTSGetActiveConsoleSessionId
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d515
call eax
push 4
mov dword [ebp - 0x2014], eax
lea eax, [ebp - 0x2014]
push eax
push 0xc
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x42d605
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x206c]
push ebx
push eax
call fcn.0043ffd0
push 0x10
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.0043ffd0
add esp, 0x18
mov dword [ebp - 0x206c], esi
call fcn.004275f9
test al, al
je 0x42d564
push esp
push ebp
push esp
pop edi
pop edx
pop esp
push esp
pop esi
pop edx
push esi
push esp
push edx
push edx
pop ebp
pop ebx
pop eax
pop esp
push ecx
push ebx
push esp
xor ebx, ebx
push 5
pop eax
mov dword [ebp - 0x2064], str.WinSta0Default
mov word [ebp - 0x203c], ax
mov dword [ebp - 0x2040], 1
mov dword [ebp - 0x2008], ebx
call fcn.0042738c
test al, al
je 0x42d5a5
push edi
push esp
pop edi
push ebx
push esi
push ecx
push esi
pop edx
push ebp
push edi
push ebp
push ebp
push esi
push esi
push esp
push esi
pop esi
pop edi
push esp
push ebx
push ebx
push dword [ebp - 0x200c]
lea eax, [ebp - 0x2008]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x42d605
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x206c]
push eax
push ebx
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 0x430
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x42d605
cmp dword [ebp - 0x2008], 0
je 0x42d605
push dword [ebp - 0x2008]
call sub.USERENV.dll_DestroyEnvironmentBlock
call fcn.0042752a
test al, al
je 0x42d61f
push ebp
pop ecx
pop edx
pop esi
pop edi
pop esp
pop esi
push edi
pop esp
push esi
push ecx
push edi
push edx
pop edi
pop edi
push edx
push edi
mov eax, dword [ebp - 0x200c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42d637
cmp eax, 0xffffffff
je 0x42d637
push eax
call edi
call fcn.004274e5
test al, al
je 0x42d653
push ecx
pop esi
push ebx
pop ebx
push eax
pop ebx
pop esp
push edi
push ebp
pop ebp
pop eax
push edi
push eax
pop ebp
pop ebx
push esi
pop ebp
xor ebx, ebx
mov eax, dword [ebp - 0x2010]
test eax, eax
je 0x42d665
cmp eax, 0xffffffff
je 0x42d665
push eax
call edi
cmp dword [ebp - 0x2018], 0
jne 0x42d671
push ebx
call edi
call fcn.0042752a
test al, al
je 0x42d68b
push ebp
pop ecx
pop edx
pop esi
pop edi
pop esp
pop esi
push edi
pop esp
push esi
push ecx
push edi
push edx
pop edi
pop edi
push edx
push edi
xor al, al
jmp 0x42d6a3
xor eax, eax
push eax
push eax
push eax
push edx
push ecx
call fcn.0042d158
add esp, 0x14
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041eca9
mov esp, ebp
pop ebp
ret