Function at 0x466f90
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10c8
call fcn.005d9990
push esi
mov esi, dword [esp + 0x10d0]
mov eax, dword [esi + 0x47e8]
test eax, eax
je 0x466fbf
mov ecx, dword [esp + 0x10d4]
cmp dword [eax + 8], ecx
je 0x466fc9
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x466fb3
xor eax, eax
pop esi
add esp, 0x10c8
ret
push ebx
push ebp
push edi
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4671ed
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x467005
mov eax, dword [esp + 0x10e4]
push eax
push 0
push 0xc
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10c8
ret
push edi
push esi
call fcn.00466df0
add esp, 8
test eax, eax
jne 0x467035
mov ecx, dword [esp + 0x10e4]
push ecx
push eax
push 0xc
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10c8
ret
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x74]
push 0x1068
push eax
call fcn.00423310
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 8
push eax
push 0xd
push edi
call ebp
mov al, byte [esp + 0x70]
test al, al
je 0x467185
mov ecx, dword [esi + 0x264]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4671ed
mov edx, dword [esi + 0x264]
push 0
push 0
push 0x31
push edx
call ebp
lea ecx, [esp + 0x34]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x4670ba
mov edx, dword [esi + 0x264]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10c8
ret
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x4d], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ebp, eax
test ebp, ebp
jne 0x4670ee
mov ecx, dword [esi + 0x264]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10c8
ret
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x264]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov al, byte [esp + 0x70]
test al, al
je 0x46715c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push 0x2c10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x20], ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
push ecx
push ebx
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_DrawTextA]
mov edx, dword [esp + 0x20]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x264]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x4671bd
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x264]
push 2
lea edx, [esp + 0x14]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ecx, 0xa
add edx, 0xa
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x10e4]
push eax
push 0
push 0xc
push edi
call ebp
mov edx, dword [esi + 0x264]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x264]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10c8
ret