Function at 0x6903fe40
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x120
push ebp
push esi
push edi
mov edi, dword [esp + 0x130]
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
push edi
mov ebp, eax
sar ebp, 1
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
test esi, esi
je 0x690400b2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
neg ecx
push ebx
push ecx
neg edx
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [0x6908034c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call ebx
push 0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
push edx
dec eax
push eax
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edi, dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
dec eax
push eax
push ecx
push esi
call edi
mov edx, dword [0x69080350]
push edx
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
dec eax
dec ecx
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec eax
push edx
push eax
push esi
call edi
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push esi
call ebx
mov ecx, dword [0x69080354]
push ecx
push esi
mov dword [esp + 0x2c], eax
call ebx
push 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffe
lea eax, [edx + ebp + 3]
push eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [edx + ebp + 3]
push eax
push ecx
push esi
call edi
mov edi, dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
dec edx
push edx
mov edx, dword [esp + 0x14]
dec eax
inc ecx
push eax
inc edx
push ecx
push edx
push esi
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, 0xfffffffe
push eax
mov eax, dword [esp + 0x14]
add ecx, 0xfffffffe
add edx, 2
push ecx
add eax, 2
push edx
push eax
push esi
call edi
mov eax, dword [esp + 0x138]
test eax, eax
je 0x6903ffb9
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x69080340]
jmp 0x6903ffce
push 0x13
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x69080344]
push eax
push esi
call ebx
test eax, eax
je 0x69040077
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
dec ecx
lea ebp, [eax + ebp + 3]
inc eax
push ebp
push ecx
inc edx
push eax
push edx
push esi
mov dword [esp + 0x30], ebp
call edi
mov eax, dword [0x69080348]
push eax
push esi
call ebx
mov ebp, eax
test ebp, ebp
je 0x6904007b
mov edx, dword [esp + 0x134]
lea ecx, [esp + 0x30]
push 0xff
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x28]
mov edi, eax
push ecx
lea edx, [esp + 0x34]
push edi
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x2c]
push edi
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
sub eax, edx
push ecx
mov ecx, dword [esp + 0x20]
sub eax, ecx
push 4
cdq
sub eax, edx
push 1
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutA]
jmp 0x6904007b
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x69040087
push eax
push esi
call ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x69040093
push eax
push esi
call ebx
test ebp, ebp
je 0x6904009b
push ebp
push esi
call ebx
mov edx, dword [esp + 0x134]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
mov edi, dword [esp + 0x130]
mov eax, dword [esp + 0x138]
push eax
push edi
call fcn.690400d0
pop edi
pop esi
pop ebp
add esp, 0x120
ret 0xc