Function at 0x461f18
Capabilities:
Get graphical window text

Disassembly:
push 0x20
mov eax, 0x49afc0
call fcn.004648f7
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x40], esi
je 0x461f89
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 4]
jne 0x461f89
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x461f89
push dword [ebp - 0x18]
mov edi, dword [ebx + 4]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push esi
push esi
push 0xf2
push edi
cmp eax, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x461f7f
call edi
test al, 4
jne 0x461f89
push esi
push 1
push 0xf3
push dword [ebx + 4]
call edi
jmp 0x46210e
call edi
test al, 4
je 0x461f89
push esi
push esi
jmp 0x461f70
mov eax, dword [0x4bb02c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 0x18]
mov dword [ebp - 0x10], edi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.GDI32.dll_SaveDC]
push dword [ebx + 0x38]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
add esi, 0x1c
lea edi, [ebp - 0x2c]
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 esi, 0x104
push esi
lea ecx, [ebp - 0x14]
call fcn.0040a429
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a4ea
push 1
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
test al, 4
je 0x462039
lea eax, [ebx + 0x2c]
cmp dword [eax], 0
jne 0x462013
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045ced9
jmp 0x46202b
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.00461db1
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
jmp 0x4620c0
test al, 1
je 0x46204d
lea eax, [ebx + 0x28]
cmp dword [eax], 0
je 0x462056
sub esp, 0x10
mov edi, esp
push eax
jmp 0x4620ab
lea edx, [ebx + 0x24]
xor esi, esi
cmp dword [edx], esi
jne 0x46206d
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045ced9
jmp 0x4620bd
cmp dword [ebx + 0x44], esi
je 0x462081
lea ecx, [ebx + 0x30]
cmp dword [ecx], esi
je 0x462081
sub esp, 0x10
mov edi, esp
push ecx
jmp 0x4620ab
test al, 0x10
je 0x4620a5
lea eax, [ebx + 0x34]
cmp dword [eax], esi
je 0x4620a5
sub esp, 0x10
cmp dword [ebx + 0x40], esi
mov edi, esp
lea esi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
je 0x4620a2
lea eax, [ebx + 0x28]
push eax
jmp 0x4620b4
sub esp, 0x10
mov edi, esp
push edx
lea esi, [ebp - 0x2c]
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 ecx, ebx
lea eax, [ebp - 0x10]
push eax
call fcn.00461db1
push dword [ebx + 0x3c]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
push 0x25
lea edx, [ebp - 0x2c]
push edx
push ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea ecx, [ebp - 0x10]
call fcn.0040a281
cmp dword [ebp - 0x10], 0
je 0x462102
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a2c9
xor eax, eax
call fcn.004649cf
ret 0x10