Function at 0x47b7f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x48f29e
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4bb028]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push edi
mov eax, dword [0x4bb028]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], 0
call dword [0x497e20]
push 0
lea eax, [esp + 0x44]
push eax
mov ebp, 1
push edi
mov dword [esp + 0x194], ebp
call fcn.0047b6d0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
call dword [0x497e20]
lea ecx, [esp + 0x34]
call dword [0x497e20]
mov bl, 3
push str._table_
mov ecx, esi
mov byte [esp + 0x18c], bl
call dword [0x497c80]
push str._tr__td__font_colordarkblue_Window__font__table_border1_
mov ecx, esi
mov dword [esp + 0x3c], ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0x80
lea ecx, [esp + 0x80]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea edx, [esp + 0x7c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Class_name
call dword [0x497c80]
lea eax, [esp + 0x1c]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x80
lea ecx, [esp + 0x80]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0x7c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Title
call dword [0x497c80]
lea eax, [esp + 0x1c]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov byte [esp + 0x188], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebp, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push edi
lea ecx, [esp + 0x14]
push 0x4a7918
push ecx
call ebp
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Handle
call dword [0x497c80]
lea eax, [esp + 0x1c]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
lea ecx, [esp + 0x14]
push 0x49ce90
push ecx
call ebp
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Control_ID
call dword [0x497c80]
lea eax, [esp + 0x1c]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
lea ecx, [esp + 0x14]
push 0x4a7918
push ecx
call ebp
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Styles
call dword [0x497c80]
lea eax, [esp + 0x1c]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 8
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x24]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str.__d___d____d___d_
push eax
call ebp
mov ecx, dword [esp + 0x28]
add esp, 0x18
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.RECT
call dword [0x497c80]
lea edx, [esp + 0x1c]
push edx
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
push 0x49ce90
push ecx
call ebp
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Width
call dword [0x497c80]
lea eax, [esp + 0x1c]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0xa
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push 0x49ce90
push edx
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Height
call dword [0x497c80]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0047bf20
mov byte [esp + 0x188], 0xb
push eax
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push 1
lea edx, [esp + 0x44]
push edx
push eax
call fcn.0047b6d0
test eax, eax
mov eax, 0x4a7a48
jne 0x47bbb7
mov eax, 0x4a7a50
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Has_Tooltip
call dword [0x497c80]
lea edx, [esp + 0x24]
push edx
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0xc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov bl, 3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.__table___td_
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push str._td__font_colordarkblue_Window_Owner__font__table_border1_
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov edi, dword [esp + 0x18]
test edi, edi
je 0x47bc91
push 0x80
lea eax, [esp + 0x80]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x20]
call dword [0x497c80]
mov byte [esp + 0x188], 0xd
mov eax, dword [eax]
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0047bfd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0xe
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x47bca0
push 0x4a7b0c
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esp + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Class_name
call dword [0x497c80]
lea ecx, [esp + 0x20]
push ecx
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0xf
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test edi, edi
je 0x47bd4f
push 0x80
lea edx, [esp + 0x80]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x20]
call dword [0x497c80]
mov byte [esp + 0x188], 0x10
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0047bfd0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0x11
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x47bd5e
push 0x4a7b0c
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov edx, dword [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Title
call dword [0x497c80]
lea eax, [esp + 0x20]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x12
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push edi
lea ecx, [esp + 0x14]
push 0x4a7918
push ecx
call ebp
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Handle
call dword [0x497c80]
lea eax, [esp + 0x20]
push eax
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x13
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.__table_
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push str._br__font_colordarkblue_Mouse_Cursor__font__table_border1_
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
mov edi, dword [esp + 0x20]
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x14]
push 0x49ce90
push edx
call ebp
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a7ba4
call dword [0x497c80]
lea ecx, [esp + 0x20]
push ecx
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x14
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [edi + 4]
push edx
lea eax, [esp + 0x14]
push 0x49ce90
push eax
call ebp
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4a7ba8
call dword [0x497c80]
lea edx, [esp + 0x20]
push edx
call fcn.0047bf20
push eax
mov ecx, esi
mov byte [esp + 0x18c], 0x15
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x4a7bac
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.0048a3f6
add esp, 0x17c
ret