Function at 0x4088c1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
push ebx
push esi
push edi
lea edi, [ebp - 0x3f8]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408b5e
imul edx, dword [ebp - 4], 0x12c
add edx, dword [0x424310]
push edx
call fcn.0040eda8
mov ebx, eax
push 0x20
push ebx
call fcn.0041aae0
add esp, 8
mov esi, eax
test esi, esi
jne 0x408915
push ebx
lea eax, [ebp - 0x204]
push eax
call fcn.0041ab34
add esp, 8
jmp 0x408936
mov edx, esi
sub edx, ebx
push edx
push ebx
lea ecx, [ebp - 0x204]
push ecx
call fcn.0041ac40
add esp, 0xc
mov eax, esi
sub eax, ebx
mov byte [ebp + eax - 0x204], 0
lea edx, [ebp - 0x204]
push edx
call fcn.00420378
pop ecx
push 0x2e
lea ecx, [ebp - 0x204]
push ecx
call fcn.0041aae0
add esp, 8
test eax, eax
jne 0x40896c
push 0x4256df
lea eax, [ebp - 0x204]
push eax
call fcn.0041aaa4
add esp, 8
push 0x42e88c
push edi
call fcn.0041ab34
add esp, 8
push edi
call fcn.0041ab64
pop ecx
movsx edx, byte [edi + eax - 1]
cmp edx, 0x5c
je 0x408999
push 0x4256e4
push edi
call fcn.0041aaa4
add esp, 8
lea ecx, [ebp - 0x204]
push ecx
push edi
call fcn.0041aaa4
add esp, 8
push 0
push edi
call fcn.0041d4dc
add esp, 8
test eax, eax
jne 0x4089c5
push 0x42e88c
call fcn.0041f2ec
pop ecx
jmp 0x408a20
push 0x42e788
push edi
call fcn.0041ab34
add esp, 8
push edi
call fcn.0041ab64
pop ecx
movsx eax, byte [edi + eax - 1]
cmp eax, 0x5c
je 0x4089f2
push 0x4256e6
push edi
call fcn.0041aaa4
add esp, 8
lea edx, [ebp - 0x204]
push edx
push edi
call fcn.0041aaa4
add esp, 8
push 0
push edi
call fcn.0041d4dc
add esp, 8
test eax, eax
jne 0x408b5b
push 0x42e788
call fcn.0041f2ec
pop ecx
push 0x4256e8
push edi
call fcn.0041ad48
add esp, 8
test eax, eax
je 0x408b5b
push 0x4256ed
push edi
call fcn.0041da58
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x408b5b
push ebx
push 1
push 3
lea eax, [ebp - 0x10]
push eax
call fcn.0041dcf0
add esp, 0x10
push ebx
call fcn.0041d59c
pop ecx
push 0x44
push 0
lea edx, [ebp - 0x43c]
push edx
call fcn.0041aa74
add esp, 0xc
mov dword [ebp - 0x43c], 0x44
mov dword [ebp - 0x410], 1
test esi, esi
je 0x408a9b
push esi
push edi
call fcn.0041aaa4
add esp, 8
push 0x4256f0
push edi
call fcn.0041ad48
add esp, 8
test eax, eax
je 0x408ab8
mov word [ebp - 0x40c], 1
jmp 0x408b12
push 0x4256f9
push edi
call fcn.0041ad48
add esp, 8
test eax, eax
jne 0x408adc
push 0x425701
push edi
call fcn.0041ad48
add esp, 8
test eax, eax
je 0x408ae7
mov word [ebp - 0x40c], 1
jmp 0x408b12
push 3
push 0x425708
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041ab80
add esp, 0xc
test eax, eax
jne 0x408b09
mov word [ebp - 0x40c], 1
jmp 0x408b12
mov word [ebp - 0x40c], 0
lea eax, [ebp - 0x44c]
push eax
lea edx, [ebp - 0x43c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x408b5b
push 0xffffffffffffffff
push dword [ebp - 0x44c]
call sub.KERNEL32.DLL_WaitForSingleObject
push dword [ebp - 0x44c]
call sub.KERNEL32.DLL_CloseHandle
push dword [ebp - 0x448]
call sub.KERNEL32.DLL_CloseHandle
inc dword [ebp - 4]
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x42430c]
jl 0x4088dd
mov eax, dword [0x42e784]
push dword [eax + 0x30]
call sub.USER32.dll_SetFocus
mov edx, dword [0x42e784]
push dword [edx + 0x30]
call sub.USER32.dll_BringWindowToTop
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret