Function at 0x50070b63
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb0
push esi
mov esi, dword [ebp + 0x7c]
dec dword [esi + 0x28]
dec dword [esi + 0x24]
push edi
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push dword [ebx + 0x68]
mov dword [ebp + 0x70], eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 0x1c
lea edi, [ebp + 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [ebp + 0x40], eax
call esi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 6
mov dword [ebp + 0x44], eax
call esi
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push eax
push 0
push 0
call edi
push 0x14
mov dword [ebp + 0x4c], eax
call esi
push eax
push 0
push 0
call edi
push 0x10
mov dword [ebp + 0x2c], eax
call esi
push eax
push 0
push 0
call edi
push dword [ebp + 0x44]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x70]
mov dword [ebp + 0x48], eax
call edi
push dword [ebp + 0x4c]
mov dword [ebp + 0x14], eax
push dword [ebp + 0x70]
call edi
push dword [ebp + 0x40]
mov dword [ebp + 0x10], eax
push dword [ebp + 0x70]
call edi
push 0xf
mov dword [ebp + 0x40], eax
call esi
mov edi, dword [ebp + 0x70]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
mov dword [ebp + 0x20], eax
call esi
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push edi
mov dword [ebp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp + 0x18], eax
push 0x14
lea eax, [ebp - 4]
push eax
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [ebp + 0x44]
lea eax, [ebp + 0x60]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp + 0x7c]
lea esi, [ebp + 0x60]
lea edi, [ebp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x10]
test al, 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x60]
lea edi, [ebp + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
je 0x50070fa1
push dword [ebp + 0x64]
mov edi, dword [ebp + 0x70]
push dword [ebp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp + 0x64]
mov esi, dword [sym.imp.GDI32.dll_LineTo]
push dword [ebp + 0x68]
push edi
call esi
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push edi
call esi
push dword [ebp + 0x6c]
push dword [ebp + 0x60]
push edi
call esi
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push edi
call esi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0x48]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
push dword [ebp + 0x64]
push dword [ebp + 0x68]
push edi
call esi
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push edi
call esi
push dword [ebp + 0x6c]
push dword [ebp + 0x60]
push edi
call esi
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push edi
call esi
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [ebp + 0x6c]
sub eax, dword [ebp + 0x28]
push 0
sub eax, dword [ebp + 0x64]
cdq
sub eax, edx
sar eax, 1
add dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x60]
cdq
sub eax, edx
sar eax, 1
add dword [ebp + 0x60], eax
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 1
push 1
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 1
push 1
lea eax, [ebp + 0x50]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp + 0x4c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
lea eax, [ebp + 0x60]
je 0x50070e0e
push 0x4f
push eax
mov eax, dword [ebp + 0x64]
dec eax
push eax
push dword [ebp + 0x60]
mov eax, dword [ebp - 0x3c]
push edi
call fcn.50272bbe
test eax, eax
jge 0x50070e90
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff9
push eax
push dword [ebp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff5
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push edi
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffffa
push eax
mov eax, dword [ebp + 0x60]
add eax, 9
push eax
push edi
call esi
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff4
push eax
push dword [ebp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push edi
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff5
jmp 0x50070e85
push 0x4e
push eax
mov eax, dword [ebp + 0x64]
dec eax
push eax
push dword [ebp + 0x60]
mov eax, dword [ebp - 0x3c]
push edi
call fcn.50272bbe
test eax, eax
jge 0x50070e90
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff5
push eax
push dword [ebp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff9
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push edi
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff4
push eax
mov eax, dword [ebp + 0x60]
add eax, 9
push eax
push edi
call esi
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff0
push eax
push dword [ebp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff4
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push edi
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xffffffef
push eax
mov eax, dword [ebp + 0x60]
add eax, 9
push eax
push edi
call esi
mov eax, dword [ebp - 0x24]
add dword [ebp + 0x60], eax
push 0
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
inc dword [ebp + 0x30]
inc dword [ebp + 0x34]
lea eax, [ebp + 0x30]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 0
push 0x192
push 0x401
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [ebx + 0x6c]
call esi
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x70]
call esi
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x74]
call esi
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x48]
call esi
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x50071376
test al, 0x10
mov edi, dword [sym.imp.GDI32.dll_MoveToEx]
mov esi, dword [sym.imp.GDI32.dll_LineTo]
je 0x5007101b
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
push dword [ebp + 0x64]
push dword [ebp + 0x68]
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x6c]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call esi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0
push 0x192
push 0x401
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xfffffffffffffff0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffffffe
jmp 0x50071039
push 1
push 0x401
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xfffffffffffffff0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 1
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xfffffffffffffff0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffffffe
push eax
push 0xfffffffffffffff0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 1
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push dword [ebp + 0x6c]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x64]
dec eax
push eax
push dword [ebp + 0x68]
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x2c]
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x6c]
push 0
dec eax
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x64]
push dword [ebp + 0x68]
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x48]
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0x6c]
push 0
dec eax
push eax
mov eax, dword [ebp + 0x60]
inc eax
push eax
push dword [ebp + 0x70]
call edi
mov eax, dword [ebp + 0x6c]
dec eax
push eax
mov eax, dword [ebp + 0x68]
dec eax
push eax
push dword [ebp + 0x70]
call esi
push dword [ebp + 0x64]
mov eax, dword [ebp + 0x68]
dec eax
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax + 0x24]
push 0
push dword [ebp + 0x64]
dec eax
push eax
push dword [ebp + 0x70]
call edi
mov eax, dword [ebp + 0x7c]
push dword [ebp + 0x6c]
mov eax, dword [eax + 0x24]
dec eax
push eax
push dword [ebp + 0x70]
call esi
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov eax, dword [ebp + 0x6c]
sub eax, dword [ebp + 0x28]
push 0
sub eax, dword [ebp + 0x64]
cdq
sub eax, edx
sar eax, 1
add dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x60]
cdq
sub eax, edx
sar eax, 1
add dword [ebp + 0x60], eax
mov eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x60]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp + 0x4c]
push dword [ebp + 0x70]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
lea eax, [ebp + 0x60]
je 0x5007129d
push 0x4f
push eax
mov eax, dword [ebp + 0x64]
dec eax
push eax
push dword [ebp + 0x60]
mov eax, dword [ebp - 0x3c]
push dword [ebp + 0x70]
call fcn.50272bbe
test eax, eax
jge 0x50071325
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff9
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff5
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffffa
push eax
mov eax, dword [ebp + 0x60]
add eax, 9
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff4
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff0
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff5
jmp 0x50071318
push 0x4e
push eax
mov eax, dword [ebp + 0x64]
dec eax
push eax
push dword [ebp + 0x60]
mov eax, dword [ebp - 0x3c]
push dword [ebp + 0x70]
call fcn.50272bbe
test eax, eax
jge 0x50071325
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff5
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff9
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff4
push eax
mov eax, dword [ebp + 0x60]
add eax, 9
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x5c]
push 0
add eax, 0xfffffff0
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
call edi
mov eax, dword [ebp + 0x5c]
add eax, 0xfffffff4
push eax
mov eax, dword [ebp + 0x60]
add eax, 4
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp + 0x5c]
add eax, 0xffffffef
push eax
mov eax, dword [ebp + 0x60]
add eax, 9
push eax
push dword [ebp + 0x70]
call esi
mov eax, dword [ebp - 0x24]
add dword [ebp + 0x60], eax
push 0
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp + 0x7c]
test byte [eax + 0x10], 0x10
je 0x50071373
push 0xfffffffffffffffd
push 0xfffffffffffffffd
lea eax, [ebp + 0x30]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
inc dword [ebp + 0x30]
inc dword [ebp + 0x34]
lea eax, [ebp + 0x30]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov edi, dword [ebp + 0x70]
push dword [ebp + 0x14]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push dword [ebp + 0x10]
push edi
call esi
push dword [ebp + 0x40]
push edi
call esi
push dword [ebp + 0x20]
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp + 0x1c]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp + 0x18]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp + 0x44]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp + 0x4c]
call esi
push dword [ebp + 0x2c]
call esi
push dword [ebp + 0x48]
call esi
push edi
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
add ebp, 0x74
leave
ret 4