Function at 0x277b741f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
cmp dword [ebp + 0x14], 0x2a
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
je 0x277b7471
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x277b7448
push 0xfffffffffffffffa
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp + 0xc], eax
push ebx
call fcn.277b761b
mov eax, dword [ebx + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, edi
jne 0x277b7490
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x48], edi
cmp eax, edi
mov dword [ebx + 0x40], edi
jne 0x277b74a0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
lea eax, [ebp - 0x114]
push 0x104
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x114]
mov dword [ebp + 0x10], eax
jmp 0x277b7434
push eax
call fcn.277ba343
push dword [ebx + 0x14]
call esi
mov dword [ebx + 0x14], edi
jmp 0x277b745b
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x277b74af
cmp byte [eax], 0
je 0x277b7468
push 0x474
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebx + 0x14], eax
je 0x277b7468
push 0x27829488
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.277ba028
test eax, eax
jne 0x277b74fc
push dword [ebp + 0x10]
push dword [ebx + 0x14]
call fcn.277ba058
test eax, eax
jne 0x277b74fc
push dword [ebx + 0x14]
call fcn.277ba343
push dword [ebx + 0x14]
call esi
mov dword [ebx + 0x14], edi
jmp 0x277b7468
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov dword [ebx + 0x40], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x44], ecx
push dword [eax + 8]
lea ecx, [ebx + 0x30]
push dword [eax + 4]
push edi
push edi
push ecx
call dword [sym.imp.USER32.dll_SetRect]
test byte [ebx + 0xc], 2
je 0x277b75ae
cmp dword [ebx + 8], edi
je 0x277b75ae
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push 1
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push ebx
call fcn.277b766f
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_GetPixel]
push esi
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebx]
push edi
push 0x138
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
call dword [sym.imp.GDI32.dll_GetBkColor]
push edi
mov esi, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ReleaseDC]
push esi
push dword [ebp + 0xc]
push dword [ebx + 0x14]
call fcn.277ba6d3
xor edi, edi
test byte [ebx + 0xc], 1
jne 0x277c90be
lea esi, [ebx + 0x30]
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xffffffffffffffec
push dword [ebx]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
call esi
xor edi, edi
push eax
push edi
push 0xfffffffffffffff0
push dword [ebx]
call esi
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [ebp - 4]
push 0x16
sub eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push edi
push edi
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowPos]
test byte [ebx + 0xc], 4
jne 0x277c90f1
push 1
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x277b746a
lea eax, [ebp - 0x10]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebx + 0x3c]
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebx + 0x38]
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebx + 0x30]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x277b75fe
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x277b7613