Function at 0x531a64
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 0x531cf2
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 0x531cca
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.00408434
cmp dword [ebp - 8], 0
je 0x531cca
cmp byte [0x5b4088], 0
je 0x531b3b
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.004051ec
mov edx, dword [ebp - 0x24]
mov eax, 0x531d0c
call fcn.00405614
dec eax
jne 0x531b26
lea eax, [ebp - 0x24]
mov ecx, 1
mov edx, 1
call fcn.00405570
lea eax, [ebp - 0x24]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x531d0c
call fcn.00405614
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00405530
mov edx, dword [ebp - 0x24]
mov eax, ebx
call fcn.00532688
mov word [ebp - 0x12], 1
jmp 0x531c8d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 8]
call fcn.004051ec
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x20]
lea edx, [ebp - 4]
call fcn.005317c4
dec eax
je 0x531b6a
dec eax
je 0x531b9f
dec eax
je 0x531c1c
jmp 0x531c8d
cmp dword [ebp - 4], 0
je 0x531b7c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00532688
jmp 0x531b8c
cmp dword [ebp - 0x20], 0
je 0x531b8c
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.005325d4
mov eax, dword [ebp - 0x20]
call fcn.0052d0bc
mov word [ebp - 0x12], 1
jmp 0x531c8d
mov byte [0x5b4068], 1
lea eax, [ebp - 0x60]
mov edx, 0x3c
call fcn.00408434
mov dword [ebp - 0x60], 0x3c
cmp dword [ebp - 4], 0
je 0x531bd4
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 4]
call fcn.004054d0
mov dword [ebp - 0x50], eax
jmp 0x531be1
mov dword [ebp - 0x5c], 5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, 0x531d10
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, 0x531d18
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x5b4068], 0
mov eax, dword [ebp - 0x20]
call fcn.0052d0bc
mov word [ebp - 0x12], 1
jmp 0x531c8d
mov byte [0x5b4068], 1
lea eax, [ebp - 0x60]
mov edx, 0x3c
call fcn.00408434
mov dword [ebp - 0x60], 0x3c
cmp dword [ebp - 4], 0
je 0x531c4f
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 4]
call fcn.004054d0
mov dword [ebp - 0x50], eax
jmp 0x531c5c
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, 0x531d20
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x5b4068], 0
mov eax, dword [ebp - 0x20]
call fcn.0052d0bc
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.0045465c
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 0x531cf9
lea eax, [ebp - 0x64]
call fcn.00404ff4
lea eax, [ebp - 0x24]
call fcn.00404ff4
lea eax, [ebp - 4]
call fcn.00404ff4
ret