Function at 0x4e6c54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e71d3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x533644], 0
jne 0x4e6c9c
mov dl, 1
mov eax, dword [0x414af0]
call fcn.00403740
mov dword [0x533644], eax
xor eax, eax
call fcn.004b0250
mov esi, eax
test esi, esi
je 0x4e717d
cmp dword [esi + 8], 0
jle 0x4e717d
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e6eaf
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00416da8
mov edi, eax
mov eax, dword [0x5334f0]
mov edx, dword [edi + 4]
call fcn.00404978
jne 0x4e6cf5
mov eax, 0x5334f0
call fcn.0040457c
mov eax, dword [0x5340d8]
test byte [eax], 2
je case.0x4e6e01.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x53b318]
call fcn.004e6b10
test eax, eax
jl case.0x4e6e01.0
mov eax, dword [edi + 0xc]
call fcn.004e7810
test al, al
jne 0x4e6d33
mov eax, dword [edi + 4]
call fcn.004e7810
test al, al
je 0x4e6d4f
lea edx, [ebp - 0x24]
mov eax, dword [edi + 0xc]
call fcn.00409a74
mov eax, dword [ebp - 0x24]
mov edx, dword [edi + 4]
call fcn.00404978
je case.0x4e6e01.0
test ebx, ebx
jne 0x4e6de2
mov eax, dword [0x5334ec]
mov edx, dword [edi + 4]
call fcn.00404978
je 0x4e6de2
cmp dword [0x53b618], 9
je 0x4e6d81
cmp dword [0x53b618], 0
jl 0x4e6dd5
cmp dword [0x53b618], 3
jg 0x4e6dd5
cmp dword [0x53b620], 0
jne 0x4e6d97
mov eax, 0x53b620
mov edx, dword [edi + 8]
call fcn.004045d0
push 0
push 0
push dword [edi + 4]
push 0x4e71ec
push dword [0x53b620]
push 0x4e71f8
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004048f4
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
mov ecx, 2
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d5178
mov eax, 0x5334ec
mov edx, dword [edi + 4]
call fcn.004045d0
mov eax, 0x53b620
call fcn.0040457c
inc ebx
mov eax, dword [0x53b618]
cmp eax, 9
ja case.0x4e6e01.0
mov al, byte [eax + 0x4e6e08]
jmp dword [eax*4 + 0x4e6e12]
mov eax, dword [0x534800]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x532efc]
jne 0x4e6e3e
cmp eax, dword [0x532ef8]
jae case.0x4e6e01.0
jmp 0x4e6e40
jge case.0x4e6e01.0
lea edx, [ebp - 0x2c]
mov eax, 0x1d
call fcn.004a9d74
mov ecx, dword [ebp - 0x2c]
mov dx, word [0x4e71fc]
mov al, 1
call fcn.004acb70
jmp case.0x4e6e01.0
mov edx, 3
mov eax, dword [0x53b4cc]
call fcn.004e794c
jmp case.0x4e6e01.0
mov eax, dword [edi]
call fcn.004e6a44
cmp dword [0x53b618], 8
je 0x4e6e8a
cmp dword [0x53b618], 9
jne case.0x4e6e01.0
mov eax, dword [edi + 8]
call fcn.0046d6bc
test al, al
je case.0x4e6e01.0
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004d31d0
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e6cd0
test ebx, ebx
jne 0x4e6ebd
mov eax, 0x5334ec
call fcn.0040457c
mov eax, dword [0x5340d8]
test byte [eax], 1
je 0x4e717d
mov byte [ebp - 0x15], 0
mov eax, dword [0x53b310]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e7163
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [0x53b310]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
and eax, 0xff
sub eax, 0x30
mov dword [0x53b618], eax
lea eax, [ebp - 0x10]
mov ecx, 3
mov edx, 1
call fcn.00404acc
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e6f87
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00416da8
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 4]
call fcn.00404978
je 0x4e6f5d
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.00404978
jne 0x4e6f7f
mov edx, dword [ebp - 0x10]
mov eax, dword [0x533644]
call fcn.0046baa8
test eax, eax
jge 0x4e6f7d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x533644]
call fcn.0046bb54
mov bl, 1
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e6f37
test bl, bl
jne 0x4e7157
mov edx, dword [ebp - 0x10]
mov eax, dword [0x533644]
call fcn.0046baa8
test eax, eax
jl 0x4e7157
mov byte [ebp - 0x15], 1
cmp dword [0x532f70], 0
jne 0x4e6fd2
cmp dword [0x532f6c], 0
jne 0x4e6fd2
mov eax, dword [0x532ef8]
mov dword [0x532f6c], eax
mov eax, dword [0x532efc]
mov dword [0x532f70], eax
mov eax, dword [0x53b314]
cdq
add eax, dword [0x532f6c]
adc edx, dword [0x532f70]
cmp edx, dword [0x532efc]
jne 0x4e6ffa
cmp eax, dword [0x532ef8]
ja 0x4e7157
jmp 0x4e7000
jg 0x4e7157
mov eax, dword [0x5334f0]
mov edx, dword [ebp - 0x10]
call fcn.00404978
je 0x4e703a
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov ecx, 1
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d5178
mov eax, 0x5334f0
mov edx, dword [ebp - 0x10]
call fcn.004045d0
mov eax, dword [0x53b618]
dec eax
je 0x4e704d
dec eax
je 0x4e7096
dec eax
je 0x4e70aa
jmp 0x4e7157
mov eax, dword [0x534800]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x532efc]
jne 0x4e706d
cmp eax, dword [0x532ef8]
jae 0x4e7157
jmp 0x4e7073
jge 0x4e7157
lea edx, [ebp - 0x30]
mov eax, 0x1e
call fcn.004a9d74
mov ecx, dword [ebp - 0x30]
mov dx, word [0x4e71fc]
mov al, 1
call fcn.004acb70
jmp 0x4e7157
mov edx, 3
mov eax, dword [0x53b4cc]
call fcn.004e794c
jmp 0x4e7157
mov eax, dword [ebp - 0x10]
call fcn.00404834
cmp eax, 4
jl 0x4e70e9
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4e70c7
cmp bl, 0x5c
jne 0x4e70e9
mov eax, dword [ebp - 0x10]
call fcn.0046d6bc
test al, al
je 0x4e7157
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a2c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e7157
mov eax, dword [0x534100]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e7157
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov eax, dword [0x534100]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00404b70
dec eax
jne 0x4e714f
mov eax, dword [ebp - 0x10]
call fcn.00404834
mov ecx, eax
inc ecx
lea eax, [ebp - 0x14]
mov edx, 1
call fcn.00404acc
push 1
mov eax, dword [ebp - 0x14]
call fcn.00404a2c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e7157
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e7105
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e6eed
cmp byte [ebp - 0x15], 0
jne 0x4e717d
mov dword [0x532f6c], 0
mov dword [0x532f70], 0
mov eax, dword [0x53b31c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e71ab
test esi, esi
jne 0x4e719d
xor eax, eax
call fcn.004b0250
mov dword [0x533640], eax
jmp 0x4e71a3
mov dword [0x533640], esi
mov eax, dword [ebp - 4]
call fcn.004e64e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e71da
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004045a0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045a0
ret