Function at 0x4f89ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f8c30
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push 0x3e8
call sub.user32.dll_UnpackDDElParam
test eax, eax
je 0x4f8c0b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
lea eax, [ebp - 0x12]
xor ecx, ecx
mov edx, 2
call fcn.00403b78
test ebx, ebx
je 0x4f8c0b
cmp byte [0x538da0], 0
je 0x4f8a7c
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004054f8
mov edx, dword [ebp - 8]
mov eax, 0x4f8c48
call fcn.004058dc
dec eax
jne 0x4f8a67
lea eax, [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.00405838
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4f8c48
call fcn.004058dc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004057f8
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f9dfc
mov word [ebp - 0x12], 1
jmp 0x4f8bd1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.004054f8
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.004f8708
dec eax
je 0x4f8aaa
dec eax
je 0x4f8adf
dec eax
je 0x4f8b5e
jmp 0x4f8bd1
cmp dword [ebp - 4], 0
je 0x4f8abc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004f9dfc
jmp 0x4f8acc
cmp dword [ebp - 0x1c], 0
je 0x4f8acc
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004f9edc
mov eax, dword [ebp - 0x1c]
call fcn.004f60e4
mov word [ebp - 0x12], 1
jmp 0x4f8bd1
mov byte [0x538da1], 1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403b78
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp - 4], 0
je 0x4f8b16
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 4]
call fcn.00405790
mov dword [ebp - 0x48], eax
jmp 0x4f8b23
mov dword [ebp - 0x54], 5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, 0x4f8c4c
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, 0x4f8c54
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x538da1], 0
mov eax, dword [ebp - 0x1c]
call fcn.004f60e4
mov word [ebp - 0x12], 1
jmp 0x4f8bd1
mov byte [0x538da1], 1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403b78
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp - 4], 0
je 0x4f8b93
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
call fcn.00405790
mov dword [ebp - 0x48], eax
jmp 0x4f8ba0
mov dword [ebp - 0x54], 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, 0x4f8c5c
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x538da1], 0
mov eax, dword [ebp - 0x1c]
call fcn.004f60e4
mov word [ebp - 0x12], 1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
lea ebx, [ebp - 0x12]
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebx]
push eax
push 0x3e4
push 0x3e8
push edi
call sub.user32.dll_ReuseDDElParam
push eax
mov eax, esi
call fcn.0045a4c4
push eax
push 0x3e4
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_PostMessageA
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8c37
lea eax, [ebp - 0x5c]
call fcn.00405300
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405324
ret