Function at 0x46c520
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 + 0x3cc], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
je 0x46c552
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebx + 0x3cc], 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 0x46c5a1
mov edx, dword [ebx + 0x150]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x150]
push esi
push edi
call eax
mov ebp, eax
test ebp, ebp
jne 0x46c5a1
mov edx, dword [ebx + 0x278]
mov eax, dword [edx + 0x30]
push 1
lea ecx, [ebx + 0x278]
push esi
push edi
call eax
mov ebp, eax
mov edi, dword [ebx + 0x3b8]
test edi, edi
mov dword [esp + 0x20], edi
je 0x46c73b
call fcn.0041eff0
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x46c697
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 0x46c5ec
push 1
push ebx
call fcn.00469a80
movzx ecx, word [esp + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x100], 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 + 0x3b8], ebp
jne 0x46c65b
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46c64b
cmp word [eax], 0
je 0x46c64b
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x46c697
cmp dword [esi + 0x14], 0
je 0x46c697
mov dword [esp + 0x14], 1
jmp 0x46c697
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 0x46c67d
push 1
push ebx
call fcn.00469a80
mov eax, dword [esp + 0x3c]
push edi
push eax
push 0x2a3
mov ecx, esi
call fcn.00412a00
mov dword [esp + 0x18], 1
xor edi, edi
cmp dword [esp + 0x14], edi
mov dword [ebx + 0x3b8], edi
je 0x46c6f0
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 0x46c73b
mov ecx, dword [esp + 0x10]
cmp ecx, edi
je 0x46c73b
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 + 0x3b4]
jne 0x46c73b
mov dword [ebx + 0x3b4], edi
pop edi
pop esi
pop ebp
add esp, 0x2c
ret 0xc