Function at 0x4e59ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4e59b5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405f48
xor eax, eax
push ebp
push 0x4e5d76
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x4e5d90
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.0040c63c
push dword [ebp - 0x48]
push 0x4e5dac
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.004063ec
mov edx, dword [ebp - 0x44]
mov ecx, 0x4e5dbc
mov eax, dword [ebp - 4]
call fcn.004bd7a8
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4e5de0
mov edx, 0x4e5df4
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4e5de0
mov edx, 0x4e5e18
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4e5de0
mov edx, 0x4e5e3c
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4e5de0
mov edx, 0x4e5e60
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4e5de0
mov edx, 0x4e5e80
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x4e5de0
mov edx, 0x4e5eac
mov eax, dword [ebp - 8]
call fcn.004bd7a8
lea eax, [ebp - 0x34]
push eax
xor ecx, ecx
mov edx, 0x4e5edc
mov eax, dword [ebp - 0x1c]
call fcn.0040a21c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
call fcn.0040bf14
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.0040c8ec
test al, al
jne 0x4e5acc
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e5adf
lea eax, [ebp - 0x1c]
mov edx, 0x4e5eec
call fcn.00405fb4
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
call fcn.0040c8ec
test al, al
je 0x4e5d41
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x3d8]
call fcn.00476948
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
call fcn.0040d03c
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x10]
call fcn.004bd1e4
mov eax, dword [ebp - 0x20]
call fcn.0040cd44
test al, al
je 0x4e5d41
cmp dword [ebp - 0x3c], 0
jle 0x4e5b92
lea eax, [ebp - 0x2c]
push eax
push 0x4e5efc
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x3c]
call fcn.0040c63c
push dword [ebp - 0x58]
push 0x4e5de0
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.004063ec
mov eax, dword [ebp - 0x54]
push eax
push 0x4e5f24
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
call fcn.0040c63c
push dword [ebp - 0x60]
push 0x4e5de0
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.004063ec
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004bd7a8
jmp 0x4e5c1b
push 0x4e5f50
push 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4e5f6c
mov edx, Ordinal_2
xor eax, eax
call fcn.004bce90
test al, al
jne 0x4e5bbd
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x2c]
push eax
push 0x4e5efc
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x38]
call fcn.0040c63c
push dword [ebp - 0x68]
push 0x4e5de0
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.004063ec
mov eax, dword [ebp - 0x64]
push eax
push 0x4e5f24
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x38]
call fcn.0040c63c
push dword [ebp - 0x70]
push 0x4e5de0
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.004063ec
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004bd7a8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4e5c38
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4e5c38
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
call fcn.004056d0
test eax, eax
je 0x4e5c41
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xa
jl 0x4e5d41
cmp dword [ebp - 0x40], 0
jne 0x4e5c5b
mov eax, dword [ebp - 0x20]
call fcn.004bd330
mov dword [ebp - 0x40], eax
push 0x4e5fac
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x40]
call fcn.0040c63c
push dword [ebp - 0x74]
push 0x4e6054
push dword [ebp - 0x10]
push 0x4e6080
lea eax, [ebp - 8]
mov edx, 5
call fcn.004063ec
lea edx, [ebp - 0x78]
mov eax, esi
call fcn.0040c63c
mov eax, dword [ebp - 0x78]
push eax
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x3d8]
call fcn.00476948
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0040d03c
mov eax, dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 8]
call fcn.0040631c
mov ecx, dword [ebp - 0x84]
pop eax
pop edx
call fcn.004bb33c
test al, al
je 0x4e5d41
mov eax, dword [0x4f6634]
mov eax, dword [eax]
call fcn.00476158
push 0x12c
call sub.kernel32.dll_Sleep_2
lea edx, [ebp - 0x88]
mov eax, esi
call fcn.0040c63c
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x30]
mov edx, 0x4e6110
call fcn.0040631c
push 1
push 0
mov eax, dword [ebp - 0x30]
call fcn.00405fec
push eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebx + 0x3d8]
call fcn.00476948
mov eax, dword [ebp - 0x8c]
call fcn.00405fec
push eax
push 0x4e6124
push 0
call sub.shell32.dll_ShellExecuteW
mov dword [ebx + 0x3cc], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5d7d
lea eax, [ebp - 0x8c]
mov edx, 0x13
call fcn.00405f58
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00405f58
ret