Function at 0x4992f4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4995a2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x3e8
call sub.user32.dll_UnpackDDElParam
test eax, eax
je 0x499577
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x22]
mov edx, 2
call fcn.00407c3c
cmp dword [ebp - 0x18], 0
je 0x499577
cmp byte [0x4b018c], 0
je 0x4993d9
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x18]
call fcn.00404d0c
mov edx, dword [ebp - 0x38]
mov eax, 0x4995bc
call fcn.00405118
dec eax
jne 0x4993c3
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, 1
call fcn.00405074
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 0x38]
mov eax, 0x4995bc
call fcn.00405118
mov ecx, eax
sub ecx, 1
jno 0x4993b6
call fcn.00403cb4
mov edx, 1
mov eax, dword [ebp - 0x38]
call fcn.00405034
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0049ac44
mov word [ebp - 0x22], 1
jmp 0x499533
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x18]
call fcn.00404d0c
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x14]
call fcn.00498fa0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
dec eax
je 0x49940e
dec eax
je 0x499445
dec eax
je 0x4994c2
jmp 0x499533
cmp dword [ebp - 0x14], 0
je 0x499421
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049ac44
jmp 0x499432
cmp dword [ebp - 0x34], 0
je 0x499432
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0049ae08
mov eax, dword [ebp - 0x34]
call fcn.00496248
mov word [ebp - 0x22], 1
jmp 0x499533
mov byte [0x4b018d], 1
lea eax, [ebp - 0x74]
mov edx, 0x3c
call fcn.00407c3c
mov dword [ebp - 0x74], 0x3c
cmp dword [ebp - 0x14], 0
je 0x49947a
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x14]
call fcn.00404fd4
mov dword [ebp - 0x64], eax
jmp 0x499487
mov dword [ebp - 0x70], 5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, 0x4995c0
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, 0x4995c8
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x4b018d], 0
mov eax, dword [ebp - 0x34]
call fcn.00496248
mov word [ebp - 0x22], 1
jmp 0x499533
mov byte [0x4b018d], 1
lea eax, [ebp - 0x74]
mov edx, 0x3c
call fcn.00407c3c
mov dword [ebp - 0x74], 0x3c
cmp dword [ebp - 0x14], 0
je 0x4994f5
xor eax, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x14]
call fcn.00404fd4
mov dword [ebp - 0x64], eax
jmp 0x499502
mov dword [ebp - 0x70], 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, 0x4995d0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x4b018d], 0
mov eax, dword [ebp - 0x34]
call fcn.00496248
mov word [ebp - 0x22], 1
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0x22]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
push eax
push 0x3e4
push 0x3e8
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_ReuseDDElParam
push eax
mov eax, dword [ebp - 4]
call fcn.00449338
push eax
push 0x3e4
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_PostMessageA
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4995a9
lea eax, [ebp - 0x78]
call fcn.00404b04
lea eax, [ebp - 0x38]
call fcn.00404b04
lea eax, [ebp - 0x14]
call fcn.00404b04
ret