Function at 0x462045
Capabilities:
Get graphical window text

Disassembly:
push 0x20
mov eax, 0x49b1e2
call fcn.00464aaa
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x40], esi
je 0x4620b6
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 4]
jne 0x4620b6
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x4620b6
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 0x4620ac
call edi
test al, 4
jne 0x4620b6
push esi
push 1
push 0xf3
push dword [ebx + 4]
call edi
jmp 0x46223b
call edi
test al, 4
je 0x4620b6
push esi
push esi
jmp 0x46209d
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.0040a5a8
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a669
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 0x462166
lea eax, [ebx + 0x2c]
cmp dword [eax], 0
jne 0x462140
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045cfb2
jmp 0x462158
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.00461dd3
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
jmp 0x4621ed
test al, 1
je 0x46217a
lea eax, [ebx + 0x28]
cmp dword [eax], 0
je 0x462183
sub esp, 0x10
mov edi, esp
push eax
jmp 0x4621d8
lea edx, [ebx + 0x24]
xor esi, esi
cmp dword [edx], esi
jne 0x46219a
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045cfb2
jmp 0x4621ea
cmp dword [ebx + 0x44], esi
je 0x4621ae
lea ecx, [ebx + 0x30]
cmp dword [ecx], esi
je 0x4621ae
sub esp, 0x10
mov edi, esp
push ecx
jmp 0x4621d8
test al, 0x10
je 0x4621d2
lea eax, [ebx + 0x34]
cmp dword [eax], esi
je 0x4621d2
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 0x4621cf
lea eax, [ebx + 0x28]
push eax
jmp 0x4621e1
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.00461dd3
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.0040a42e
cmp dword [ebp - 0x10], 0
je 0x46222f
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a449
xor eax, eax
call fcn.00464b82
ret 0x10