Function at 0x596f1c
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 0x5971a4
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 0x59717f
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.00403730
test ebx, ebx
je 0x59717f
cmp byte [0x5c6650], 0
je 0x596fee
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040500c
mov edx, dword [ebp - 8]
mov eax, 0x5971bc
call fcn.004053f0
dec eax
jne 0x596fd7
lea eax, [ebp - 8]
mov ecx, 1
mov edx, 1
call fcn.0040534c
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x5971bc
call fcn.004053f0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040530c
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00598950
mov word [ebp - 0x12], 1
jmp 0x597145
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
mov edx, ebx
call fcn.0040500c
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00595700
dec eax
je 0x59701c
dec eax
je 0x597053
dec eax
je 0x5970d2
jmp 0x597145
cmp dword [ebp - 4], 0
je 0x597030
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00598950
jmp 0x597040
cmp dword [ebp - 0x1c], 0
je 0x597040
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00598a10
mov eax, dword [ebp - 0x1c]
call fcn.00594d9c
mov word [ebp - 0x12], 1
jmp 0x597145
mov byte [0x5c6651], 1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403730
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp - 4], 0
je 0x59708a
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 4]
call fcn.004052a4
mov dword [ebp - 0x48], eax
jmp 0x597097
mov dword [ebp - 0x54], 5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, 0x5971c0
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, 0x5971c8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x5c6651], 0
mov eax, dword [ebp - 0x1c]
call fcn.00594d9c
mov word [ebp - 0x12], 1
jmp 0x597145
mov byte [0x5c6651], 1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403730
mov dword [ebp - 0x58], 0x3c
cmp dword [ebp - 4], 0
je 0x597107
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 4]
call fcn.004052a4
mov dword [ebp - 0x48], eax
jmp 0x597114
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, 0x5971d0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x5c6651], 0
mov eax, dword [ebp - 0x1c]
call fcn.00594d9c
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.004550cc
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 0x5971ab
lea eax, [ebp - 0x5c]
call fcn.00404e14
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e38
ret