Function at 0x4e9fdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4e9fe4
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ea231
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x506450], 0
je 0x4ea1bf
lea edx, [ebp - 0x1c]
mov eax, dword [0x504c64]
mov eax, dword [eax]
call fcn.0047e850
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00409cfc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0x4ea248
call fcn.00404bfc
mov eax, dword [ebp - 4]
call fcn.00409bfc
test al, al
je 0x4ea056
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004bbd18
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x10]
call fcn.004bbe74
lea eax, [ebp - 0x30]
mov edx, dword [0x506450]
call fcn.00405184
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x14]
call fcn.0049ff74
lea ecx, [ebp - 0x38]
mov edx, 0x4ea25c
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x34]
mov eax, 0x506518
call fcn.00404b78
lea ecx, [ebp - 0x40]
mov edx, 0x4ea25c
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x10]
call fcn.00405184
mov edx, dword [ebp - 0x44]
pop eax
call fcn.004052bc
je 0x4ea187
cmp dword [0x506104], 0
je 0x4ea0f0
xor ecx, ecx
mov edx, 0x4ea278
mov eax, dword [0x506104]
call fcn.004efb28
lea ecx, [ebp - 0x4c]
mov edx, 0x4ea2b4
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 8]
call fcn.00404b78
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4cd284]
call fcn.004ce260
mov dword [ebx + 0x538], eax
mov dl, 1
mov eax, dword [ebx + 0x3fc]
call fcn.0045e210
mov esi, dword [ebx + 0x538]
mov byte [esi + 0x38], 1
mov byte [esi + 0x40], 0
lea eax, [esi + 0x44]
mov edx, 0x4ea2d0
call fcn.00404944
mov eax, dword [ebx + 0x538]
add eax, 0x3c
mov edx, dword [ebp - 8]
call fcn.00404944
mov eax, dword [ebx + 0x538]
mov dword [eax + 0x74], ebx
mov dword [eax + 0x70], 0x4e7ca4
mov dword [eax + 0x7c], ebx
mov dword [eax + 0x78], 0x4e792c
call fcn.004ce304
jmp 0x4ea1bf
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004eab14
cmp dword [ebp - 0xc], 0
je 0x4ea1bf
push 5
push dword [ebp - 4]
push 0x4ea2e8
push dword [ebp - 0xc]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404c70
mov eax, dword [ebp - 0x50]
call fcn.00404db0
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea238
lea eax, [ebp - 0x50]
call fcn.004048f0
lea eax, [ebp - 0x4c]
call fcn.004067a8
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405014
lea eax, [ebp - 0x40]
call fcn.004067a8
lea eax, [ebp - 0x3c]
call fcn.00404ffc
lea eax, [ebp - 0x38]
call fcn.004067a8
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00405014
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404914
lea eax, [ebp - 0x14]
call fcn.004067a8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404914
ret