Function at 0x4f2c5c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4f2c64
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f3329
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp dword [0x53fc4c], 0
jne 0x4f2c9c
mov dl, 1
mov eax, dword [0x414bcc]
call fcn.0040377c
mov dword [0x53fc4c], eax
mov eax, dword [0x540854]
cmp byte [eax], 0x30
jne 0x4f32d3
xor eax, eax
call fcn.004b44f4
mov esi, eax
test esi, esi
je 0x4f32d3
cmp dword [esi + 8], 0
jle 0x4f32d3
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4f2fc2
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 0x4f2d03
mov eax, 0x53f9a4
call fcn.004045b8
mov eax, dword [0x540400]
test byte [eax], 2
je case.0x4f2e0f.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x549614]
call fcn.004f2a6c
test eax, eax
jl case.0x4f2e0f.0
mov eax, dword [edi + 0xc]
call fcn.004f4af0
test al, al
jne 0x4f2d41
mov eax, dword [edi + 4]
call fcn.004f4af0
test al, al
je 0x4f2d5d
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.0x4f2e0f.0
test ebx, ebx
jne 0x4f2df0
mov eax, dword [0x53f9a0]
mov edx, dword [edi + 4]
call fcn.004049d0
je 0x4f2df0
cmp dword [0x54998c], 9
je 0x4f2d8f
cmp dword [0x54998c], 0
jl 0x4f2de3
cmp dword [0x54998c], 3
jg 0x4f2de3
cmp dword [0x549994], 0
jne 0x4f2da5
mov eax, 0x549994
mov edx, dword [edi + 8]
call fcn.0040460c
push 0
push 0
push dword [edi + 4]
push 0x4f3340
push dword [0x549994]
push 0x4f334c
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.004dd994
mov eax, 0x53f9a0
mov edx, dword [edi + 4]
call fcn.0040460c
mov eax, 0x549994
call fcn.004045b8
inc ebx
mov eax, dword [0x54998c]
cmp eax, 9
ja case.0x4f2e0f.0
mov al, byte [eax + 0x4f2e16]
jmp dword [eax*4 + 0x4f2e20]
mov eax, dword [0x540c48]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x53f33c]
jne 0x4f2e50
cmp eax, dword [0x53f338]
jae case.0x4f2e0f.0
jmp 0x4f2e56
jge case.0x4f2e0f.0
lea edx, [ebp - 0x34]
mov eax, 0x1d
call fcn.004ac178
mov ecx, dword [ebp - 0x34]
mov dx, word [0x4f3350]
mov al, 1
call fcn.004af060
jmp case.0x4f2e0f.0
mov edx, 5
mov eax, dword [0x54981c]
call fcn.004f51b4
jmp case.0x4f2e0f.0
mov eax, dword [edi]
call fcn.004f29a0
cmp dword [0x54998c], 8
je 0x4f2eaa
cmp dword [0x54998c], 9
jne 0x4f2f6d
mov eax, dword [edi + 8]
call fcn.0046dd44
test al, al
je 0x4f2f6d
mov eax, dword [edi + 8]
cmp byte [eax + 1], 0x3a
jne 0x4f2f05
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.0046b940
test al, al
je 0x4f2f05
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.00402b3c
call fcn.004b0a70
test eax, eax
jne 0x4f2f05
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.00402b3c
lea edx, [ebp - 0x38]
call fcn.004b0c6c
mov edx, dword [ebp - 0x38]
mov eax, 0x53fb68
call fcn.0040460c
jmp 0x4f2f0f
mov eax, 0x53fb68
call fcn.004045b8
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004da8fc
cmp dword [0x53fb68], 0
je 0x4f2f6d
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.004da8fc
mov eax, 0x53fb68
call fcn.004045b8
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.004b0df0
cmp dword [0x53f41c], 0
je case.0x4f2e0f.0
push 0
lea edx, [ebp - 0x44]
mov eax, 0xec
call fcn.004ab8e8
mov eax, dword [ebp - 0x44]
call fcn.00404a84
push eax
lea edx, [ebp - 0x48]
mov eax, 0x24
call fcn.004ac178
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 0x4f2cde
test ebx, ebx
jne 0x4f2fd0
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 0x4f32bc
mov byte [ebp - 0x1d], 0
mov eax, dword [0x54960c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f32a2
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 [0x54998c], 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 0x4f30c6
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 0x4f308e
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.004049d0
jne 0x4f30be
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53fc4c]
call fcn.0046bbb0
test eax, eax
jge 0x4f30ae
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 0x4f3068
test bl, bl
jne 0x4f3296
mov edx, dword [ebp - 0x10]
mov eax, dword [0x53fc4c]
call fcn.0046bbb0
test eax, eax
jl 0x4f3296
mov byte [ebp - 0x1d], 1
cmp dword [0x53f410], 0
jne 0x4f3111
cmp dword [0x53f40c], 0
jne 0x4f3111
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 0x4f3139
cmp eax, dword [0x53f338]
ja 0x4f3296
jmp 0x4f313f
jg 0x4f3296
mov eax, dword [0x53f9a4]
mov edx, dword [ebp - 0x10]
call fcn.004049d0
je 0x4f3179
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.004dd994
mov eax, 0x53f9a4
mov edx, dword [ebp - 0x10]
call fcn.0040460c
mov eax, dword [0x54998c]
dec eax
je 0x4f318c
dec eax
je 0x4f31d5
dec eax
je 0x4f31e9
jmp 0x4f3296
mov eax, dword [0x540c48]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x53f33c]
jne 0x4f31ac
cmp eax, dword [0x53f338]
jae 0x4f3296
jmp 0x4f31b2
jge 0x4f3296
lea edx, [ebp - 0x4c]
mov eax, 0x1e
call fcn.004ac178
mov ecx, dword [ebp - 0x4c]
mov dx, word [0x4f3350]
mov al, 1
call fcn.004af060
jmp 0x4f3296
mov edx, 5
mov eax, dword [0x54981c]
call fcn.004f51b4
jmp 0x4f3296
mov eax, dword [ebp - 0x10]
call fcn.0040488c
cmp eax, 4
jl 0x4f3228
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4f3206
cmp bl, 0x5c
jne 0x4f3228
mov eax, dword [ebp - 0x10]
call fcn.0046dd44
test al, al
je 0x4f3296
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a84
push eax
call sub.kernel32.dll_WinExec
jmp 0x4f3296
mov eax, dword [0x540428]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f3296
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 0x4f328e
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 0x4f3296
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4f3244
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4f301e
cmp byte [ebp - 0x1d], 0
jne 0x4f32bc
mov dword [0x53f40c], 0
mov dword [0x53f410], 0
mov eax, dword [0x5409c4]
cmp dword [eax], 0
je 0x4f32d3
mov edx, dword [ebp - 0x18]
mov eax, dword [0x54979c]
call fcn.004f3354
mov eax, dword [0x549618]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4f3301
test esi, esi
jne 0x4f32f3
xor eax, eax
call fcn.004b44f4
mov dword [0x53fc3c], eax
jmp 0x4f32f9
mov dword [0x53fc3c], esi
mov eax, dword [ebp - 4]
call fcn.004f24d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3330
lea eax, [ebp - 0x4c]
mov edx, 9
call fcn.004045dc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045dc
ret