Function at 0x40fe90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
mov eax, 0x4cefc4
push ebx
push esi
push edi
lea esi, [ebp - 0x48]
mov ebx, dword [ebp + 8]
call fcn.00490d08
mov word [esi + 0x10], 0x14
mov edx, 0x4ceee8
lea eax, [ebp - 4]
call fcn.0049c954
inc dword [esi + 0x1c]
mov word [esi + 0x10], 8
test ebx, ebx
jne 0x40feea
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0049ca98
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x41013c
cmp byte [ebx], 0
jne 0x40ff0d
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0049ca98
mov ecx, dword [esi]
mov dword fs:[0], ecx
jmp 0x41013c
xor edi, edi
push esi
push edi
mov esi, 0x4cee94
lea edi, [ebp - 0x8c]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x4ceed8
lea edi, [ebp - 0x9c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebp + 0x10], 0
je 0x40ff47
mov word [ebp - 0x5c], 0
mov dword [ebp - 0x8c], 0x44
lea eax, [ebp - 0x9c]
lea edx, [ebp - 0x8c]
push eax
push edx
push 0
push 0
cmp byte [ebp + 0x10], 0
je 0x40ff70
mov ecx, 0x8000000
jmp 0x40ff72
xor ecx, ecx
push ecx
push 0
push 0
push 0
push ebx
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x410023
mov word [esi + 0x10], 0x20
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0049c954
inc dword [esi + 0x1c]
mov edx, eax
xor eax, eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, str.DW_8__Linha_de_comando_a_ser_executada:
inc dword [esi + 0x1c]
call fcn.0049cd70
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0049ca98
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0049ca98
cmp dword [ebp - 4], 0
je 0x40ffe9
mov ecx, dword [ebp - 4]
jmp 0x40ffee
mov ecx, 0x4ceee8
push ecx
call fcn.004289e8
cmp byte [ebp + 0xc], 0
pop ecx
je 0x410018
mov eax, dword [ebp - 0x94]
push eax
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov edi, eax
push 0xffffffffffffffff
push edi
call sub.KERNEL32.DLL_WaitForSingleObject
push edi
call sub.KERNEL32.DLL_CloseHandle
jmp 0x410124
mov word [esi + 0x10], 0x2c
call sub.KERNEL32.DLL_GetLastError
xor edx, edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
inc dword [esi + 0x1c]
call fcn.00402a8c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0049c954
inc dword [esi + 0x1c]
mov edx, eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, str.DW_9__Execucao_com_problemas:
inc dword [esi + 0x1c]
call fcn.0049cd70
lea edx, [ebp - 0x14]
push edx
mov edx, str._erro:
lea eax, [ebp - 0x18]
call fcn.0049c954
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x18]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x1c]
pop eax
call fcn.0049caf0
lea eax, [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x24]
inc dword [esi + 0x1c]
pop edx
call fcn.0049caf0
lea edx, [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.0049cac8
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0049ca98
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0049ca98
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0049ca98
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0049ca98
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0049ca98
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0049ca98
cmp dword [ebp - 4], 0
je 0x410118
mov ecx, dword [ebp - 4]
jmp 0x41011d
mov ecx, 0x4ceee8
push ecx
call fcn.004289e8
pop ecx
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0049ca98
mov eax, dword [esi]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret