Function at 0x4a7c4d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
lea edi, [ebp - 0x2c]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
push dword [ebx + 0x100]
lea eax, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.0048fbeb
add esp, 0x10
push 0xfffffffffffffff0
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
mov dword [ebp + 0x10], eax
and ecx, 0x40
cmp cl, 0x40
jne 0x4a7d2f
push 0
push 1
push 0xf6
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [ebp - 4], eax
je 0x4a7eaa
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4a7cf9
lea eax, [ebp - 0x64]
push eax
push 0x18
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x60]
push dword [ebp - 0x30]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp + 0xc], eax
call edi
push dword [ebp - 0x34]
call edi
jmp 0x4a7d02
push 0x20
pop eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.004c70d8
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
jmp 0x4a7eaa
and ax, 0x80
cmp al, 0x80
jne 0x4a7dd0
push 0
push 0
push 0xf6
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [ebp + 8], eax
je 0x4a7eaa
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 0xc], eax
push eax
call edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
push 0x18
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetObjectA]
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push eax
call fcn.004c70d8
push 0xcc0020
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 4]
push dword [ebp + 0xc]
call edi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x4a7eaa
lea eax, [ebp - 0x190]
push 0x12c
push eax
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x65], 0
push 0
push 0
push 0x31
push dword [ebx + 0xac]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
push dword [eax + 0xf0]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x4c]
mov dword [ebp + 8], eax
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x190]
mov ecx, ebx
push eax
push esi
call fcn.004c71e8
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push eax
call fcn.004c70d8
mov ecx, ebx
call fcn.004c7235
push eax
lea eax, [ebp - 0x190]
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x58
push eax
push esi
call fcn.00490d42
add esp, 0x18
push dword [ebp - 4]
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [ebp - 0x1c]
push esi
call edi
push dword [ebp - 0x18]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
pop edi
pop esi
pop ebx
leave
ret 0xc