Function at 0x42aaf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436a0b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1194
call fcn.00432900
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x1190], eax
push ebx
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x11a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xf
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], ebx
jne 0x42af2a
mov byte [ebx], 1
push 0x40
xor ebx, ebx
lea eax, [esp + 0x100]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov edx, dword [esi + 0x40]
add esp, 0xc
lea ecx, [esp + 0xfc]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call sub.MFC80U.DLL_Ordinal_2361
mov dword [esp + 0x18], eax
lea eax, [esp + 0x6c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetParent]
lea ecx, [esp + 0x6c]
push ecx
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x74]
push edx
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
xor eax, eax
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], vtable.FCObjImage.0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
lea eax, [esp + 0x9c]
push eax
push edi
mov dword [esp + 0x11b8], ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x10
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
mov dword [esp + 0x3c], eax
cmp eax, ebx
mov byte [esp + 0x11b0], 1
je 0x42ac8e
mov ecx, eax
call sub.MFC80U.DLL_Ordinal_347
mov dword [esp + 0x14], eax
jmp 0x42ac92
mov dword [esp + 0x14], ebx
push edi
mov byte [esp + 0x11b4], bl
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC80U.DLL_Ordinal_2361
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x42acb5
xor eax, eax
jmp 0x42acb8
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
push eax
call sub.MFC80U.DLL_Ordinal_1270
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CBitmap.0
mov byte [esp + 0x11b0], 2
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
sub ecx, dword [esp + 0x9c]
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x24]
call sub.MFC80U.DLL_Ordinal_1271
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x42ad2a
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x14]
push ebx
push edx
push 0x2340
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x42ad4a
mov ebx, dword [esi + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xbc]
push eax
call fcn.00423bd0
add esp, 0x14
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_1920
test esi, esi
je 0x42ad96
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
lea ecx, [esp + 0x7c]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x42adae
xor ecx, ecx
jmp 0x42adb1
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x7c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x98]
mov dword [eax + 0xc], edx
push ecx
lea eax, [esp + 0xc0]
call fcn.00423ad0
mov ecx, dword [esp + 0x30]
add esp, 0x14
call sub.MFC80U.DLL_Ordinal_1920
lea ecx, [esp + 0x20]
call sub.MFC80U.DLL_Ordinal_1925
mov byte [esp + 0x11b0], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CBitmap.0
call fcn.00406550
mov dword [esp + 0x11b0], 0xffffffff
lea esi, [esp + 0xac]
mov dword [esp + 0xac], vtable.FCObjImage.0
call fcn.00422f30
lea eax, [esp + 0x8c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x800
lea ecx, [esp + 0x1a0]
push 0
push ecx
call sub.MSVCR80.dll_memset
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x40]
add esp, 0xc
push 0x400
lea edx, [esp + 0x1a0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
mov edi, eax
add esp, 4
test edi, edi
je 0x42ae93
lea ecx, [edi + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
jmp 0x42ae95
xor edi, edi
lea ecx, [esp + 0x19c]
push ecx
lea ecx, [edi + 0x10]
mov dword [edi + 0x14], 0x40
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x42aee3
mov edx, dword [esp + 0x98]
sub edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x94]
sub edx, dword [esp + 0x90]
sub ecx, dword [esi + 0x1c]
push edi
sub ecx, dword [esp + 0x90]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
call fcn.0042a610
mov eax, dword [edi + 0x18]
mov dword [esi + 0x48], eax
mov edi, dword [edi + 0x14]
cmp edi, 0x40
je 0x42af0a
mov ecx, dword [esi + 0x40]
push 0
push edi
push 0x2b0d
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
call sub.MFC80U.DLL_Ordinal_1920
mov eax, dword [esi + 0x40]
lea edx, [esp + 0xfc]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x42b2c1
cmp eax, 0x14
je 0x42af75
cmp eax, 0x85
je 0x42af75
cmp eax, 5
jne 0x42af60
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ebx
push ecx
push edx
push eax
push edi
mov ecx, esi
call fcn.00430660
mov eax, dword [esi + 0x40]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x42b2c1
cmp eax, 0x201
jne 0x42af7d
mov ecx, dword [esi + 0x40]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebx], 1
jmp 0x42b2c1
cmp eax, 0x202
jne 0x42b2c1
push edi
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call sub.MFC80U.DLL_Ordinal_2361
lea ecx, [esp + 0x48]
mov dword [esp + 0x1c], eax
call sub.MFC80U.DLL_Ordinal_557
push 0x800
xor edi, edi
lea edx, [esp + 0x9a0]
push edi
push edx
mov dword [esp + 0x11bc], 3
call sub.MSVCR80.dll_memset
mov ecx, dword [esi + 0x40]
add esp, 0xc
push 0x400
lea eax, [esp + 0x9a0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0x99c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
push 0x43b4f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11b8], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, edi
jl 0x42b0b0
mov bl, 6
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
lea ecx, [esp + 0x18]
mov byte [esp + 0x11b0], 5
mov edx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x50]
call sub.MFC80U.DLL_Ordinal_5711
push 0x43b4f0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
sub eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x11b4], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x18]
mov byte [esp + 0x11b0], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push edi
push 0x43b4f0
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_2261]
mov esi, eax
cmp esi, edi
jge 0x42b012
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], edi
je 0x42b0cc
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x50]
call sub.MFC80U.DLL_Ordinal_5711
call fcn.0042c3b0
mov ebx, dword [esp + 0x28]
mov edx, dword [ebx + 0x48]
push edx
add eax, 0xc
call fcn.0042c510
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], vtable.CFont.0
lea ecx, [esp + 0x13c]
push ecx
mov byte [esp + 0x11b4], 7
mov edx, dword [eax + 0x10]
push 0x5c
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x13c]
push eax
mov byte [esp + 0x155], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x44]
call sub.MFC80U.DLL_Ordinal_1271
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x42b146
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
jmp 0x42b14a
mov dword [esp + 0x18], edi
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
sub edi, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x42b26c
test esi, esi
jl 0x42b2ec
cmp esi, eax
jge 0x42b2ec
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + esi*4]
mov ecx, dword [edx - 0xc]
mov eax, edx
lea edx, [esp + 0x5c]
push edx
push ecx
push eax
mov eax, dword [esp + 0x28]
call fcn.00423bc0
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x5c]
cmp edi, ecx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
jge 0x42b1cd
lea eax, [eax + edx + 5]
lea ebx, [eax + edx]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
test eax, eax
jne 0x42b1d5
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
add edx, ecx
push eax
mov dword [esp + 0x38], edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0x40]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42b244
cmp esi, dword [esp + 0x50]
jge 0x42b2ec
mov eax, dword [esp + 0x4c]
lea ecx, [eax + esi*4]
push 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
mov ecx, dword [ebx + 0x40]
push eax
push 0
push 0x2b0f
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x2c]
lea ecx, [edx + eax + 0x14]
mov edx, 0xffffffec
sub edx, eax
mov eax, dword [esp + 0x50]
add esi, 1
add edi, edx
cmp esi, eax
mov dword [esp + 0x2c], ecx
jl 0x42b16f
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42b283
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x11b0], 4
lea ecx, [esp + 0x40]
mov byte [edx], 1
mov dword [esp + 0x40], vtable.CFont.0
call fcn.00406550
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x48]
mov dword [esp + 0x11b0], 0xffffffff
call sub.MFC80U.DLL_Ordinal_745
mov eax, 1
mov ecx, dword [esp + 0x11a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1190]
xor ecx, esp
call fcn.004322b8
mov esp, ebp
pop ebp
ret 0x14
call fcn.00431d0e
int3