Function at 0x4ea020
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546401
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x58f070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov edx, ecx
lea ecx, [ebp - 0xd0]
call fcn.004e9ec0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00412fb0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x4ea0de
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.004132e0
cmp esi, edi
je 0x4ea1dd
push 1
push 0x55c328
lea ecx, [ebp - 0x44]
call fcn.00412be0
cmp dword [esi + 0x14], 8
jb 0x4ea0ff
mov edx, dword [esi]
jmp 0x4ea101
mov edx, esi
xor eax, eax
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
cmp word [edx], ax
je 0x4ea143
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0xac], ecx
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ea130
sub eax, dword [ebp - 0xac]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xe8]
call fcn.00412ae0
lea edx, [ebp - 0xe8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.004e9ec0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00412fb0
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x4ea194
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.004132e0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xc0], 0
cmp eax, 8
jb 0x4ea1d2
inc eax
lea ecx, [ebp - 0xe8]
push eax
push dword [ebp - 0xe8]
call fcn.004132e0
add esi, 0x18
cmp esi, edi
jne 0x4ea0e6
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x4ea20c
push 0xffffffffffffffff
push 0
push eax
call fcn.00412e90
lea ecx, [ebp - 0x2c]
call fcn.004e0a20
test al, al
jne 0x4ea232
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 0xa1], 0
mov dword [edi], eax
jmp 0x4ea353
push 0x44
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00510fa0
add esp, 0xc
mov dword [ebp - 0x90], 0x44
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push edx
cmovae ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x90]
push edx
push eax
mov eax, dword [ebp - 0xb4]
push 0
movups xmmword [ebp - 0xa0], xmm0
push dword [eax]
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4ea30c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xa8]
mov edx, eax
mov eax, dword [0x599d34]
mov dword [edi], edx
test eax, eax
je 0x4ea2de
push edx
push str.CreateProcess_failed__Error:__u
push 0x55c340
push 0x55c340
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
mov byte [ebp - 0xa1], 0
jmp 0x4ea353
mov ecx, dword [0x599d38]
test ecx, ecx
je 0x4ea303
mov eax, dword [ecx]
push edx
push str.CreateProcess_failed__Error:__u
push str.ProcessUtils
push 0x55c340
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov byte [ebp - 0xa1], 0
jmp 0x4ea353
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xb8]
push dword [ebp - 0xa0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov dword [eax], 0
call esi
push dword [ebp - 0x9c]
call esi
mov dword [edi], 0
mov byte [ebp - 0xa1], 1
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4ea368
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004132e0
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp ecx, 8
jb 0x4ea391
inc ecx
push ecx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x44]
call fcn.004132e0
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050ce8d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret