Function at 0x4e3938
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 0x4e3eb7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x530618], 0
jne 0x4e3980
mov dl, 1
mov eax, dword [0x414aa4]
call fcn.00403720
mov dword [0x530618], eax
xor eax, eax
call fcn.004aeb94
mov esi, eax
test esi, esi
je 0x4e3e61
cmp dword [esi + 8], 0
jle 0x4e3e61
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4e3b93
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 [0x5304c0]
mov edx, dword [edi + 4]
call fcn.00404958
jne 0x4e39d9
mov eax, 0x5304c0
call fcn.0040455c
mov eax, dword [0x5310ac]
test byte [eax], 2
je case.0x4e3ae5.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x5382f0]
call fcn.004e37f4
test eax, eax
jl case.0x4e3ae5.0
mov eax, dword [edi + 0xc]
call fcn.004e454c
test al, al
jne 0x4e3a17
mov eax, dword [edi + 4]
call fcn.004e454c
test al, al
je 0x4e3a33
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.0x4e3ae5.0
test ebx, ebx
jne 0x4e3ac6
mov eax, dword [0x5304bc]
mov edx, dword [edi + 4]
call fcn.00404958
je 0x4e3ac6
cmp dword [0x5385b0], 9
je 0x4e3a65
cmp dword [0x5385b0], 0
jl 0x4e3ab9
cmp dword [0x5385b0], 3
jg 0x4e3ab9
cmp dword [0x5385b8], 0
jne 0x4e3a7b
mov eax, 0x5385b8
mov edx, dword [edi + 8]
call fcn.004045b0
push 0
push 0
push dword [edi + 4]
push 0x4e3ed0
push dword [0x5385b8]
push 0x4e3edc
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.004d3220
mov eax, 0x5304bc
mov edx, dword [edi + 4]
call fcn.004045b0
mov eax, 0x5385b8
call fcn.0040455c
inc ebx
mov eax, dword [0x5385b0]
cmp eax, 9
ja case.0x4e3ae5.0
mov al, byte [eax + 0x4e3aec]
jmp dword [eax*4 + 0x4e3af6]
mov eax, dword [0x5317d0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52fee0]
jne 0x4e3b22
cmp eax, dword [0x52fedc]
jae case.0x4e3ae5.0
jmp 0x4e3b24
jge case.0x4e3ae5.0
lea edx, [ebp - 0x2c]
mov eax, 0x1d
call fcn.004a8b2c
mov ecx, dword [ebp - 0x2c]
mov dx, word [0x4e3ee0]
mov al, 1
call fcn.004ab928
jmp case.0x4e3ae5.0
mov edx, 3
mov eax, dword [0x53848c]
call fcn.004e4688
jmp case.0x4e3ae5.0
mov eax, dword [edi]
call fcn.004e3728
cmp dword [0x5385b0], 8
je 0x4e3b6e
cmp dword [0x5385b0], 9
jne case.0x4e3ae5.0
mov eax, dword [edi + 8]
call fcn.0046c474
test al, al
je case.0x4e3ae5.0
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004d17b0
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e39b4
test ebx, ebx
jne 0x4e3ba1
mov eax, 0x5304bc
call fcn.0040455c
mov eax, dword [0x5310ac]
test byte [eax], 1
je 0x4e3e61
mov byte [ebp - 0x15], 0
mov eax, dword [0x5382e8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e3e47
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 [0x5382e8]
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 [0x5385b0], 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 0x4e3c6b
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 0x4e3c41
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.00404958
jne 0x4e3c63
mov edx, dword [ebp - 0x10]
mov eax, dword [0x530618]
call fcn.0046a860
test eax, eax
jge 0x4e3c61
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x530618]
call fcn.0046a90c
mov bl, 1
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e3c1b
test bl, bl
jne 0x4e3e3b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x530618]
call fcn.0046a860
test eax, eax
jl 0x4e3e3b
mov byte [ebp - 0x15], 1
cmp dword [0x52ff50], 0
jne 0x4e3cb6
cmp dword [0x52ff4c], 0
jne 0x4e3cb6
mov eax, dword [0x52fedc]
mov dword [0x52ff4c], eax
mov eax, dword [0x52fee0]
mov dword [0x52ff50], eax
mov eax, dword [0x5382ec]
cdq
add eax, dword [0x52ff4c]
adc edx, dword [0x52ff50]
cmp edx, dword [0x52fee0]
jne 0x4e3cde
cmp eax, dword [0x52fedc]
ja 0x4e3e3b
jmp 0x4e3ce4
jg 0x4e3e3b
mov eax, dword [0x5304c0]
mov edx, dword [ebp - 0x10]
call fcn.00404958
je 0x4e3d1e
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.004d3220
mov eax, 0x5304c0
mov edx, dword [ebp - 0x10]
call fcn.004045b0
mov eax, dword [0x5385b0]
dec eax
je 0x4e3d31
dec eax
je 0x4e3d7a
dec eax
je 0x4e3d8e
jmp 0x4e3e3b
mov eax, dword [0x5317d0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x52fee0]
jne 0x4e3d51
cmp eax, dword [0x52fedc]
jae 0x4e3e3b
jmp 0x4e3d57
jge 0x4e3e3b
lea edx, [ebp - 0x30]
mov eax, 0x1e
call fcn.004a8b2c
mov ecx, dword [ebp - 0x30]
mov dx, word [0x4e3ee0]
mov al, 1
call fcn.004ab928
jmp 0x4e3e3b
mov edx, 3
mov eax, dword [0x53848c]
call fcn.004e4688
jmp 0x4e3e3b
mov eax, dword [ebp - 0x10]
call fcn.00404814
cmp eax, 4
jl 0x4e3dcd
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4e3dab
cmp bl, 0x5c
jne 0x4e3dcd
mov eax, dword [ebp - 0x10]
call fcn.0046c474
test al, al
je 0x4e3e3b
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a0c
push eax
call sub.kernel32.dll_WinExec
jmp 0x4e3e3b
mov eax, dword [0x5310d4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4e3e3b
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov eax, dword [0x5310d4]
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 0x4e3e33
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 0x4e3e3b
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x4e3de9
inc dword [ebp - 8]
dec dword [ebp - 0x1c]
jne 0x4e3bd1
cmp byte [ebp - 0x15], 0
jne 0x4e3e61
mov dword [0x52ff4c], 0
mov dword [0x52ff50], 0
mov eax, dword [0x5382f4]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4e3e8f
test esi, esi
jne 0x4e3e81
xor eax, eax
call fcn.004aeb94
mov dword [0x530614], eax
jmp 0x4e3e87
mov dword [0x530614], esi
mov eax, dword [ebp - 4]
call fcn.004e31c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3ebe
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404580
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404580
ret