Function at 0x461030
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 + 0x3c0], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
je 0x461062
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x3c0], 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 0x4610b1
mov edx, dword [ebx + 0x14c]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x14c]
push esi
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x4610b1
mov edx, dword [ebx + 0x270]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x270]
push esi
push edi
call eax
mov ebp, eax
mov edi, dword [ebx + 0x3ac]
test edi, edi
mov dword [esp + 0x20], edi
je 0x46124b
call fcn.00436870
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4611a7
mov ecx, dword [esi + 0x14]
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 0x4610fc
push 1
push ebx
call fcn.0045e7e0
movzx ecx, word [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esi + 0xfc], 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 + 0x3ac], ebp
jne 0x46116b
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46115b
cmp word [eax], 0
je 0x46115b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4611a7
cmp dword [esi + 0x14], 0
je 0x4611a7
mov dword [esp + 0x14], 1
jmp 0x4611a7
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 0x46118d
push 1
push ebx
call fcn.0045e7e0
mov eax, dword [esp + 0x3c]
push edi
push eax
push 0x2a3
mov ecx, esi
call fcn.00409570
mov dword [esp + 0x18], 1
xor edi, edi
cmp dword [esp + 0x14], edi
mov dword [ebx + 0x3ac], edi
je 0x461200
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 0x46124b
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x46124b
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 + 0x3a8]
jne 0x46124b
mov dword [ebx + 0x3a8], edi
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0xc