Function at 0x4f45b0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x683e30
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
push eax
mov ebp, ecx
push edi
call fcn.004f42a0
test eax, eax
je 0x4f48ea
lea ecx, [esp + 0x34]
call fcn.006086f6
mov ecx, dword [edi + 0xc]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x6c], esi
je 0x4f46b1
call fcn.0044ec00
test eax, eax
je 0x4f46b1
mov ecx, dword [edi + 0xc]
call fcn.0044ec00
mov ebx, eax
test ebx, ebx
jle 0x4f46c7
lea ecx, [esi + 1]
push 2
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42u.DLL_COleVariant::COleVariant
mov ecx, dword [edi + 0xc]
push eax
mov byte [esp + 0x70], 1
call fcn.0044ec90
push 1
push eax
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_COleDispatchDriver::COleDispatchDriver_1
lea edx, [esp + 0x18]
mov byte [esp + 0x6c], 3
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 2
call fcn.0041b550
neg eax
sbb eax, eax
lea ecx, [esp + 0x78]
inc eax
push eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004379b0
add esp, 0x10
mov edx, dword [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 4
call sub.MFC42u.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call sub.MFC42u.DLL_COleDispatchDriver::ReleaseDispatch
inc esi
cmp esi, ebx
jl 0x4f461e
jmp 0x4f46c7
mov eax, dword [edi + 8]
cmp eax, esi
je 0x4f46c7
cmp dword [eax + 8], esi
je 0x4f46c7
push eax
lea ecx, [esp + 0x38]
call sub.MFC42u.DLL_CStringArray::Copy
mov ecx, dword [esp + 0x78]
lea eax, [ebp + 0x2600]
or ebx, 0xffffffff
cmp ecx, eax
jne 0x4f48b2
mov eax, dword [edi]
test eax, eax
je 0x4f46f0
mov edx, dword [ebp]
push 0
push eax
mov ecx, ebp
call dword [edx + 0x120]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f47cd
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4f47b8
push edi
mov ecx, ebp
call fcn.004f4910
cmp eax, ebx
je 0x4f48dd
test eax, eax
jne 0x4f4890
mov edi, dword [edi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
call fcn.006086f6
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 5
call sub.MFC42u.DLL_CString::CString_5
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x70], 6
call sub.MFC42u.DLL_CStringArray::Copy
test ebp, ebp
mov byte [esp + 0x6c], 7
jne 0x4f475c
xor esi, esi
jmp 0x4f475f
mov esi, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov ecx, dword [0x7564c8]
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 0x20]
push esi
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 8
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], ebx
call sub.MFC42u.DLL_CStringArray::CStringArray
mov eax, esi
jmp 0x4f48ec
push 0
lea eax, [esp + 0x38]
push 1
push eax
mov ecx, ebp
call fcn.004e5ec0
jmp 0x4f4890
mov ecx, edi
call fcn.004c1420
test eax, eax
je 0x4f4880
lea ecx, [esp + 0x78]
push ecx
mov ecx, edi
call fcn.004c1440
mov esi, eax
mov edi, dword [edi]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 9
mov dword [esp + 0x48], edi
call fcn.006086f6
push esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x70], 0xa
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esp + 0x78]
mov byte [esp + 0x6c], 0xc
call sub.MFC42u.DLL_CString::CString
test ebp, ebp
jne 0x4f4823
xor esi, esi
jmp 0x4f4826
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
mov edx, dword [0x7564c8]
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x48]
push ecx
push esi
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x6c], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0
call sub.MFC42u.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], 0xffffffff
call sub.MFC42u.DLL_CStringArray::CStringArray
mov eax, esi
jmp 0x4f48ec
push edi
mov ecx, ebp
call fcn.004f4910
cmp eax, ebx
je 0x4f48dd
test eax, eax
je 0x4f48dd
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x18c]
mov edi, dword [edi]
mov eax, dword [0x7226f8]
mov ecx, dword [ebp + 0x20]
push edi
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4f48dd
mov eax, dword [esp + 0x78]
lea esi, [ebp + 0xdc4]
cmp eax, esi
jne 0x4f48dd
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f48dd
lea edx, [esp + 0x34]
push 1
push edx
mov ecx, ebp
call fcn.004e5ea0
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetFocus
lea ecx, [esp + 0x34]
mov dword [esp + 0x6c], ebx
call sub.MFC42u.DLL_CStringArray::CStringArray
xor eax, eax
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8