Function at 0x457180
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x448
push esi
mov esi, ecx
mov eax, dword [esi + 0xfe8]
test eax, eax
je 0x45719f
cmp dword [eax + 8], edx
je 0x4571ab
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x457193
xor eax, eax
pop esi
add esp, 0x448
ret 4
push ebx
push ebp
push edi
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4573c8
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4571e9
mov eax, dword [esp + 0x45c]
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, 0x448
ret 4
mov edx, edi
mov ecx, esi
call fcn.00456ff0
test eax, eax
jne 0x45721a
mov ecx, dword [esp + 0x45c]
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, 0x448
ret 4
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x70]
push edx
push 0x3e7
push 0xd
push edi
call ebp
mov al, byte [esp + 0x70]
test al, al
je 0x457360
mov eax, dword [esi + 0xc8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4573c8
mov ecx, dword [esi + 0xc8]
push 0
push 0
push 0x31
push ecx
call ebp
lea edx, [esp + 0x34]
push edx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x457293
mov eax, dword [esi + 0xc8]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret 4
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x4d], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ebp, eax
test ebp, ebp
jne 0x4572c9
mov edx, dword [esi + 0xc8]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret 4
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0xc8]
push 2
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov al, byte [esp + 0x70]
test al, al
je 0x457337
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push 0x2c10
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], edx
push 0xffffffffffffffff
lea edx, [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
push edx
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0xc8]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x457398
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc8]
push 2
lea eax, [esp + 0x14]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add edx, 0xa
add eax, 0xa
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x45c]
push ecx
push 0
push 0xc
push edi
call ebp
mov eax, dword [esi + 0xc8]
push 1
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0xc8]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x448
ret 4