Function at 0x44d4ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov byte [ebp - 2], cl
mov byte [ebp - 1], dl
mov esi, eax
mov eax, esi
call fcn.004325d4
push eax
call sub.user32.dll_GetWindowDC
mov ebx, eax
test ebx, ebx
je 0x44d77c
cmp byte [ebp + 8], 0
je 0x44d4f5
mov eax, 0xff000009
call fcn.0041ba70
mov dword [ebp - 8], eax
mov eax, 0xff000002
call fcn.0041ba70
mov edi, eax
jmp 0x44d50e
mov eax, 0xff000013
call fcn.0041ba70
mov dword [ebp - 8], eax
mov eax, 0xff000003
call fcn.0041ba70
mov edi, eax
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.0044c934
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.004325d4
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x28]
neg eax
push eax
mov eax, dword [ebp - 0x2c]
neg eax
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.user32.dll_OffsetRect
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x34]
push edx
dec eax
push eax
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_SetRect
push 1
push ebx
call sub.gdi32.dll_SetBkMode
push 5
call sub.gdi32.dll_GetStockObject
push eax
push ebx
call sub.gdi32.dll_SelectObject
push 8
call sub.gdi32.dll_GetStockObject
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov eax, 0xff000006
call fcn.0041ba70
push eax
push ebx
call sub.gdi32.dll_SetBkColor
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 2
push 0
push 0
push ebx
call sub.gdi32.dll_ExtTextOutA
cmp byte [ebp - 1], 0
je 0x44d5af
mov eax, dword [esi + 0x308]
add dword [ebp - 0x3c], eax
cmp byte [ebp + 0xc], 0
je 0x44d5be
mov eax, dword [esi + 0x308]
sub dword [ebp - 0x34], eax
cmp byte [ebp - 2], 0
je 0x44d5cd
mov eax, dword [esi + 0x308]
sub dword [ebp - 0x34], eax
push edi
call sub.gdi32.dll_CreateSolidBrush
mov edi, eax
push edi
push ebx
call sub.gdi32.dll_SelectObject
mov edi, eax
push 8
call sub.gdi32.dll_GetStockObject
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
inc eax
push eax
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push eax
push ebx
call sub.gdi32.dll_Rectangle
push edi
push ebx
call sub.gdi32.dll_SelectObject
mov edi, eax
push edi
call sub.gdi32.dll_DeleteObject
mov eax, esi
call fcn.004325d4
push eax
call sub.user32.dll_GetWindowTextLengthA
mov word [ebp - 0xa], ax
movzx edx, word [ebp - 0xa]
add edx, 2
mov eax, 0x42
call fcn.00406678
mov edi, eax
test edi, edi
je 0x44d733
movzx eax, word [ebp - 0xa]
inc eax
push eax
push edi
mov eax, esi
call fcn.004325d4
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.gdi32.dll_SetTextColor
mov dword [ebp - 8], eax
lea eax, [ebp - 0x78]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402af4
mov eax, dword [esi + 0x308]
mov edx, eax
sub edx, 3
neg edx
mov dword [ebp - 0x78], edx
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x5e], 0
mov byte [ebp - 0x5f], 0x12
cmp eax, 0x14
jl 0x44d696
mov dword [ebp - 0x68], 0x2bc
mov byte [ebp - 0x5d], 0x20
lea eax, [ebp - 0x78]
push eax
call sub.gdi32.dll_CreateFontIndirectA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
movzx eax, word [ebp - 0xa]
push eax
push edi
push ebx
call sub.gdi32.dll_GetTextExtentPointA
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
sub eax, edx
sub eax, dword [ebp - 0x18]
sar eax, 1
jns 0x44d6d5
adc eax, 0
add eax, edx
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
jns 0x44d6e7
adc ecx, 0
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
cmp eax, edx
jge 0x44d6f3
mov eax, edx
push 0
movzx edx, word [ebp - 0xa]
push edx
push edi
lea edx, [ebp - 0x3c]
push edx
push 4
mov edx, dword [ebp - 0x1c]
push edx
push eax
push ebx
call sub.gdi32.dll_ExtTextOutA
mov eax, dword [ebp - 0x10]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.gdi32.dll_SetTextColor
mov eax, edi
call fcn.004066a4
cmp byte [ebp - 1], 0
je 0x44d744
xor ecx, ecx
mov edx, ebx
mov eax, esi
call fcn.0044cd20
cmp byte [ebp - 2], 0
je 0x44d757
push 0
mov cl, 1
mov edx, ebx
mov eax, esi
call fcn.0044cfd4
cmp byte [ebp + 0xc], 0
je 0x44d76a
push 0
xor ecx, ecx
mov edx, ebx
mov eax, esi
call fcn.0044cfd4
mov byte [ebp - 3], 1
push ebx
mov eax, esi
call fcn.004325d4
push eax
call sub.user32.dll_ReleaseDC
mov al, byte [ebp - 3]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8