Function at 0x47fef0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x3c0], 0
mov dword [ebp - 4], 0
je 0x47ff24
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x3c0], 0
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x47ff71
mov eax, dword [esi + 0x14c]
lea ecx, [esi + 0x14c]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
test ebx, ebx
jne 0x47ff71
mov eax, dword [esi + 0x270]
lea ecx, [esi + 0x270]
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov ebx, eax
mov eax, dword [esi + 0x3ac]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x48012e
mov ecx, eax
call fcn.00429930
mov edi, eax
test edi, edi
je 0x4800e8
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edi + 0x14]
push 2
push 0
mov dword [ebp - 4], eax
call dword [edx + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x47ffb8
push ecx
push edi
mov ecx, esi
call fcn.0047fa20
mov edx, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [edi + 0xfc], 0
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x202
push 0
call dword [edx + 0x4c]
cmp dword [esi + 0x3ac], ebx
jne 0x48003c
mov eax, dword [edi + 0x44]
test eax, eax
je 0x480028
cmp word [eax], 0
je 0x480028
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esi + 0x3ac], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x14], 0
je 0x4800e8
mov eax, 1
jmp 0x4800ea
mov eax, dword [edi]
mov ecx, edi
push 1
push 0
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x48005b
push ecx
push edi
mov ecx, esi
call fcn.0047fa20
mov edx, dword [edi]
lea eax, [ebp - 8]
push eax
mov dword [edi + 0xfc], 0
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
push 0
call dword [edx + 0x4c]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x3ac], 0
test ecx, ecx
je 0x48012e
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x20]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x3a8]
jne 0x48012e
mov dword [esi + 0x3a8], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov dword [esi + 0x3ac], 0
test eax, eax
je 0x48012e
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov dword [ebp - 0x14], ecx
mov ecx, edi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0xffffffff
call dword [eax + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc