Function at 0x49f12c
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 - 8], ebx
mov dword [ebp - 0x1c], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49f3b6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push 0x3e8
call sub.user32.dll_UnpackDDElParam
test eax, eax
je 0x49f38e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
lea eax, [ebp - 0xe]
mov edx, 2
call fcn.00407a74
test ebx, ebx
je 0x49f38e
cmp byte [0x4ad1c8], 0
je 0x49f203
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404a78
mov edx, dword [ebp - 0x1c]
mov eax, 0x49f3d0
call fcn.00404e84
dec eax
jne 0x49f1ee
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.00404de0
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x49f3d0
call fcn.00404e84
mov ecx, eax
sub ecx, 1
jno 0x49f1e1
call fcn.00403a60
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.00404da0
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.004a0638
mov word [ebp - 0xe], 1
jmp 0x49f354
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.00404a78
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 8]
call fcn.0049ee4c
dec eax
je 0x49f231
dec eax
je 0x49f266
dec eax
je 0x49f2e3
jmp 0x49f354
cmp dword [ebp - 8], 0
je 0x49f243
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004a0638
jmp 0x49f253
cmp dword [ebp - 0x18], 0
je 0x49f253
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.004a07e8
mov eax, dword [ebp - 0x18]
call fcn.0049c674
mov word [ebp - 0xe], 1
jmp 0x49f354
mov byte [0x4ad1c9], 1
lea eax, [ebp - 0x58]
mov edx, 0x3c
call fcn.00407a74
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp - 8], 0
je 0x49f29b
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 8]
call fcn.00404d40
mov dword [ebp - 0x48], eax
jmp 0x49f2a8
mov dword [ebp - 0x54], 5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, 0x49f3d4
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, 0x49f3dc
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x4ad1c9], 0
mov eax, dword [ebp - 0x18]
call fcn.0049c674
mov word [ebp - 0xe], 1
jmp 0x49f354
mov byte [0x4ad1c9], 1
lea eax, [ebp - 0x58]
mov edx, 0x3c
call fcn.00407a74
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp - 8], 0
je 0x49f316
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
call fcn.00404d40
mov dword [ebp - 0x48], eax
jmp 0x49f323
mov dword [ebp - 0x54], 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov eax, 0x49f3e4
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x4ad1c9], 0
mov eax, dword [ebp - 0x18]
call fcn.0049c674
mov word [ebp - 0xe], 1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
lea ebx, [ebp - 0xe]
mov eax, dword [ebp - 0xc]
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.00454974
push eax
push 0x3e4
mov eax, dword [ebp - 4]
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 0x49f3bd
lea eax, [ebp - 0x5c]
call fcn.00404870
lea eax, [ebp - 0x1c]
call fcn.00404870
lea eax, [ebp - 8]
call fcn.00404870
ret