Function at 0x4e6cc8
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 0x4e7247
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x533644], 0
jne 0x4e6d10
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 0x4e71f1
cmp dword [esi + 8], 0
jle 0x4e71f1
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e6f23
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 0x4e6d69
mov eax, 0x5334f0
call fcn.0040457c
mov eax, dword [0x5340d8]
test byte [eax], 2
je case.0x4e6e75.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x53b318]
call fcn.004e6b84
test eax, eax
jl case.0x4e6e75.0
mov eax, dword [edi + 0xc]
call fcn.004e7884
test al, al
jne 0x4e6da7
mov eax, dword [edi + 4]
call fcn.004e7884
test al, al
je 0x4e6dc3
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.0x4e6e75.0
test ebx, ebx
jne 0x4e6e56
mov eax, dword [0x5334ec]
mov edx, dword [edi + 4]
call fcn.00404978
je 0x4e6e56
cmp dword [0x53b618], 9
je 0x4e6df5
cmp dword [0x53b618], 0
jl 0x4e6e49
cmp dword [0x53b618], 3
jg 0x4e6e49
cmp dword [0x53b620], 0
jne 0x4e6e0b
mov eax, 0x53b620
mov edx, dword [edi + 8]
call fcn.004045d0
push 0
push 0
push dword [edi + 4]
push 0x4e7260
push dword [0x53b620]
push 0x4e726c
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.004d5208
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.0x4e6e75.0
mov al, byte [eax + 0x4e6e7c]
jmp dword [eax*4 + 0x4e6e86]
mov eax, dword [0x534800]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x532efc]
jne 0x4e6eb2
cmp eax, dword [0x532ef8]
jae case.0x4e6e75.0
jmp 0x4e6eb4
jge case.0x4e6e75.0
lea edx, [ebp - 0x2c]
mov eax, 0x1d
call fcn.004a9d74
mov ecx, dword [ebp - 0x2c]
mov dx, word [0x4e7270]
mov al, 1
call fcn.004acb70
jmp case.0x4e6e75.0
mov edx, 3
mov eax, dword [0x53b4cc]
call fcn.004e79c0
jmp case.0x4e6e75.0
mov eax, dword [edi]
call fcn.004e6ab8
cmp dword [0x53b618], 8
je 0x4e6efe
cmp dword [0x53b618], 9
jne case.0x4e6e75.0
mov eax, dword [edi + 8]
call fcn.0046d6bc
test al, al
je case.0x4e6e75.0
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004d31d0
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e6d44
test ebx, ebx
jne 0x4e6f31
mov eax, 0x5334ec
call fcn.0040457c
mov eax, dword [0x5340d8]
test byte [eax], 1
je 0x4e71f1
mov byte [ebp - 0x15], 0
mov eax, dword [0x53b310]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e71d7
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 0x4e6ffb
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 0x4e6fd1
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.00404978
jne 0x4e6ff3
mov edx, dword [ebp - 0x10]
mov eax, dword [0x533644]
call fcn.0046baa8
test eax, eax
jge 0x4e6ff1
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 0x4e6fab
test bl, bl
jne 0x4e71cb
mov edx, dword [ebp - 0x10]
mov eax, dword [0x533644]
call fcn.0046baa8
test eax, eax
jl 0x4e71cb
mov byte [ebp - 0x15], 1
cmp dword [0x532f70], 0
jne 0x4e7046
cmp dword [0x532f6c], 0
jne 0x4e7046
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 0x4e706e
cmp eax, dword [0x532ef8]
ja 0x4e71cb
jmp 0x4e7074
jg 0x4e71cb
mov eax, dword [0x5334f0]
mov edx, dword [ebp - 0x10]
call fcn.00404978
je 0x4e70ae
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.004d5208
mov eax, 0x5334f0
mov edx, dword [ebp - 0x10]
call fcn.004045d0
mov eax, dword [0x53b618]
dec eax
je 0x4e70c1
dec eax
je 0x4e710a
dec eax
je 0x4e711e
jmp 0x4e71cb
mov eax, dword [0x534800]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x532efc]
jne 0x4e70e1
cmp eax, dword [0x532ef8]
jae 0x4e71cb
jmp 0x4e70e7
jge 0x4e71cb
lea edx, [ebp - 0x30]
mov eax, 0x1e
call fcn.004a9d74
mov ecx, dword [ebp - 0x30]
mov dx, word [0x4e7270]
mov al, 1
call fcn.004acb70
jmp 0x4e71cb
mov edx, 3
mov eax, dword [0x53b4cc]
call fcn.004e79c0
jmp 0x4e71cb
mov eax, dword [ebp - 0x10]
call fcn.00404834
cmp eax, 4
jl 0x4e715d
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4e713b
cmp bl, 0x5c
jne 0x4e715d
mov eax, dword [ebp - 0x10]
call fcn.0046d6bc
test al, al
je 0x4e71cb
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a2c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e71cb
mov eax, dword [0x534100]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e71cb
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 0x4e71c3
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 0x4e71cb
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e7179
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e6f61
cmp byte [ebp - 0x15], 0
jne 0x4e71f1
mov dword [0x532f6c], 0
mov dword [0x532f70], 0
mov eax, dword [0x53b31c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e721f
test esi, esi
jne 0x4e7211
xor eax, eax
call fcn.004b0250
mov dword [0x533640], eax
jmp 0x4e7217
mov dword [0x533640], esi
mov eax, dword [ebp - 4]
call fcn.004e6554
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e724e
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004045a0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045a0
ret