Function at 0x4f2ac4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4f2acc
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f3191
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp dword [0x53fc4c], 0
jne 0x4f2b04
mov dl, 1
mov eax, dword [0x414bcc]
call fcn.0040377c
mov dword [0x53fc4c], eax
mov eax, dword [0x540854]
cmp byte [eax], 0x30
jne 0x4f313b
xor eax, eax
call fcn.004b44b4
mov esi, eax
test esi, esi
je 0x4f313b
cmp dword [esi + 8], 0
jle 0x4f313b
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4f2e2a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00416e84
mov edi, eax
mov eax, dword [0x53f9a4]
mov edx, dword [edi + 4]
call fcn.004049d0
jne 0x4f2b6b
mov eax, 0x53f9a4
call fcn.004045b8
mov eax, dword [0x540400]
test byte [eax], 2
je case.0x4f2c77.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x549614]
call fcn.004f28d4
test eax, eax
jl case.0x4f2c77.0
mov eax, dword [edi + 0xc]
call fcn.004f4958
test al, al
jne 0x4f2ba9
mov eax, dword [edi + 4]
call fcn.004f4958
test al, al
je 0x4f2bc5
lea edx, [ebp - 0x2c]
mov eax, dword [edi + 0xc]
call fcn.00409b0c
mov eax, dword [ebp - 0x2c]
mov edx, dword [edi + 4]
call fcn.004049d0
je case.0x4f2c77.0
test ebx, ebx
jne 0x4f2c58
mov eax, dword [0x53f9a0]
mov edx, dword [edi + 4]
call fcn.004049d0
je 0x4f2c58
cmp dword [0x549988], 9
je 0x4f2bf7
cmp dword [0x549988], 0
jl 0x4f2c4b
cmp dword [0x549988], 3
jg 0x4f2c4b
cmp dword [0x549990], 0
jne 0x4f2c0d
mov eax, 0x549990
mov edx, dword [edi + 8]
call fcn.0040460c
push 0
push 0
push dword [edi + 4]
push 0x4f31a8
push dword [0x549990]
push 0x4f31b4
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.0040494c
mov eax, dword [ebp - 0x30]
push eax
push 0
push 0
mov ecx, 2
mov edx, 0x91
mov eax, dword [ebp - 4]
call fcn.004dd98c
mov eax, 0x53f9a0
mov edx, dword [edi + 4]
call fcn.0040460c
mov eax, 0x549990
call fcn.004045b8
inc ebx
mov eax, dword [0x549988]
cmp eax, 9
ja case.0x4f2c77.0
mov al, byte [eax + 0x4f2c7e]
jmp dword [eax*4 + 0x4f2c88]
mov eax, dword [0x540c48]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x53f33c]
jne 0x4f2cb8
cmp eax, dword [0x53f338]
jae case.0x4f2c77.0
jmp 0x4f2cbe
jge case.0x4f2c77.0
lea edx, [ebp - 0x34]
mov eax, 0x1d
call fcn.004ac138
mov ecx, dword [ebp - 0x34]
mov dx, word [0x4f31b8]
mov al, 1
call fcn.004af020
jmp case.0x4f2c77.0
mov edx, 5
mov eax, dword [0x54981c]
call fcn.004f501c
jmp case.0x4f2c77.0
mov eax, dword [edi]
call fcn.004f2808
cmp dword [0x549988], 8
je 0x4f2d12
cmp dword [0x549988], 9
jne 0x4f2dd5
mov eax, dword [edi + 8]
call fcn.0046dd44
test al, al
je 0x4f2dd5
mov eax, dword [edi + 8]
cmp byte [eax + 1], 0x3a
jne 0x4f2d6d
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.0046b940
test al, al
je 0x4f2d6d
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.00402b3c
call fcn.004b0a30
test eax, eax
jne 0x4f2d6d
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.00402b3c
lea edx, [ebp - 0x38]
call fcn.004b0c2c
mov edx, dword [ebp - 0x38]
mov eax, 0x53fb68
call fcn.0040460c
jmp 0x4f2d77
mov eax, 0x53fb68
call fcn.004045b8
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004da8ac
cmp dword [0x53fb68], 0
je 0x4f2dd5
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x400
mov edx, 3
mov eax, dword [edi + 8]
call fcn.00404ae4
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, dword [0x53fb68]
call fcn.004048d8
mov eax, dword [ebp - 0x3c]
mov edx, 0x64
call fcn.004da8ac
mov eax, 0x53fb68
call fcn.004045b8
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.004b0db0
cmp dword [0x53f41c], 0
je case.0x4f2c77.0
push 0
lea edx, [ebp - 0x44]
mov eax, 0xec
call fcn.004ab8a8
mov eax, dword [ebp - 0x44]
call fcn.00404a84
push eax
lea edx, [ebp - 0x48]
mov eax, 0x24
call fcn.004ac138
lea eax, [ebp - 0x48]
mov edx, dword [edi + 4]
call fcn.00404894
mov eax, dword [ebp - 0x48]
call fcn.00404a84
push eax
push 0
call sub.user32.dll_MessageBoxA_1
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4f2b46
test ebx, ebx
jne 0x4f2e38
mov eax, 0x53f9a0
call fcn.004045b8
mov eax, dword [0x54979c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
call sub.kernel32.dll_GetCurrentProcessId
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
add dword [ebp - 0x1c], 4
inc dword [ebp - 0x18]
mov eax, dword [0x540400]
test byte [eax], 1
je 0x4f3124
mov byte [ebp - 0x1d], 0
mov eax, dword [0x54960c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f310a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [0x54960c]
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 [0x549988], eax
lea eax, [ebp - 0x10]
mov ecx, 3
mov edx, 1
call fcn.00404b24
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4f2f2e
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00416e84
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 4]
call fcn.004049d0
je 0x4f2ef6
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.004049d0
jne 0x4f2f26
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53fc4c]
call fcn.0046bbb0
test eax, eax
jge 0x4f2f16
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53fc4c]
call fcn.0046bc5c
mov eax, dword [ebp - 0x1c]
mov edx, dword [edi]
mov dword [eax], edx
add dword [ebp - 0x1c], 4
inc dword [ebp - 0x18]
mov bl, 1
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4f2ed0
test bl, bl
jne 0x4f30fe
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53fc4c]
call fcn.0046bbb0
test eax, eax
jl 0x4f30fe
mov byte [ebp - 0x1d], 1
cmp dword [0x53f410], 0
jne 0x4f2f79
cmp dword [0x53f40c], 0
jne 0x4f2f79
mov eax, dword [0x53f338]
mov dword [0x53f40c], eax
mov eax, dword [0x53f33c]
mov dword [0x53f410], eax
mov eax, dword [0x549610]
cdq
add eax, dword [0x53f40c]
adc edx, dword [0x53f410]
cmp edx, dword [0x53f33c]
jne 0x4f2fa1
cmp eax, dword [0x53f338]
ja 0x4f30fe
jmp 0x4f2fa7
jg 0x4f30fe
mov eax, dword [0x53f9a4]
mov edx, dword [ebp - 0x10]
call fcn.004049d0
je 0x4f2fe1
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.004dd98c
mov eax, 0x53f9a4
mov edx, dword [ebp - 0x10]
call fcn.0040460c
mov eax, dword [0x549988]
dec eax
je 0x4f2ff4
dec eax
je 0x4f303d
dec eax
je 0x4f3051
jmp 0x4f30fe
mov eax, dword [0x540c48]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x53f33c]
jne 0x4f3014
cmp eax, dword [0x53f338]
jae 0x4f30fe
jmp 0x4f301a
jge 0x4f30fe
lea edx, [ebp - 0x4c]
mov eax, 0x1e
call fcn.004ac138
mov ecx, dword [ebp - 0x4c]
mov dx, word [0x4f31b8]
mov al, 1
call fcn.004af020
jmp 0x4f30fe
mov edx, 5
mov eax, dword [0x54981c]
call fcn.004f501c
jmp 0x4f30fe
mov eax, dword [ebp - 0x10]
call fcn.0040488c
cmp eax, 4
jl 0x4f3090
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4f306e
cmp bl, 0x5c
jne 0x4f3090
mov eax, dword [ebp - 0x10]
call fcn.0046dd44
test al, al
je 0x4f30fe
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a84
push eax
call sub.kernel32.dll_WinExec
jmp 0x4f30fe
mov eax, dword [0x540428]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f30fe
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov eax, dword [0x540428]
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.00404bc8
dec eax
jne 0x4f30f6
mov eax, dword [ebp - 0x10]
call fcn.0040488c
mov ecx, eax
inc ecx
lea eax, [ebp - 0x14]
mov edx, 1
call fcn.00404b24
push 1
mov eax, dword [ebp - 0x14]
call fcn.00404a84
push eax
call sub.kernel32.dll_WinExec
jmp 0x4f30fe
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4f30ac
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4f2e86
cmp byte [ebp - 0x1d], 0
jne 0x4f3124
mov dword [0x53f40c], 0
mov dword [0x53f410], 0
mov eax, dword [0x5409c4]
cmp dword [eax], 0
je 0x4f313b
mov edx, dword [ebp - 0x18]
mov eax, dword [0x54979c]
call fcn.004f31bc
mov eax, dword [0x549618]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4f3169
test esi, esi
jne 0x4f315b
xor eax, eax
call fcn.004b44b4
mov dword [0x53fc3c], eax
jmp 0x4f3161
mov dword [0x53fc3c], esi
mov eax, dword [ebp - 4]
call fcn.004f2340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3198
lea eax, [ebp - 0x4c]
mov edx, 9
call fcn.004045dc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045dc
ret