Function at 0x4e4074
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 0x4e45f3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53061c], 0
jne 0x4e40bc
mov dl, 1
mov eax, dword [0x414aa4]
call fcn.00403720
mov dword [0x53061c], eax
xor eax, eax
call fcn.004acdc0
mov esi, eax
test esi, esi
je 0x4e459d
cmp dword [esi + 8], 0
jle 0x4e459d
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e42cf
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00416d5c
mov edi, eax
mov eax, dword [0x5304c4]
mov edx, dword [edi + 4]
call fcn.00404958
jne 0x4e4115
mov eax, 0x5304c4
call fcn.0040455c
mov eax, dword [0x5310b0]
test byte [eax], 2
je case.0x4e4221.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x5382f8]
call fcn.004e3f30
test eax, eax
jl case.0x4e4221.0
mov eax, dword [edi + 0xc]
call fcn.004e4c88
test al, al
jne 0x4e4153
mov eax, dword [edi + 4]
call fcn.004e4c88
test al, al
je 0x4e416f
lea edx, [ebp - 0x24]
mov eax, dword [edi + 0xc]
call fcn.00409a28
mov eax, dword [ebp - 0x24]
mov edx, dword [edi + 4]
call fcn.00404958
je case.0x4e4221.0
test ebx, ebx
jne 0x4e4202
mov eax, dword [0x5304c0]
mov edx, dword [edi + 4]
call fcn.00404958
je 0x4e4202
cmp dword [0x5385b8], 9
je 0x4e41a1
cmp dword [0x5385b8], 0
jl 0x4e41f5
cmp dword [0x5385b8], 3
jg 0x4e41f5
cmp dword [0x5385c0], 0
jne 0x4e41b7
mov eax, 0x5385c0
mov edx, dword [edi + 8]
call fcn.004045b0
push 0
push 0
push dword [edi + 4]
push 0x4e460c
push dword [0x5385c0]
push 0x4e4618
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.004d34d4
mov eax, 0x5304c0
mov edx, dword [edi + 4]
call fcn.004045b0
mov eax, 0x5385c0
call fcn.0040455c
inc ebx
mov eax, dword [0x5385b8]
cmp eax, 9
ja case.0x4e4221.0
mov al, byte [eax + 0x4e4228]
jmp dword [eax*4 + 0x4e4232]
mov eax, dword [0x5317e0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52fee4]
jne 0x4e425e
cmp eax, dword [0x52fee0]
jae case.0x4e4221.0
jmp 0x4e4260
jge case.0x4e4221.0
lea edx, [ebp - 0x2c]
mov eax, 0x1d
call fcn.004a8ac0
mov ecx, dword [ebp - 0x2c]
mov dx, word [0x4e461c]
mov al, 1
call fcn.004ab8bc
jmp case.0x4e4221.0
mov edx, 3
mov eax, dword [0x538494]
call fcn.004e4dc4
jmp case.0x4e4221.0
mov eax, dword [edi]
call fcn.004e3e64
cmp dword [0x5385b8], 8
je 0x4e42aa
cmp dword [0x5385b8], 9
jne case.0x4e4221.0
mov eax, dword [edi + 8]
call fcn.0046c408
test al, al
je case.0x4e4221.0
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004d1a64
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e40f0
test ebx, ebx
jne 0x4e42dd
mov eax, 0x5304c0
call fcn.0040455c
mov eax, dword [0x5310b0]
test byte [eax], 1
je 0x4e459d
mov byte [ebp - 0x15], 0
mov eax, dword [0x5382f0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e4583
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 [0x5382f0]
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 [0x5385b8], 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 0x4e43a7
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00416d5c
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 4]
call fcn.00404958
je 0x4e437d
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.00404958
jne 0x4e439f
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53061c]
call fcn.0046a7f4
test eax, eax
jge 0x4e439d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53061c]
call fcn.0046a8a0
mov bl, 1
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e4357
test bl, bl
jne 0x4e4577
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53061c]
call fcn.0046a7f4
test eax, eax
jl 0x4e4577
mov byte [ebp - 0x15], 1
cmp dword [0x52ff54], 0
jne 0x4e43f2
cmp dword [0x52ff50], 0
jne 0x4e43f2
mov eax, dword [0x52fee0]
mov dword [0x52ff50], eax
mov eax, dword [0x52fee4]
mov dword [0x52ff54], eax
mov eax, dword [0x5382f4]
cdq
add eax, dword [0x52ff50]
adc edx, dword [0x52ff54]
cmp edx, dword [0x52fee4]
jne 0x4e441a
cmp eax, dword [0x52fee0]
ja 0x4e4577
jmp 0x4e4420
jg 0x4e4577
mov eax, dword [0x5304c4]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e445a
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.004d34d4
mov eax, 0x5304c4
mov edx, dword [ebp - 0x10]
call fcn.004045b0
mov eax, dword [0x5385b8]
dec eax
je 0x4e446d
dec eax
je 0x4e44b6
dec eax
je 0x4e44ca
jmp 0x4e4577
mov eax, dword [0x5317e0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52fee4]
jne 0x4e448d
cmp eax, dword [0x52fee0]
jae 0x4e4577
jmp 0x4e4493
jge 0x4e4577
lea edx, [ebp - 0x30]
mov eax, 0x1e
call fcn.004a8ac0
mov ecx, dword [ebp - 0x30]
mov dx, word [0x4e461c]
mov al, 1
call fcn.004ab8bc
jmp 0x4e4577
mov edx, 3
mov eax, dword [0x538494]
call fcn.004e4dc4
jmp 0x4e4577
mov eax, dword [ebp - 0x10]
call fcn.00404814
cmp eax, 4
jl 0x4e4509
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4e44e7
cmp bl, 0x5c
jne 0x4e4509
mov eax, dword [ebp - 0x10]
call fcn.0046c408
test al, al
je 0x4e4577
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a0c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e4577
mov eax, dword [0x5310d8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e4577
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov eax, dword [0x5310d8]
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 0x4e456f
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 0x4e4577
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e4525
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e430d
cmp byte [ebp - 0x15], 0
jne 0x4e459d
mov dword [0x52ff50], 0
mov dword [0x52ff54], 0
mov eax, dword [0x5382fc]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e45cb
test esi, esi
jne 0x4e45bd
xor eax, eax
call fcn.004acdc0
mov dword [0x530618], eax
jmp 0x4e45c3
mov dword [0x530618], esi
mov eax, dword [ebp - 4]
call fcn.004e3900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e45fa
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404580
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404580
ret