Function at 0x42fd53
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.00420820
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0x10], 0
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2008], edi
mov dword [ebp - 0x2014], ecx
je 0x430161
call fcn.0042bf52
test al, al
je 0x42fda9
push edx
pop ebp
pop edi
push edx
push ebx
push edi
pop ebx
push edi
push edx
push esp
pop esp
push edx
push edx
pop ebx
push ecx
pop edx
push eax
mov edi, dword [ebp - 0x2008]
call fcn.0042bbd1
test al, al
je 0x42fdcf
pop esp
push esi
pop eax
pop ebx
pop edx
pop esi
pop edx
push ebp
pop esp
push edx
pop ebp
push esi
push edi
pop ebx
push esp
push ebp
push ecx
push eax
push ecx
pop esp
pop esp
push esp
push esp
push esp
push ebp
push ebx
push ecx
push esp
push edx
xor eax, eax
push 0x2000
push eax
mov dword [ebp - 0x2010], eax
mov dword [ebp - 0x200c], eax
lea eax, [ebp - 0x2004]
push eax
call fcn.00443040
push dword [ebp - 0x2014]
lea eax, [ebp - 0x2004]
push edi
push str.__s___s
push eax
call fcn.004012c0
add esp, 0x1c
call fcn.0042b8da
test al, al
je 0x42fe31
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.0042bd6f
test al, al
je 0x42fe4f
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.0042b895
test al, al
je 0x42fe6f
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
push str.EXPLORER.EXE
call fcn.004305ae
pop ecx
push eax
xor esi, esi
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x430054
lea ecx, [ebp - 0x2010]
mov edi, 0xf01ff
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x430054
lea eax, [ebp - 0x200c]
push eax
push 1
push 1
push esi
push edi
push dword [ebp - 0x2010]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x430054
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x42ff23
push 0x5a4c0c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42ff1c
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 0x430054
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44
pop edi
push edi
lea eax, [ebp - 0x206c]
push esi
push eax
call fcn.00443040
push 0x10
lea eax, [ebp - 0x2028]
push esi
push eax
call fcn.00443040
add esp, 0x18
mov dword [ebp - 0x206c], edi
call fcn.0042be3e
test al, al
je 0x42ff6a
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
push 5
pop eax
mov dword [ebp - 0x2064], str.WinSta0Default
mov word [ebp - 0x203c], ax
mov dword [ebp - 0x2040], 1
mov dword [ebp - 0x2008], esi
call fcn.0042b8da
test al, al
je 0x42ffb5
push edx
push ebp
pop esp
pop eax
pop edx
push edi
pop eax
push esi
pop ebx
push ebx
pop ecx
push ebx
pop ecx
push eax
push ebp
pop ecx
pop eax
pop esi
push ecx
push esp
push ebx
pop edi
pop esp
pop esp
push ebx
pop esi
push ebx
pop ebp
pop ecx
push edx
call fcn.0042bd6f
test al, al
je 0x42ffd3
push esp
pop esi
push ecx
push ebp
pop esi
push ebx
pop edi
pop ecx
pop ebx
pop eax
push edx
pop edi
pop esp
push edi
pop esi
push ecx
pop ebp
pop ebp
pop esi
push ecx
push ebp
call fcn.0042b895
test al, al
je 0x42fff3
push esi
push eax
push esp
pop ebx
push ebx
push edi
push ebp
pop ebp
pop edi
pop esp
push esi
push edi
pop edx
pop esi
push edx
pop edx
push edx
pop edx
pop ebp
push eax
push edx
push ebp
push ebp
xor esi, esi
lea eax, [ebp - 0x2008]
push esi
push dword [ebp - 0x200c]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x430054
lea eax, [ebp - 0x2028]
push eax
lea eax, [ebp - 0x206c]
push eax
push esi
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 0x430
push esi
push esi
push esi
push eax
push esi
push dword [ebp - 0x200c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x430054
cmp dword [ebp - 0x2008], esi
je 0x430054
push dword [ebp - 0x2008]
call sub.USERENV.dll_DestroyEnvironmentBlock
call fcn.0042babd
test al, al
je 0x43007c
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0042bf0d
test al, al
je 0x430097
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
mov eax, dword [ebp - 0x200c]
test eax, eax
je 0x4300ad
cmp eax, 0xffffffff
je 0x4300ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042b9ee
test al, al
je 0x4300d0
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0042bc5b
test al, al
je 0x4300f2
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
mov eax, dword [ebp - 0x2010]
test eax, eax
je 0x430108
cmp eax, 0xffffffff
je 0x430108
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2018], 0
jne 0x43011a
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042babd
test al, al
je 0x430142
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0042bf0d
test al, al
je 0x43015d
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
xor al, al
jmp 0x430175
xor eax, eax
push eax
push eax
push eax
push ecx
push edi
call fcn.0042561a
add esp, 0x14
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret