Function at 0x49ee44
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4e1e1c
call fcn.0046d048
sub esp, 0x158
push ebx
push esi
push edi
lea eax, [ebp - 0x164]
mov ebx, ecx
push 0xff
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x38]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
xor esi, esi
push eax
push ecx
push dword [ebp + 8]
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x60], eax
push 0xfffffffffffffff0
mov byte [ebp - 4], 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, ebx
call fcn.004aee77
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x49eee4
push esi
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004afaf9
jmp 0x49ef0a
push 0xf
call fcn.00482e42
pop ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push esi
lea eax, [ebp - 0x38]
push esi
push eax
push 2
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
lea ecx, [ebx + 0x34]
push edi
push 0x51de1c
call fcn.00483f9a
cmp eax, 0xffffffff
je 0x49f03a
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x38]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], eax
push edi
mov ecx, ebx
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
push 0xf
push dword [ebx + 4]
call fcn.004afe5e
lea esi, [ebp - 0x5c]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
push dword [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x48], 0xc
sub dword [ebp - 0x44], 5
sub dword [ebp - 0x40], 5
lea esi, [eax + 5]
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x10]
sub esi, dword [ebp - 0x58]
sub edi, dword [ebp - 0x5c]
push 0xf
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
xor eax, eax
push 0xcc0020
push eax
push eax
push dword [ebp - 0x14]
push esi
push edi
push eax
push eax
push dword [ebp - 0x1c]
call fcn.0049a99f
add esp, 0x28
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
xor edi, edi
cmp dword [ebp - 0x24], edi
je 0x49f014
push dword [ebp - 0x24]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
jmp 0x49f01a
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x3c], edi
je 0x49f024
push dword [ebp - 0x3c]
call esi
cmp dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
je 0x49f036
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
xor edi, edi
jmp 0x49f040
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor ecx, ecx
cmp eax, edi
sete cl
lea eax, [ebp - 0x164]
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0049ebb9
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, ebx
mov dword [ebp - 0x20], eax
call fcn.0049f13b
mov ebx, dword [sym.imp.GDI32.dll_SelectClipRgn]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call ebx
mov eax, dword [ebp - 0x2c]
push 0xffffffffffffffff
sub eax, dword [ebp - 0x34]
push 0xcc0020
push edi
push edi
push dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
push eax
push edi
push edi
push dword [ebp + 8]
call fcn.0049a99f
add esp, 0x28
push dword [ebp - 0x20]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_RestoreDC]
push edi
push dword [ebp + 8]
call ebx
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x49f0df
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x10], edi
je 0x49f0f4
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x49f0f4
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x28], edi
je 0x49f0fe
push dword [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x49f10f
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x18], edi
je 0x49f119
push dword [ebp - 0x18]
call esi
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4