Function at 0x4226b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x8c], eax
push edi
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea ecx, [ebp - 0x20]
push 0
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x20], 0xc
mov edi, eax
mov dword [ebp - 0x1c], 0
lea eax, [ebx + 8]
mov dword [ebp - 0x18], 1
push ecx
push eax
mov dword [ebp - 0x80], eax
call esi
push 0
lea ecx, [ebp - 0x20]
lea eax, [ebx + 0xc]
push ecx
push eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x10]
push eax
call esi
push 0
lea ecx, [ebp - 0x20]
lea eax, [ebx + 0x10]
push ecx
push eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x14]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
lea eax, [ebx + 0x14]
push 2
push 0
push 0
push eax
push edi
push dword [ebp - 0xc]
push edi
call esi
push 2
push 0
push 0
lea eax, [ebx + 0x18]
push eax
push edi
push dword [ebp - 0x10]
push edi
call esi
push 2
push 0
push 0
lea eax, [ebx + 0x1c]
push eax
push edi
push dword [ebp - 0x14]
push edi
call esi
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x14]
call ebx
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x80]
mov esi, dword [ebp - 0x84]
mov ebx, dword [ebx]
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
xor eax, eax
push 0x14
push 0x40
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x36], 0
mov word [ebp - 0x32], ax
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x101
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], ax
call esi
mov edi, eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0xc
push 0x40
call esi
mov esi, eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0x10
push 1
push 0
push esi
push dword [ebp - 0x8c]
mov dword [esi], 0xc
push 0
mov dword [esi + 4], edi
mov dword [esi + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, eax
call esi
test edi, edi
je 0x422852
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x422864
mov eax, dword [ebp - 0x7c]
mov dword [eax + 0x2c], ebx
jmp 0x422876
push dword [ebp - 0x74]
call esi
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x78]
mov dword [ebx + 0x2c], eax
test eax, eax
jne 0x4228b8
mov ebx, dword [ebp - 0x80]
push dword [ebx]
call esi
mov dword [ebx], 0
mov ebx, dword [ebp - 0x84]
push dword [ebx]
call esi
mov dword [ebx], 0
mov ebx, dword [ebp - 0x88]
push dword [ebx]
call esi
mov dword [ebx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 1
push 0
mov dword [0x4c4bb0], 1
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 4], eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x4224c0
push 0
push 0
call esi
mov dword [ebx + 0x20], eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x422570
push 0
push 0
call esi
mov dword [ebx + 0x24], eax
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0x422620
push 0
push 0
call esi
push dword [ebp - 0x8c]
mov dword [ebx + 0x28], eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8