Function at 0x458520
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [ebx + 4]
push ebp
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor esi, esi
cmp dword [ebx + 0x30c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
je 0x458552
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x30c], esi
mov esi, dword [esp + 0x44]
mov edx, dword [ebx + 0x28]
mov edi, dword [esp + 0x40]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x28]
push esi
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x4585a1
mov edx, dword [ebx + 0x110]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x110]
push esi
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x4585a1
mov edx, dword [ebx + 0x1f8]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x1f8]
push esi
push edi
call eax
mov ebp, eax
mov edi, dword [ebx + 0x2f8]
test edi, edi
mov dword [esp + 0x20], edi
je 0x45873b
call fcn.0048c010
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x458697
mov ecx, dword [esi + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
push 2
mov dword [esp + 0x14], ecx
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
test eax, eax
je 0x4585ec
push 1
push ebx
call fcn.00456750
movzx ecx, word [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esi + 0xc0], edi
movzx edi, word [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
shl edi, 0x10
or edi, ecx
mov ecx, dword [esp + 0x40]
push edi
push ecx
push 0x202
push 0
mov ecx, esi
call edx
cmp dword [ebx + 0x2f8], ebp
jne 0x45865b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x45864b
cmp word [eax], 0
je 0x45864b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x458697
cmp dword [esi + 0x10], 0
je 0x458697
mov dword [esp + 0x14], 1
jmp 0x458697
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
push 1
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
test eax, eax
je 0x45867d
push 1
push ebx
call fcn.00456750
mov eax, dword [esp + 0x3c]
push edi
push eax
push 0x2a3
mov ecx, esi
call fcn.0048c330
mov dword [esp + 0x18], 1
xor edi, edi
cmp dword [esp + 0x14], edi
mov dword [ebx + 0x2f8], edi
je 0x4586f0
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], edx
mov edx, dword [eax + 8]
mov ecx, esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0xffffffff
call edx
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push ecx
push 0x4e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0xc
cmp dword [esp + 0x18], edi
je 0x45873b
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x45873b
mov eax, dword [ebx + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x24]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [esp + 0x3c], 4
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x20]
cmp edx, dword [ebx + 0x2f4]
jne 0x45873b
mov dword [ebx + 0x2f4], edi
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0xc