Function at 0x4019ee
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8024
call fcn.00402a28
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x403020]
je 0x401e43
and dword [0x403030], 0
and dword [0x403038], 0
and dword [0x403034], 0
and dword [0x40303c], 0
and dword [0x403004], 0
mov dword [0x403158], 1
and dword [0x403018], 0
and dword [0x403040], 0
push 0x403160
call sub.USER32.DLL_GetCursorPos
lea edi, [ebp - 0x8018]
lea esi, [0x403160]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x8010]
push eax
push ebx
call sub.USER32.DLL_GetWindowRect
mov eax, dword [ebp - 0x8010]
sub dword [ebp - 0x8018], eax
mov eax, dword [ebp - 0x800c]
sub dword [ebp - 0x8014], eax
call fcn.0040164e
push 0x404094
push str.____________Window_Title__Class_____________
push str._s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push 0x7fff
lea eax, [ebp - 0x8000]
push eax
push ebx
call sub.USER32.DLL_GetWindowTextA
push 0x40437e
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_strcat
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
add esp, 0x20
push str.ahk_class
lea eax, [ebp - 0x8000]
push eax
call fcn.00402a48
lea ecx, [ebp - 0x8000]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x401afd
push 0x400
lea edi, [ebp + eax - 0x8000]
push edi
push ebx
call sub.USER32.DLL_GetClassNameA
push str._r_n_r_n
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_strcat
add esp, 8
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
add esp, 4
push dword [0x403164]
push 0x404311
push dword [0x403160]
push str.On_Screen:_t
push 0x404094
push str.______________Mouse_Position_______________
push str._s_s_s_d_s_d___less_often_used__r_n
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x20
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
add esp, 4
push dword [ebp - 0x8014]
push 0x404311
push dword [ebp - 0x8018]
push str.In_Active_Window:_t
push str._s_d_s_d_r_n_r_n
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x18
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
add esp, 4
push 0x404094
push str.___________Now_Under_Mouse_Cursor__________
push str._s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
add esp, 0x10
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
add esp, 4
push 0
push 0x401e48
push ebx
call sub.USER32.DLL_EnumChildWindows
cmp dword [0x403040], 0
je 0x401c0e
push 0xff
push 0x403050
push dword [0x403040]
call sub.USER32.DLL_GetClassNameA
inc dword [0x403158]
push 0
push 0x401e48
push ebx
call sub.USER32.DLL_EnumChildWindows
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x8020], eax
push dword [0x403164]
push dword [0x403160]
push eax
call sub.GDI32.DLL_GetPixel
mov dword [ebp - 0x801c], eax
push dword [ebp - 0x8020]
push 0
call sub.USER32.DLL_ReleaseDC
mov edi, dword [ebp - 0x801c]
mov esi, edi
and esi, 0xff
push esi
mov esi, edi
movzx esi, si
sar esi, 8
and esi, 0xff
push esi
mov esi, edi
shr esi, 0x10
and esi, 0xff
push esi
push edi
push str._r_nColor:_t0x_06X___Blue_02X_Green_02X_Red_02X__r_n_r_n
lea edi, [ebp - 0x8000]
push edi
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push 0x404094
push 0x404094
mov eax, dword [ebp - 0x8004]
sub eax, dword [ebp - 0x800c]
push eax
push str._____height:
mov eax, dword [ebp - 0x8010]
mov edx, dword [ebp - 0x8008]
sub edx, eax
push edx
push str._____width:
push dword [ebp - 0x800c]
push str._____top:
push eax
push str.left:
push 0x404094
push str.____________Active_Window_Position____________
push str._s_s_s_d_s_d_s_d_s_d_s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
add esp, 0x58
mov eax, dword [0x40301c]
cmp byte [eax], 0
je 0x401d18
lea ebx, [0x404094]
jmp 0x401d1e
lea ebx, [0x4043b4]
push ebx
push 0x404094
push dword [0x40301c]
push 0x404094
push str._____________Status_Bar_Text____________
push str._s_s_s_s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push 0x404094
push str._____________Visible_Window_Text_____________
push str._s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push dword [0x403028]
call fcn.00401748
push 0x404094
push str._____________Hidden_Window_Text_____________
push 0x404094
push str._s_s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push dword [0x403014]
call fcn.00401748
push 0x404094
push str.______TitleMatchModeslow_Visible_Text______
push 0x404094
push str._s_s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push dword [0x40300c]
call fcn.00401748
push 0x404094
push 0x40412c
push 0x404094
push str._s_s_s
lea eax, [ebp - 0x8000]
push eax
call sub.CRTDLL.DLL_sprintf
lea eax, [ebp - 0x8000]
push eax
call fcn.00401748
push dword [0x403008]
call fcn.00401748
add esp, 0x8c
push dword [0x403024]
push 0
push 0xc
push dword [section..bss]
call sub.USER32.DLL_SendMessageA
pop edi
pop esi
pop ebx
leave
ret