Function at 0x451740
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 + 0x2b4], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
je 0x451772
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x2b4], 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 0x4517c1
mov edx, dword [ebx + 0xf4]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0xf4]
push esi
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x4517c1
mov edx, dword [ebx + 0x1c0]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x1c0]
push esi
push edi
call eax
mov ebp, eax
mov edi, dword [ebx + 0x2a4]
test edi, edi
mov dword [esp + 0x20], edi
je 0x45195b
call fcn.0046bdd0
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4518b7
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 0x45180c
push 1
push ebx
call fcn.00450820
movzx ecx, word [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esi + 0xa4], 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 + 0x2a4], ebp
jne 0x45187b
mov eax, dword [esi + 0x40]
test eax, eax
je 0x45186b
cmp word [eax], 0
je 0x45186b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4518b7
cmp dword [esi + 0x10], 0
je 0x4518b7
mov dword [esp + 0x14], 1
jmp 0x4518b7
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 0x45189d
push 1
push ebx
call fcn.00450820
mov eax, dword [esp + 0x3c]
push edi
push eax
push 0x2a3
mov ecx, esi
call fcn.0046c070
mov dword [esp + 0x18], 1
xor edi, edi
cmp dword [esp + 0x14], edi
mov dword [ebx + 0x2a4], edi
je 0x451910
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 0x45195b
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x45195b
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 + 0x2a0]
jne 0x45195b
mov dword [ebx + 0x2a0], edi
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0xc