Function at 0x4e5cf0
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 0x4e626f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53263c], 0
jne 0x4e5d38
mov dl, 1
mov eax, dword [0x414ad0]
call fcn.00403720
mov dword [0x53263c], eax
xor eax, eax
call fcn.004ae054
mov esi, eax
test esi, esi
je 0x4e6219
cmp dword [esi + 8], 0
jle 0x4e6219
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e5f4b
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00416d88
mov edi, eax
mov eax, dword [0x5324e0]
mov edx, dword [edi + 4]
call fcn.00404958
jne 0x4e5d91
mov eax, 0x5324e0
call fcn.0040455c
mov eax, dword [0x5330d0]
test byte [eax], 2
je case.0x4e5e9d.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x53a304]
call fcn.004e5bac
test eax, eax
jl case.0x4e5e9d.0
mov eax, dword [edi + 0xc]
call fcn.004e68a0
test al, al
jne 0x4e5dcf
mov eax, dword [edi + 4]
call fcn.004e68a0
test al, al
je 0x4e5deb
lea edx, [ebp - 0x24]
mov eax, dword [edi + 0xc]
call fcn.00409a54
mov eax, dword [ebp - 0x24]
mov edx, dword [edi + 4]
call fcn.00404958
je case.0x4e5e9d.0
test ebx, ebx
jne 0x4e5e7e
mov eax, dword [0x5324dc]
mov edx, dword [edi + 4]
call fcn.00404958
je 0x4e5e7e
cmp dword [0x53a5fc], 9
je 0x4e5e1d
cmp dword [0x53a5fc], 0
jl 0x4e5e71
cmp dword [0x53a5fc], 3
jg 0x4e5e71
cmp dword [0x53a604], 0
jne 0x4e5e33
mov eax, 0x53a604
mov edx, dword [edi + 8]
call fcn.004045b0
push 0
push 0
push dword [edi + 4]
push 0x4e6288
push dword [0x53a604]
push 0x4e6294
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004048d4
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
mov ecx, 2
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004d48b8
mov eax, 0x5324dc
mov edx, dword [edi + 4]
call fcn.004045b0
mov eax, 0x53a604
call fcn.0040455c
inc ebx
mov eax, dword [0x53a5fc]
cmp eax, 9
ja case.0x4e5e9d.0
mov al, byte [eax + 0x4e5ea4]
jmp dword [eax*4 + 0x4e5eae]
mov eax, dword [0x5337f4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x531ef4]
jne 0x4e5eda
cmp eax, dword [0x531ef0]
jae case.0x4e5e9d.0
jmp 0x4e5edc
jge case.0x4e5e9d.0
lea edx, [ebp - 0x2c]
mov eax, 0x1d
call fcn.004a9d54
mov ecx, dword [ebp - 0x2c]
mov dx, word [0x4e6298]
mov al, 1
call fcn.004acb50
jmp case.0x4e5e9d.0
mov edx, 3
mov eax, dword [0x53a4b4]
call fcn.004e69dc
jmp case.0x4e5e9d.0
mov eax, dword [edi]
call fcn.004e5ae0
cmp dword [0x53a5fc], 8
je 0x4e5f26
cmp dword [0x53a5fc], 9
jne case.0x4e5e9d.0
mov eax, dword [edi + 8]
call fcn.0046d69c
test al, al
je case.0x4e5e9d.0
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004d2a6c
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e5d6c
test ebx, ebx
jne 0x4e5f59
mov eax, 0x5324dc
call fcn.0040455c
mov eax, dword [0x5330d0]
test byte [eax], 1
je 0x4e6219
mov byte [ebp - 0x15], 0
mov eax, dword [0x53a2fc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e61ff
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 [0x53a2fc]
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 [0x53a5fc], eax
lea eax, [ebp - 0x10]
mov ecx, 3
mov edx, 1
call fcn.00404aac
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e6023
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00416d88
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 4]
call fcn.00404958
je 0x4e5ff9
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.00404958
jne 0x4e601b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53263c]
call fcn.0046ba88
test eax, eax
jge 0x4e6019
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53263c]
call fcn.0046bb34
mov bl, 1
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e5fd3
test bl, bl
jne 0x4e61f3
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53263c]
call fcn.0046ba88
test eax, eax
jl 0x4e61f3
mov byte [ebp - 0x15], 1
cmp dword [0x531f68], 0
jne 0x4e606e
cmp dword [0x531f64], 0
jne 0x4e606e
mov eax, dword [0x531ef0]
mov dword [0x531f64], eax
mov eax, dword [0x531ef4]
mov dword [0x531f68], eax
mov eax, dword [0x53a300]
cdq
add eax, dword [0x531f64]
adc edx, dword [0x531f68]
cmp edx, dword [0x531ef4]
jne 0x4e6096
cmp eax, dword [0x531ef0]
ja 0x4e61f3
jmp 0x4e609c
jg 0x4e61f3
mov eax, dword [0x5324e0]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e60d6
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.004d48b8
mov eax, 0x5324e0
mov edx, dword [ebp - 0x10]
call fcn.004045b0
mov eax, dword [0x53a5fc]
dec eax
je 0x4e60e9
dec eax
je 0x4e6132
dec eax
je 0x4e6146
jmp 0x4e61f3
mov eax, dword [0x5337f4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x531ef4]
jne 0x4e6109
cmp eax, dword [0x531ef0]
jae 0x4e61f3
jmp 0x4e610f
jge 0x4e61f3
lea edx, [ebp - 0x30]
mov eax, 0x1e
call fcn.004a9d54
mov ecx, dword [ebp - 0x30]
mov dx, word [0x4e6298]
mov al, 1
call fcn.004acb50
jmp 0x4e61f3
mov edx, 3
mov eax, dword [0x53a4b4]
call fcn.004e69dc
jmp 0x4e61f3
mov eax, dword [ebp - 0x10]
call fcn.00404814
cmp eax, 4
jl 0x4e6185
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4e6163
cmp bl, 0x5c
jne 0x4e6185
mov eax, dword [ebp - 0x10]
call fcn.0046d69c
test al, al
je 0x4e61f3
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a0c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e61f3
mov eax, dword [0x5330f8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e61f3
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov eax, dword [0x5330f8]
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.00404b50
dec eax
jne 0x4e61eb
mov eax, dword [ebp - 0x10]
call fcn.00404814
mov ecx, eax
inc ecx
lea eax, [ebp - 0x14]
mov edx, 1
call fcn.00404aac
push 1
mov eax, dword [ebp - 0x14]
call fcn.00404a0c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e61f3
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e61a1
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e5f89
cmp byte [ebp - 0x15], 0
jne 0x4e6219
mov dword [0x531f64], 0
mov dword [0x531f68], 0
mov eax, dword [0x53a308]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e6247
test esi, esi
jne 0x4e6239
xor eax, eax
call fcn.004ae054
mov dword [0x532638], eax
jmp 0x4e623f
mov dword [0x532638], esi
mov eax, dword [ebp - 4]
call fcn.004e557c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6276
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404580
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404580
ret