Function at 0x4acae2
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4f1998
call fcn.0047b598
sub esp, 0x14c
push ebx
push esi
lea eax, [ebp - 0x30]
push edi
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
xor edi, edi
cmp eax, edi
jne 0x4acb22
push 2
pop esi
jmp 0x4acb4d
push edi
push edi
push 0xf2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0x74], edi
je 0x4acb3b
push 1
jmp 0x4acb1f
push edi
push edi
mov ecx, ebx
call fcn.004c0b4f
mov esi, eax
neg esi
sbb esi, esi
and esi, 3
mov eax, dword [0x5308bc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x158]
push 0xff
push eax
mov dword [ebp - 4], edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x158]
test eax, eax
je 0x4acb84
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x158]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0049b666
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x30]
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x58], eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004bf8a8
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x4acbed
push edi
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004c0c7b
jmp 0x4acbf8
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004c0d13
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x19c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.004abdb6
cmp dword [ebp - 0x1c], 0
jne 0x4acc36
imul esi, esi, 0x174
mov eax, dword [ebx + 0x78]
lea edi, [esi + eax + 0x210]
jmp 0x4acc64
cmp dword [ebp - 0x1c], 1
jne 0x4acc4e
imul esi, esi, 0x174
mov eax, dword [ebx + 0x78]
lea edi, [esi + eax + 0x7e0]
jmp 0x4acc64
cmp dword [ebp - 0x1c], 2
jne 0x4acc64
imul esi, esi, 0x174
mov eax, dword [ebx + 0x78]
lea edi, [esi + eax + 0xdb0]
mov eax, dword [edi + 0x110]
sub eax, dword [edi + 0x118]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
jns 0x4acc85
xor eax, eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [edi + 0x118]
sub ecx, dword [edi + 0x110]
add ecx, eax
test byte [ebp - 0x44], 0x20
mov dword [ebp - 0x34], ecx
je 0x4accbb
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov eax, dword [edi + 0x10c]
sub eax, dword [edi + 0x114]
add eax, ecx
mov dword [ebp - 0x40], eax
add eax, 0xfffffffd
mov dword [ebp - 0x4c], eax
jmp 0x4accd4
and dword [ebp - 0x40], 0
mov eax, dword [edi + 0x114]
sub eax, dword [edi + 0x10c]
mov dword [ebp - 0x38], eax
add eax, 3
mov dword [ebp - 0x54], eax
push 1
push 0xff00ff
lea eax, [ebp - 0x40]
push edi
push eax
push dword [ebp - 0x10]
call fcn.004a9dee
mov eax, dword [ebp - 0x18]
xor esi, esi
add esp, 0x14
cmp dword [eax - 8], esi
je 0x4acd26
mov ebx, dword [ebx + 0x78]
cmp dword [ebx + 0x1380], esi
je 0x4acd26
push esi
add edi, 0x148
push esi
add ebx, 0x138c
push edi
lea eax, [ebp - 0x54]
mov ecx, dword [0x53c2f4]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
call fcn.00494459
push 0xffffffffffffffff
push 0xcc0020
push esi
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push esi
push esi
push dword [ebp + 8]
call fcn.004a9127
add esp, 0x28
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
cmp eax, esi
je 0x4acd63
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x10], esi
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x4acd7a
push dword [ebp - 0x10]
call ebx
cmp eax, esi
je 0x4acd7a
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x20], esi
je 0x4acd84
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x4acd91
push eax
mov dword [ebp - 0x10], esi
call ebx
cmp dword [ebp - 0x14], esi
je 0x4acd9b
push dword [ebp - 0x14]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0048ffe3
mov ecx, dword [ebp - 0xc]
push 1
pop eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4