Function at 0x4b078e
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4d1ed8
call fcn.0045d02c
sub esp, 0x14c
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
xor esi, esi
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 4], esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
neg eax
neg ecx
push eax
lea eax, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push ecx
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 0x40], eax
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, 0xff00ff
mov dword [ebp - 0x44], eax
push edi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
push esi
lea eax, [ebp - 0x20]
push esi
push eax
push 2
push esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
xor eax, eax
cmp dword [ebx + 0x6c], esi
mov ecx, dword [ebx + 0x1c4]
push esi
sete al
mov dword [ebp - 0x48], eax
imul eax, eax, 0x148
mov dword [ebp - 0x24], eax
lea eax, [eax + ecx + 0xc64]
push edi
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
call fcn.0048b577
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x14
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x1c4]
mov ecx, dword [ebp - 0x24]
lea esi, [ebp - 0x3c]
mov ecx, dword [ecx + eax + 0xd88]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
add ecx, dword [ebp - 0x20]
sub eax, 0x10
mov dword [ebp - 0x3c], ecx
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x38], eax
lea eax, [ebx + 0x280]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
xor esi, esi
add eax, 0x10
mov dword [ebx + 0x288], eax
mov eax, dword [ebx + 0x284]
add eax, 0x10
cmp dword [ebx + 0x1c0], esi
mov dword [ebx + 0x28c], eax
jne 0x4b08e1
push dword [ebx + 4]
call fcn.0048ab4f
pop ecx
mov dword [ebx + 0x1c0], eax
mov ecx, dword [ebp - 0x3c]
push 3
push esi
push esi
push 0x10
push 0x10
push dword [ebx + 0x1c0]
push dword [ebp - 0x38]
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawIconEx]
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
push 0xff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x11
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x58], eax
add eax, 0x55
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x158]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [ebx + 0x1c4]
xor edi, edi
cmp dword [ebp - 0x48], edi
je 0x4b093f
add esi, 0xf5c
jmp 0x4b0945
add esi, 0xf30
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x24]
push eax
call fcn.004717f2
mov eax, dword [ebx + 0x1c4]
push edi
push edi
add eax, 0xef4
push esi
push eax
lea eax, [ebp - 0x58]
mov ecx, dword [0x510a54]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
call fcn.00475c3f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004717c9
push edi
push 0x1d
push dword [ebx + 0x248]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
lea eax, [ebp - 0x3c]
push dword [ebp - 0x10]
push eax
call fcn.004ab1ac
lea edi, [ebx + 0x250]
mov esi, eax
movsd dword es:[edi], dword [esi]
push 0
push 0x1e
push dword [ebx + 0x244]
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x3c]
push dword [ebp - 0x10]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.004ab1ac
lea edi, [ebx + 0x260]
mov esi, eax
movsd dword es:[edi], dword [esi]
push 0
push 0x1f
push dword [ebx + 0x24c]
lea eax, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x3c]
push dword [ebp - 0x10]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call fcn.004ab1ac
lea edi, [ebx + 0x270]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
xor edi, edi
sub eax, dword [ebp - 0x1c]
push 0xcc0020
push edi
push edi
push esi
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
call fcn.0048a8b0
add esp, 0x28
push dword [ebp - 0x44]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebp - 0x40], edi
je 0x4b0a46
push dword [ebp - 0x40]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp esi, edi
je 0x4b0a51
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00478f7b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret