Function at 0x467630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push esi
mov esi, ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x2d4]
push edi
push ecx
call ebx
lea edx, [ebp - 0x4c]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esi + 0x2d4]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x2d4]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 0x2d8]
push edx
call ebx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [esi + 0x2d8]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x2d8]
push 0x400
lea ecx, [ebp - 0x84c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
cdq
sub eax, edx
push 0
mov edi, eax
sar edi, 1
cmp dword [0x5f7bf0], 0
push 0
push 0x101f
jne 0x467850
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 4]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x19
lea ecx, [edi - 0xa]
push ecx
add edx, 0xffffffe7
push edx
push 0
push eax
mov eax, dword [esi + 0x2d8]
push eax
call ebx
mov ecx, dword [esi + 4]
push 0
push 0
push 0x101f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
push 0x40
push 0x17
lea edx, [edi - 0x14]
push edx
mov edx, dword [esi + 0x2d4]
add ecx, 0xffffffe8
push ecx
push 0xa
push eax
push edx
call ebx
mov eax, dword [esi + 0x2f8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [ebp - 0x4c]
push ecx
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp + 0x14]
mov eax, dword [esi + 0x2f8]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x2f8]
push 0x400
lea eax, [ebp - 0x84c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x40
push 0x19
push eax
sub eax, edi
add edx, 0xffffffe7
push edx
sub eax, 0xa
push eax
mov eax, dword [esi + 0x2f8]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x2f0]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
lea edx, [ebp - 0x4c]
push edx
push eax
mov dword [ebp + 0x14], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x2f0]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 4]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x2f0]
push 0x400
lea ecx, [ebp - 0x84c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x40
push 0x17
lea ecx, [eax - 1]
push ecx
sub eax, edi
add edx, 0xffffffe8
push edx
add eax, 0xa
push eax
mov eax, dword [esi + 0x2f0]
push 0
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
call edi
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x19
push edx
mov edx, dword [esi + 0x2d8]
add ecx, 0xffffffe7
push ecx
push 0
push eax
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push 0
push 0x101f
push eax
call edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
push 0x40
push 0x17
push ecx
add edx, 0xffffffe8
push edx
push 0xa
push eax
mov eax, dword [esi + 0x2d4]
push eax
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10