Function at 0x27614de6
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
jne 0x27614e18
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
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x27614e2c
push 0xfffffffffffffffa
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp + 0xc], eax
push ebx
call fcn.27615042
mov eax, dword [ebx + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp eax, edi
je 0x27614e4d
push eax
call fcn.27623a6c
push dword [ebx + 0x14]
call esi
mov dword [ebx + 0x14], edi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x48], edi
cmp eax, edi
mov dword [ebx + 0x40], edi
je 0x27614eb1
mov ecx, eax
shr ecx, 0x10
test cx, cx
je 0x27614e69
cmp byte [eax], 0
je 0x27614eb1
push 0x474
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebx + 0x14], eax
je 0x27614eb1
push 0x27633710
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.27623a1d
test eax, eax
jne 0x27614eba
push dword [ebp + 0x10]
push dword [ebx + 0x14]
call fcn.276239e9
test eax, eax
jne 0x27614eba
push dword [ebx + 0x14]
call fcn.27623a6c
push dword [ebx + 0x14]
call esi
mov dword [ebx + 0x14], edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
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 0x27614f6c
cmp dword [ebx + 8], edi
je 0x27614f6c
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.276151c5
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.27623d06
xor edi, edi
test byte [ebx + 0xc], 1
je 0x27614fc2
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]
test byte [ebx + 0xc], 4
je 0x2761500a
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push dword [ebx]
call dword [sym.imp.USER32.dll_PostMessageA]
push 1
pop eax
jmp 0x27614eb3
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]
jmp 0x27614fa0
push 1
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x27614fba