Function at 0x4eeed4
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4eeedc
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4ef233
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
xor ecx, ecx
mov edx, 0x10
call fcn.00404e90
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4eef1d
mov edx, dword [ebp + 8]
mov esi, dword [eax]
jmp 0x4eef1f
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax - 0x18], esi
test esi, esi
je 0x4eefb1
push esi
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess_1
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [eax - 0x20], edi
mov eax, dword [ebp + 8]
test edi, edi
je 0x4eefa4
lea eax, [ebp - 4]
mov edx, 0x1e
call fcn.00406bfc
push 0x1d
mov eax, dword [ebp - 4]
call fcn.0040696c
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
xor edx, edx
call fcn.004dbd88
mov edx, eax
lea eax, [ebp - 4]
call fcn.00406bfc
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040ac0c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00406564
mov edx, 0x4ef24c
mov eax, dword [ebp - 4]
call fcn.0040ab14
test al, al
jne 0x4ef218
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x54]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
push eax
call fcn.004eed30
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x40]
call fcn.004eedac
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x28], 1
je 0x4ef218
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess_1
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
push 0xf01ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.advapi32.dll_OpenProcessToken_1
test eax, eax
jne 0x4ef09d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_CloseHandle_2
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x1c]
call fcn.0040e730
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov edx, 0x4ef260
call fcn.004067f4
mov eax, dword [ebp - 8]
call fcn.0040696c
push eax
call sub.kernel32.dll_OutputDebugStringA
call sub.kernel32.dll_GetCurrentProcessId_1
mov edx, dword [ebp + 8]
mov dword [edx - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess_1
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
push 0xf01ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.advapi32.dll_OpenProcessToken_1
test eax, eax
jne 0x4ef09d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_CloseHandle_2
jmp 0x4ef218
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
push 1
push 1
push 0
push 0xf01ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.advapi32.dll_DuplicateTokenEx
test eax, eax
jne 0x4ef107
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_2
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x20]
call fcn.0040e730
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 0x4ef284
call fcn.004067f4
mov eax, dword [ebp - 0xc]
call fcn.0040696c
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4ef218
push 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
add eax, 0x40
push eax
push 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_SetTokenInformation
test eax, eax
jne 0x4ef179
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_2
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x24]
call fcn.0040e730
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 0x4ef2a0
call fcn.004067f4
mov eax, dword [ebp - 0x10]
call fcn.0040696c
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x4ef218
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push eax
mov eax, dword [ebp + 8]
add eax, 0xffffff94
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov edx, dword [0x50f424]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, 0x4ef2bc
call fcn.004067f4
mov eax, dword [ebp - 0x28]
call fcn.0040696c
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.advapi32.dll_CreateProcessAsUserA_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4ef1f4
call sub.kernel32.dll_GetLastError_2
lea edx, [ebp - 0x2c]
call fcn.0040e730
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
mov edx, 0x4ef2d8
call fcn.004067f4
mov eax, dword [ebp - 0x14]
call fcn.0040696c
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef23a
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.004064f0
ret