Function at 0x497bb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x497e46
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
push 0x3e8
call sub.user32.dll_UnpackDDElParam
test eax, eax
je 0x497e1e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
lea eax, [ebp - 0x12]
mov edx, 2
call fcn.00407c7c
cmp dword [ebp - 8], 0
je 0x497e1e
cmp byte [0x4aaf5c], 0
je 0x497c8f
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00404cb0
mov edx, dword [ebp - 0x24]
mov eax, 0x497e60
call fcn.004050bc
dec eax
jne 0x497c7a
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, 1
call fcn.00405018
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x497e60
call fcn.004050bc
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404fd8
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.00498ffc
mov word [ebp - 0x12], 1
jmp 0x497de1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 8]
call fcn.00404cb0
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.00497918
dec eax
je 0x497cbe
dec eax
je 0x497cf3
dec eax
je 0x497d70
jmp 0x497de1
cmp dword [ebp - 4], 0
je 0x497cd0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00498ffc
jmp 0x497ce0
cmp dword [ebp - 0x20], 0
je 0x497ce0
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004991ac
mov eax, dword [ebp - 0x20]
call fcn.00495300
mov word [ebp - 0x12], 1
jmp 0x497de1
mov byte [0x4aaf5d], 1
lea eax, [ebp - 0x60]
mov edx, 0x3c
call fcn.00407c7c
mov dword [ebp - 0x60], 0x3c
cmp dword [ebp - 4], 0
je 0x497d28
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 4]
call fcn.00404f78
mov dword [ebp - 0x50], eax
jmp 0x497d35
mov dword [ebp - 0x5c], 5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, 0x497e64
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, 0x497e6c
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x4aaf5d], 0
mov eax, dword [ebp - 0x20]
call fcn.00495300
mov word [ebp - 0x12], 1
jmp 0x497de1
mov byte [0x4aaf5d], 1
lea eax, [ebp - 0x60]
mov edx, 0x3c
call fcn.00407c7c
mov dword [ebp - 0x60], 0x3c
cmp dword [ebp - 4], 0
je 0x497da3
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
call fcn.00404f78
mov dword [ebp - 0x50], eax
jmp 0x497db0
mov dword [ebp - 0x5c], 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, 0x497e74
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x4aaf5d], 0
mov eax, dword [ebp - 0x20]
call fcn.00495300
mov word [ebp - 0x12], 1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0x12]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
push 0x3e4
push 0x3e8
push esi
call sub.user32.dll_ReuseDDElParam
push eax
mov eax, ebx
call fcn.00447dd4
push eax
push 0x3e4
push edi
call sub.user32.dll_PostMessageA
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497e4d
lea eax, [ebp - 0x64]
call fcn.00404aa8
lea eax, [ebp - 0x24]
call fcn.00404aa8
lea eax, [ebp - 4]
call fcn.00404aa8
ret