Function at 0x58ca10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xe4
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x742040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x26
push 0x6c8670
call fcn.004f2450
add esp, 8
test eax, eax
jle 0x58cac8
lea esi, [ebp - 0xac]
mov ecx, esi
push 0xffffffffffffffff
push 0x1fa
push 0x6c8670
call fcn.00494bc0
lea eax, [ebp - 0xa4]
push 0x13
push str.ShellExecuteAndWait
push eax
call fcn.004d1fe0
add esp, 0xc
push 8
push 0x6c3798
push eax
call fcn.004d1fe0
add esp, 0xc
push ebx
push eax
call fcn.005be060
add esp, 8
push 0xd
push str.__parameters:
push eax
call fcn.004d1fe0
add esp, 0xc
push dword [ebp + 0x10]
push eax
call fcn.00492f60
add esp, 8
push 7
push str.__verb:
push eax
call fcn.004d1fe0
add esp, 0xc
push dword [ebp + 0x14]
push eax
call fcn.00492f60
add esp, 8
mov ecx, esi
call fcn.004950a0
movsx eax, byte [ebx + 0xb]
test eax, eax
jns 0x58cad3
mov eax, dword [ebx + 4]
test eax, eax
je 0x58ce67
xor edi, edi
mov dword [ebp - 0xac], edi
mov ecx, dword [0x742c84]
mov eax, dword [0x742c7c]
sub ecx, eax
mov edx, dword [0x742c80]
mov esi, dword [0x742c78]
sub edx, esi
push edi
push dword [0x746d94]
push edi
push edi
push ecx
push edx
push eax
push esi
push 0x90000000
push edi
push str.STATIC
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xac], eax
mov esi, 0
test eax, eax
jne 0x58ccfb
mov dword [ebp - 0xb4], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xe8], 0x3c
mov dword [ebp - 0xe4], 0x800540
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xe0], esi
mov eax, dword [ebp + 0x14]
cmp byte [eax + 0xb], 0
jns 0x58cb6f
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xdc], eax
cmp byte [ebx + 0xb], 0
jns 0x58cb80
mov ebx, dword [ebx]
mov dword [ebp - 0xd8], ebx
cmp byte [ecx + 0xb], 0
jns 0x58cb8e
mov ecx, dword [ecx]
lea eax, [ebp - 0xe8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], 5
mov dword [eax + 0x20], edi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x58cdc2
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x58cd19
xor ecx, ecx
dec ecx
lea edi, [ebp - 0xf0]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov ecx, edi
push eax
call fcn.00488ab0
mov ecx, edi
call fcn.00488da0
mov edi, eax
push 0x26
push 0x6c8670
call fcn.004f2450
add esp, 8
test eax, eax
jle 0x58cc41
lea ebx, [ebp - 0xac]
mov ecx, ebx
push 0xffffffffffffffff
push 0x21f
push 0x6c8670
call fcn.00494bc0
lea eax, [ebp - 0xa4]
push 0x13
push str.ShellExecuteAndWait
push eax
call fcn.004d1fe0
add esp, 0xc
push 0x18
push str.:_Started_process__PID:
push eax
call fcn.004d1fe0
add esp, 0xc
mov ecx, eax
push edi
call fcn.00411eb0
mov ecx, ebx
call fcn.004950a0
push edi
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
test eax, eax
jne 0x58ccb5
push 0x26
push 0x6c8670
call fcn.004f2450
add esp, 8
test eax, eax
jle 0x58ccb5
lea edi, [ebp - 0xac]
mov ecx, edi
push 0xffffffffffffffff
push 0x223
push 0x6c8670
call fcn.00494bc0
lea eax, [ebp - 0xa4]
push 0x13
push str.ShellExecuteAndWait
push eax
call fcn.004d1fe0
add esp, 0xc
push 0x25
push str.:_::AllowSetForegroundWindow_failed:
push eax
call fcn.004d1fe0
add esp, 0xc
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
push eax
call fcn.00411eb0
mov ecx, edi
call fcn.004950a0
lea eax, [ebp - 0xac]
mov dword [eax], 0
lea ecx, [ebp - 0xf0]
push eax
call fcn.005b9590
test al, al
jne 0x58cd84
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
cmovne eax, ecx
mov ecx, 2
jmp 0x58cd8d
lea esi, [ebp - 0xac]
mov ecx, esi
push 0
call fcn.0057b570
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [esi]
jmp 0x58cb34
push 0x26
push 0x6c8670
call fcn.004f2450
add esp, 8
test eax, eax
jle 0x58cd72
lea edi, [ebp - 0xac]
mov ecx, edi
push 0xffffffffffffffff
push 0x219
push 0x6c8670
call fcn.00494bc0
lea eax, [ebp - 0xa4]
push 0x13
push str.ShellExecuteAndWait
push eax
call fcn.004d1fe0
add esp, 0xc
push 0x1e
push str.:_Started_process__PID_unknown
push eax
call fcn.004d1fe0
add esp, 0xc
mov ecx, edi
call fcn.004950a0
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 1
jmp 0x58cda0
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0xac]
mov edi, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 4], ecx
lea ecx, [ebp - 0xf0]
call fcn.00488bb0
test esi, esi
je 0x58cdab
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005412b6
mov eax, edi
add esp, 0xe4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov esi, 0x80004005
cmovne esi, ecx
push 0x26
push 0x6c8670
call fcn.004f2450
add esp, 8
test eax, eax
jle 0x58ce54
lea edi, [ebp - 0xac]
mov ecx, edi
push 0xffffffffffffffff
push 0x214
push 0x6c8670
call fcn.00494bc0
lea eax, [ebp - 0xa4]
push 0x13
push str.ShellExecuteAndWait
push eax
call fcn.004d1fe0
add esp, 0xc
push 0x1b
push str.:_::ShellExecuteEx_failed:
push eax
call fcn.004d1fe0
add esp, 0xc
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + ecx + 4]
and edx, 0xffffffb5
or edx, 8
mov dword [eax + ecx + 4], edx
mov ecx, eax
push esi
call fcn.004120f0
mov ecx, edi
call fcn.004950a0
mov edi, dword [ebp + 8]
mov dword [edi], esi
mov dword [edi + 4], 2
mov esi, ebx
jmp 0x58cda0
int3