Function at 0x4ee8c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x14
push 0
push 0
dec ecx
jne 0x4ee8d1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4eef1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00405614
je 0x4eeee6
lea eax, [ebp - 0x7c]
xor ecx, ecx
mov edx, 0x44
call fcn.0040346c
lea eax, [ebp - 0x8c]
xor ecx, ecx
mov edx, 0x10
call fcn.0040346c
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 1
mov word [ebp - 0x4c], 0xa
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4ee94e
cmp dword [ebp + 0x10], 0xffffffff
je 0x4ee964
mov eax, dword [ebp + 0x14]
movzx eax, ax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov dword [ebp - 0x68], eax
or dword [ebp - 0x50], 4
cmp dword [ebp + 0xc], 0
jle 0x4ee992
cmp dword [ebp + 8], 0
jle 0x4ee992
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x4ee97c
call fcn.00403a58
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 8]
test eax, eax
jns 0x4ee98b
call fcn.00403a58
mov dword [ebp - 0x60], eax
or dword [ebp - 0x50], 2
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00405358
mov edx, dword [ebp - 0x1c]
mov eax, 0x4eef34
call fcn.004b2e30
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jle 0x4ee9d1
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
jno 0x4ee9c4
call fcn.00403a60
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.00405698
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0048180c
push 0
lea eax, [ebp - 0x90]
push eax
xor ecx, ecx
mov edx, 0x4eef3c
mov eax, dword [ebp - 0x20]
call fcn.004ad270
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x20]
call fcn.00405358
mov eax, dword [ebp - 0x20]
call fcn.00481ab0
test al, al
jne 0x4eea16
lea eax, [ebp - 0x20]
call fcn.004052f4
push 0
lea eax, [ebp - 0x94]
push eax
xor ecx, ecx
mov edx, 0x4eef3c
mov eax, dword [ebp - 0x1c]
call fcn.004ad270
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x1c]
call fcn.00405358
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x1c]
call fcn.004818ac
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
xor edx, edx
call fcn.00481714
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x24]
call fcn.00409d2c
mov edx, dword [ebp - 0x24]
mov eax, 0x4eef44
call fcn.00405810
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jle 0x4eea9f
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
jno 0x4eea92
call fcn.00403a60
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00405698
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 8]
call fcn.004818f8
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x28]
call fcn.00409d2c
lea eax, [ebp - 0x28]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 0x28]
call fcn.00405698
mov eax, dword [ebp - 0x20]
call fcn.004054e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
xor edx, edx
call fcn.00405614
jne 0x4eeaed
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004054e0
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4eee98
test byte [ebp - 0xc], 1
jne 0x4eed80
mov dword [ebp - 0x34], 0x4e20
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef4c
call fcn.00405614
je 0x4eeb5b
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef5c
call fcn.00405614
jne 0x4eeb62
mov dword [ebp - 0x34], 0x1f4
mov eax, dword [ebp - 0x34]
test eax, eax
jns 0x4eeb6e
call fcn.00403a58
push eax
mov eax, dword [ebp - 0x8c]
push eax
call sub.user32.dll_WaitForInputIdle
mov eax, dword [ebp - 0x24]
mov edx, 0x4eef6c
call fcn.00405614
je 0x4eebac
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef4c
call fcn.00405614
je 0x4eebac
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef5c
call fcn.00405614
jne 0x4eeccb
xor eax, eax
mov dword [ebp - 0x34], eax
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.005464d8
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x30]
call fcn.004b2c8c
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x1c]
call fcn.00409d2c
mov eax, dword [ebp - 0x24]
mov edx, 0x4eef6c
call fcn.00405614
jne 0x4eec2c
mov eax, dword [ebp - 0x1c]
mov edx, 0x4eef84
call fcn.00405614
je 0x4eec1e
mov eax, dword [ebp - 0x1c]
mov edx, 0x4eefa4
call fcn.00405614
je 0x4eec1e
mov eax, dword [ebp - 0x1c]
mov edx, 0x4eefc4
call fcn.00405614
jne 0x4eec2c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004ee49c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef4c
call fcn.00405614
jne 0x4eec67
mov eax, dword [ebp - 0x1c]
mov edx, 0x4eefd8
call fcn.00405614
je 0x4eec59
mov eax, dword [ebp - 0x1c]
mov edx, 0x4eefec
call fcn.00405614
jne 0x4eec67
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004ee49c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef5c
call fcn.00405614
jne 0x4eec93
mov eax, dword [ebp - 0x1c]
mov edx, 0x4ef000
call fcn.00405614
jne 0x4eec93
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004ee49c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x4eeca6
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0xb
jne 0x4eebb1
mov eax, dword [ebp - 0x28]
mov edx, 0x4eef4c
call fcn.00405614
jne 0x4eed24
push 0x14
call sub.kernel32.dll_Sleep_1
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.005463e4
jmp 0x4eed24
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x84]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004ec5ec
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4eecf9
mov eax, dword [ebp - 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4eed16
push 0x14
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 4]
call fcn.005463e4
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x33
jne 0x4eecd0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004ee49c
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x14], 0xffffffff
jne 0x4eed39
cmp dword [ebp + 0x10], 0xffffffff
jne 0x4eed39
or dword [ebp - 0x38], 2
cmp dword [ebp + 0xc], 0
jle 0x4eed45
cmp dword [ebp + 8], 0
jg 0x4eed49
or dword [ebp - 0x38], 1
cmp dword [ebp - 0x38], 3
je 0x4eee0a
mov eax, dword [ebp - 0x38]
test eax, eax
jns 0x4eed5f
call fcn.00403a58
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
push 0
mov eax, dword [ebp - 0x30]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4eee0a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x8c]
push eax
call sub.user32.dll_WaitForInputIdle
jmp 0x4eedb0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x222c], 0
jg 0x4eedc5
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 4]
call fcn.005463e4
push 0x14
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4eed90
xor eax, eax
push ebp
push 0x4eee00
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4eedf6
mov eax, dword [ebp - 0x2c]
test eax, eax
jns 0x4eedf3
call fcn.00403a58
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eee0a
xor eax, eax
push ebp
push 0x4eee46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x88]
test eax, eax
jns 0x4eee27
call fcn.00403a58
call fcn.004b27c8
test al, al
je 0x4eee3c
mov eax, dword [ebp - 0x88]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eee50
xor eax, eax
push ebp
push 0x4eee8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x8c]
test eax, eax
jns 0x4eee6d
call fcn.00403a58
call fcn.004b27c8
test al, al
je 0x4eee82
mov eax, dword [ebp - 0x8c]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4eeebf
call sub.kernel32.dll_GetLastError
test eax, eax
jns 0x4eeea6
call fcn.00403a58
lea edx, [ebp - 0xa8]
call fcn.0040de8c
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0x1c]
call fcn.004054d0
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x21b0]
jne 0x4eeed9
mov eax, dword [ebp - 4]
mov byte [eax + 0x37d], 1
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.005464d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eef23
lea eax, [ebp - 0xa8]
call fcn.00404acc
lea eax, [ebp - 0xa4]
mov edx, 6
call fcn.0040530c
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040530c
ret