Function at 0x414420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
push ebx
push esi
push edi
push str.CEPUserProc::EPCreateProcessAsUser___n
mov edi, ecx
call fcn.00403770
add esp, 4
xor esi, esi
push esi
lea ecx, [edi + 8]
call fcn.00401c00
mov ebx, eax
push esi
lea ecx, [edi + 0xc]
mov dword [esp + 0x28], ebx
call fcn.00401c00
push eax
push ebx
push str.CEPUserProc::EPCreateProcessAsUser___Target__UserName_:__s__DomainName_:__s_n
mov dword [esp + 0x3c], eax
call fcn.00403770
push 0x1000
call fcn.0041563f
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x414488
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push 0x1000
push ebx
mov ecx, edi
call fcn.004143a0
mov edi, eax
push edi
push str.CEPUserProc::EPCreateProcessAsUser___GetProcessList__List_Num_:__d_n
mov dword [esp + 0x24], edi
call fcn.00403770
add esp, 8
test edi, edi
je 0x414702
mov eax, dword [esp + 0x1c]
xor edi, edi
test eax, eax
mov dword [esp + 0x20], edi
jle 0x414702
mov eax, dword [ebx + edi*4]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4146f1
mov ecx, dword [ebx + edi*4]
push ecx
push edi
push str.CEPUserProc::EPCreateProcessAsUser___success_OpenProcess__Task_No._d__Process_ID_:__d_n
call fcn.00403770
mov eax, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x2000f
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
test esi, esi
je 0x4146e6
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4146e6
push str.CEPUserProc::EPCreateProcessAsUser___success_OpenProcessToken_n
call fcn.00403770
mov edx, dword [esp + 0x10]
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push edx
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push str.CEPUserProc::EPCreateProcessAsUser___GetTokenInformation_1__n
mov esi, eax
call fcn.00403770
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jbe 0x4146db
push eax
call fcn.0041563f
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4146d7
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, eax
test esi, esi
je 0x4146ce
push str.CEPUserProc::EPCreateProcessAsUser___success_GetTokenInformation_2__n
call fcn.00403770
xor eax, eax
add esp, 4
mov ecx, 0x41
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x140]
rep stosd dword es:[edi], eax
mov edx, 0x104
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x148]
push edx
mov edx, dword [ebx]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
mov esi, eax
test esi, esi
je 0x4146ca
lea eax, [esp + 0x140]
push eax
lea ecx, [esp + 0x3c]
push ecx
push str.CEPUserProc::EPCreateProcessAsUser___success_LookupAccountSid__UserName_:__s__DomainName_:__s_n
call fcn.00403770
mov eax, dword [esp + 0x3c]
mov cl, byte [eax]
add esp, 0xc
test cl, cl
jne 0x41464b
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00415f33
add esp, 8
test eax, eax
jne 0x4146ca
push str.CEPUserProc::EPCreateProcessAsUser___User_is_Matching_n
jmp 0x41467b
push eax
lea ecx, [esp + 0x144]
push ecx
call fcn.00415f33
add esp, 8
test eax, eax
jne 0x4146ca
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00415f33
add esp, 8
test eax, eax
jne 0x4146ca
push str.CEPUserProc::EPCreateProcessAsUser___User__Domein_is_Matching_n
call fcn.00403770
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
add esp, 4
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov esi, eax
push esi
push str.CEPUserProc::EPCreateProcessAsUser___CreateProcessAsUser__result_:__d_n
call fcn.00403770
add esp, 8
test esi, esi
jne 0x414716
mov edi, dword [esp + 0x20]
push ebx
call fcn.0041563a
add esp, 4
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x20], edi
jl 0x4144c3
push ebx
call fcn.0041563a
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push ebx
call fcn.0041563a
mov edx, dword [esp + 0x18]
push edx
call fcn.0041563a
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x28