Function at 0x4f3394
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x4f339c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f3a61
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
cmp dword [0x540c4c], 0
jne 0x4f33d4
mov dl, 1
mov eax, dword [0x414c40]
call fcn.0040377c
mov dword [0x540c4c], eax
mov eax, dword [0x541854]
cmp byte [eax], 0x30
jne 0x4f3a0b
xor eax, eax
call fcn.004b458c
mov esi, eax
test esi, esi
je 0x4f3a0b
cmp dword [esi + 8], 0
jle 0x4f3a0b
xor ebx, ebx
mov eax, dword [esi + 8]
dec eax
test eax, eax
jl 0x4f36fa
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00416ef8
mov edi, eax
mov eax, dword [0x5409a4]
mov edx, dword [edi + 4]
call fcn.004049d0
jne 0x4f343b
mov eax, 0x5409a4
call fcn.004045b8
mov eax, dword [0x541400]
test byte [eax], 2
je case.0x4f3547.0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [0x54a614]
call fcn.004f31a4
test eax, eax
jl case.0x4f3547.0
mov eax, dword [edi + 0xc]
call fcn.004f5228
test al, al
jne 0x4f3479
mov eax, dword [edi + 4]
call fcn.004f5228
test al, al
je 0x4f3495
lea edx, [ebp - 0x2c]
mov eax, dword [edi + 0xc]
call fcn.00409b80
mov eax, dword [ebp - 0x2c]
mov edx, dword [edi + 4]
call fcn.004049d0
je case.0x4f3547.0
test ebx, ebx
jne 0x4f3528
mov eax, dword [0x5409a0]
mov edx, dword [edi + 4]
call fcn.004049d0
je 0x4f3528
cmp dword [0x54a98c], 9
je 0x4f34c7
cmp dword [0x54a98c], 0
jl 0x4f351b
cmp dword [0x54a98c], 3
jg 0x4f351b
cmp dword [0x54a994], 0
jne 0x4f34dd
mov eax, 0x54a994
mov edx, dword [edi + 8]
call fcn.0040460c
push 0
push 0
push dword [edi + 4]
push 0x4f3a78
push dword [0x54a994]
push 0x4f3a84
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.004ddaec
mov eax, 0x5409a0
mov edx, dword [edi + 4]
call fcn.0040460c
mov eax, 0x54a994
call fcn.004045b8
inc ebx
mov eax, dword [0x54a98c]
cmp eax, 9
ja case.0x4f3547.0
mov al, byte [eax + 0x4f354e]
jmp dword [eax*4 + 0x4f3558]
mov eax, dword [0x541c48]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x54033c]
jne 0x4f3588
cmp eax, dword [0x540338]
jae case.0x4f3547.0
jmp 0x4f358e
jge case.0x4f3547.0
lea edx, [ebp - 0x34]
mov eax, 0x1d
call fcn.004ac210
mov ecx, dword [ebp - 0x34]
mov dx, word [0x4f3a88]
mov al, 1
call fcn.004af0f8
jmp case.0x4f3547.0
mov edx, 5
mov eax, dword [0x54a81c]
call fcn.004f58ec
jmp case.0x4f3547.0
mov eax, dword [edi]
call fcn.004f30d8
cmp dword [0x54a98c], 8
je 0x4f35e2
cmp dword [0x54a98c], 9
jne 0x4f36a5
mov eax, dword [edi + 8]
call fcn.0046dddc
test al, al
je 0x4f36a5
mov eax, dword [edi + 8]
cmp byte [eax + 1], 0x3a
jne 0x4f363d
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.0046b9d8
test al, al
je 0x4f363d
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.00402b3c
call fcn.004b0b08
test eax, eax
jne 0x4f363d
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.00402b3c
lea edx, [ebp - 0x38]
call fcn.004b0d04
mov edx, dword [ebp - 0x38]
mov eax, 0x540b68
call fcn.0040460c
jmp 0x4f3647
mov eax, 0x540b68
call fcn.004045b8
mov edx, 0x64
mov eax, dword [edi + 8]
call fcn.004daa54
cmp dword [0x540b68], 0
je 0x4f36a5
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 [0x540b68]
call fcn.004048d8
mov eax, dword [ebp - 0x3c]
mov edx, 0x64
call fcn.004daa54
mov eax, 0x540b68
call fcn.004045b8
mov eax, dword [edi + 8]
mov al, byte [eax]
call fcn.004b0e88
cmp dword [0x54041c], 0
je case.0x4f3547.0
push 0
lea edx, [ebp - 0x44]
mov eax, 0xec
call fcn.004ab980
mov eax, dword [ebp - 0x44]
call fcn.00404a84
push eax
lea edx, [ebp - 0x48]
mov eax, 0x24
call fcn.004ac210
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 0x4f3416
test ebx, ebx
jne 0x4f3708
mov eax, 0x5409a0
call fcn.004045b8
mov eax, dword [0x54a79c]
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 [0x541400]
test byte [eax], 1
je 0x4f39f4
mov byte [ebp - 0x1d], 0
mov eax, dword [0x54a60c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f39da
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 [0x54a60c]
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 [0x54a98c], 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 0x4f37fe
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00416ef8
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 4]
call fcn.004049d0
je 0x4f37c6
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0xc]
call fcn.004049d0
jne 0x4f37f6
mov edx, dword [ebp - 0x10]
mov eax, dword [0x540c4c]
call fcn.0046bc48
test eax, eax
jge 0x4f37e6
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [0x540c4c]
call fcn.0046bcf4
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 0x4f37a0
test bl, bl
jne 0x4f39ce
mov edx, dword [ebp - 0x10]
mov eax, dword [0x540c4c]
call fcn.0046bc48
test eax, eax
jl 0x4f39ce
mov byte [ebp - 0x1d], 1
cmp dword [0x540410], 0
jne 0x4f3849
cmp dword [0x54040c], 0
jne 0x4f3849
mov eax, dword [0x540338]
mov dword [0x54040c], eax
mov eax, dword [0x54033c]
mov dword [0x540410], eax
mov eax, dword [0x54a610]
cdq
add eax, dword [0x54040c]
adc edx, dword [0x540410]
cmp edx, dword [0x54033c]
jne 0x4f3871
cmp eax, dword [0x540338]
ja 0x4f39ce
jmp 0x4f3877
jg 0x4f39ce
mov eax, dword [0x5409a4]
mov edx, dword [ebp - 0x10]
call fcn.004049d0
je 0x4f38b1
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.004ddaec
mov eax, 0x5409a4
mov edx, dword [ebp - 0x10]
call fcn.0040460c
mov eax, dword [0x54a98c]
dec eax
je 0x4f38c4
dec eax
je 0x4f390d
dec eax
je 0x4f3921
jmp 0x4f39ce
mov eax, dword [0x541c48]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [0x54033c]
jne 0x4f38e4
cmp eax, dword [0x540338]
jae 0x4f39ce
jmp 0x4f38ea
jge 0x4f39ce
lea edx, [ebp - 0x4c]
mov eax, 0x1e
call fcn.004ac210
mov ecx, dword [ebp - 0x4c]
mov dx, word [0x4f3a88]
mov al, 1
call fcn.004af0f8
jmp 0x4f39ce
mov edx, 5
mov eax, dword [0x54a81c]
call fcn.004f58ec
jmp 0x4f39ce
mov eax, dword [ebp - 0x10]
call fcn.0040488c
cmp eax, 4
jl 0x4f3960
mov eax, dword [ebp - 0x10]
mov bl, byte [eax + 1]
cmp bl, 0x3a
je 0x4f393e
cmp bl, 0x5c
jne 0x4f3960
mov eax, dword [ebp - 0x10]
call fcn.0046dddc
test al, al
je 0x4f39ce
push 1
mov eax, dword [ebp - 0x10]
call fcn.00404a84
push eax
call sub.kernel32.dll_WinExec
jmp 0x4f39ce
mov eax, dword [0x541428]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4f39ce
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x14]
mov eax, dword [0x541428]
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 0x4f39c6
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 0x4f39ce
inc dword [ebp - 0xc]
dec dword [ebp - 0x28]
jne 0x4f397c
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x4f3756
cmp byte [ebp - 0x1d], 0
jne 0x4f39f4
mov dword [0x54040c], 0
mov dword [0x540410], 0
mov eax, dword [0x5419c4]
cmp dword [eax], 0
je 0x4f3a0b
mov edx, dword [ebp - 0x18]
mov eax, dword [0x54a79c]
call fcn.004f3a8c
mov eax, dword [0x54a618]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x4f3a39
test esi, esi
jne 0x4f3a2b
xor eax, eax
call fcn.004b458c
mov dword [0x540c3c], eax
jmp 0x4f3a31
mov dword [0x540c3c], esi
mov eax, dword [ebp - 4]
call fcn.004f2c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3a68
lea eax, [ebp - 0x4c]
mov edx, 9
call fcn.004045dc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045dc
ret