Function at 0x4a0890
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bda8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5e173c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0xb0], edi
xor eax, eax
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
movq qword [ebp - 0x22], xmm0
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
push 8
lea eax, [ebp - 0x24]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4a096b
push str.static
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4a096b
push 0xfffffffffffffff0
push dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4a0929
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
and eax, 0xff
cmp eax, 3
je 0x4a0967
cmp eax, 4
je 0x4a0967
cmp eax, 5
je 0x4a0967
cmp eax, 6
je 0x4a0967
cmp eax, 7
je 0x4a0967
cmp eax, 8
je 0x4a0967
cmp eax, 9
je 0x4a0967
cmp eax, 0xd
je 0x4a0967
cmp eax, 0xe
je 0x4a0967
cmp eax, 0xf
jne 0x4a096b
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0x2c], eax
test byte [edi + 0x58], 1
je 0x4a09d8
cmp dword [edi + 0x34], 0
jne 0x4a09cb
mov dword [ebp - 0xa8], 0
push 0x58
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.0056cbb0
add esp, 0xc
push 0
lea eax, [ebp - 0xa8]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 0x34], eax
or byte [edi + 0x58], 0x10
cmp dword [edi + 0x30], 0
jne 0x4a09d8
mov ecx, edi
call fcn.004a07a0
push 0
push dword [0x7e06a4]
push 0
push dword [edi + 4]
mov eax, dword [0x5e25d0]
mov edx, dword [0x5e25c8]
sub eax, edx
push eax
mov eax, dword [0x5e25cc]
mov ecx, dword [0x5e25c4]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x48], eax
cmp dword [edi + 0x24], 0
jne 0x4a0a8f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0xac], esi
test esi, esi
jle 0x4a0a8f
mov dword [ebp - 4], 0
lea eax, [esi + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
add esp, 4
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4a0a7a
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4a0a8f
lea eax, [esi + 1]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.004a0bf0
cmp dword [edi + 0x28], 0
jne 0x4a0ab7
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x4a0ab7
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4a0ae1
push eax
mov ecx, edi
call fcn.004a1040
jmp 0x4a0ae1
push 0
push 1
push 0x401
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
lea eax, [edi + 0x38]
push eax
mov edx, dword [edi + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
push dword [edi + 4]
lea ecx, [edi + 0x48]
call fcn.004a0fe0
test byte [edi + 0x58], 1
je 0x4a0bc7
xorps xmm0, xmm0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 2
sub esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.0049f540
test eax, eax
jne 0x4a0ba4
mov word [ebp - 0x3c], ax
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x3a], xmm0
mov dword [ebp - 0x2a], eax
mov word [ebp - 0x26], ax
mov dword [ebp - 0xac], 0xc
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x3c]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0x48]
call fcn.0049f5d0
test eax, eax
jne 0x4a0b6e
lea ecx, [ebp - 0x3c]
call fcn.004a1170
cmp eax, 0xffffffff
je 0x4a0b6e
mov dword [edi + 0x4c], eax
mov dword [ebp - 0xac], 0xc
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x3c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x48]
call fcn.0049f5d0
test eax, eax
jne 0x4a0ba4
lea ecx, [ebp - 0x3c]
call fcn.004a1170
cmp eax, 0xffffffff
je 0x4a0ba4
mov dword [edi + 0x50], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4a0bc0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00564de8
mov esp, ebp
pop ebp
ret