Function at 0x4aa0e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7890
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x532804]
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 - 0x9c], edi
mov dword [ebp - 0xb4], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x3c], xmm0
push 8
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4aa1b3
push str.static
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4aa1b3
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4aa16f
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx eax, al
cmp eax, 3
je 0x4aa1af
cmp eax, 4
je 0x4aa1af
cmp eax, 5
je 0x4aa1af
cmp eax, 6
je 0x4aa1af
cmp eax, 7
je 0x4aa1af
cmp eax, 8
je 0x4aa1af
cmp eax, 9
je 0x4aa1af
cmp eax, 0xd
je 0x4aa1af
cmp eax, 0xe
je 0x4aa1af
cmp eax, 0xf
jne 0x4aa1b3
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 0x4aa216
cmp dword [edi + 0x34], 0
jne 0x4aa209
push 0x5c
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.004afbb4
add esp, 0xc
push 0
lea eax, [ebp - 0x98]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x98]
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 0x4aa216
mov ecx, edi
call fcn.004a7ba0
mov edx, dword [0x53203c]
mov esi, dword [0x532034]
sub edx, esi
mov eax, dword [0x532038]
mov ecx, dword [0x532030]
sub eax, ecx
push 0
push dword [0x53b9fc]
push 0
push dword [edi + 4]
push edx
push eax
push esi
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x48], eax
lea esi, [edi + 0x24]
mov dword [ebp - 0xb0], esi
cmp dword [esi], 0
jne 0x4aa2e0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xac], eax
test eax, eax
jle 0x4aa2e0
mov dword [ebp - 4], 0
lfence
inc eax
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004af47a
add esp, 4
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x4aa2c5
mov eax, dword [ebp - 0xac]
cmp dword [esi], 0
je 0x4aa2e0
lfence
inc eax
push eax
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.004a5510
cmp dword [edi + 0x28], 0
jne 0x4aa307
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x4aa307
mov eax, dword [esi]
test eax, eax
je 0x4aa33f
push eax
mov ecx, edi
call fcn.004acbb0
jmp 0x4aa33f
push 0
push 1
push 0x401
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x9c]
mov esi, dword [edx + 4]
push 1
lea eax, [edx + 0x38]
push eax
mov edx, dword [edx + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
push esi
lea ecx, [edi + 0x48]
call fcn.004a5080
mov edi, dword [ebp - 0x9c]
test byte [edi + 0x58], 1
je 0x4aa457
xorps xmm0, xmm0
movq qword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 2
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
lea ecx, [ebp - 0xa8]
call fcn.00451f40
test eax, eax
jne 0x4aa42b
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x9c], 0xc
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0xa8]
call fcn.00455e90
test eax, eax
jne 0x4aa3ee
lea eax, [ebp - 0x2c]
push eax
call fcn.004ae390
add esp, 4
cmp eax, 0xffffffff
je 0x4aa3ee
mov dword [edi + 0x4c], eax
mov dword [ebp - 0x9c], 0xc
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xa8]
call fcn.00455e90
test eax, eax
jne 0x4aa42b
lea eax, [ebp - 0x2c]
push eax
call fcn.004ae390
add esp, 4
cmp eax, 0xffffffff
je 0x4aa42b
mov dword [edi + 0x50], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4aa44d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 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.004aeb30
mov esp, ebp
pop ebp
ret