Function at 0x480af6d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x480c7f50
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x480d40c0]
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
xor eax, eax
mov dword [ebp - 0xa0], edi
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x24]
push 8
push eax
push dword [edi + 4]
movq qword [ebp - 0x22], xmm0
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x480af7ab
push str.static
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x480af7ab
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x480af769
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 0x480af7a7
cmp eax, 4
je 0x480af7a7
cmp eax, 5
je 0x480af7a7
cmp eax, 6
je 0x480af7a7
cmp eax, 7
je 0x480af7a7
cmp eax, 8
je 0x480af7a7
cmp eax, 9
je 0x480af7a7
cmp eax, 0xd
je 0x480af7a7
cmp eax, 0xe
je 0x480af7a7
cmp eax, 0xf
jne 0x480af7ab
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [edi + 0x58], 1
mov dword [edi + 0x2c], eax
je 0x480af818
cmp dword [edi + 0x34], 0
jne 0x480af80b
push 0x58
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0
push 0
push eax
call fcn.480b7490
add esp, 0xc
lea eax, [ebp - 0x98]
push 0
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]
or byte [edi + 0x58], 0x10
mov dword [edi + 0x34], eax
cmp dword [edi + 0x30], 0
jne 0x480af818
mov ecx, edi
call fcn.480aec10
mov eax, dword [0x480d55e4]
mov edx, dword [0x480d55dc]
sub eax, edx
mov ecx, dword [0x480d55d8]
push 0
push dword [0x480d61f4]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x480d55e0]
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 0x480af8c8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x9c], esi
test esi, esi
jle 0x480af8c8
xor ecx, ecx
mov dword [ebp - 4], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.480b6c02
add esp, 4
mov dword [edi + 0x24], eax
jmp 0x480af8ac
mov ecx, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x480af8c8
lea eax, [esi + 1]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.480ae6b0
cmp dword [edi + 0x28], 0
jne 0x480af8f0
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x480af8f0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x480af91b
push eax
mov ecx, edi
call fcn.480b23e0
jmp 0x480af91b
push 0
push 1
push 0x401
push dword [edi + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea eax, [edi + 0x38]
push eax
mov eax, dword [edi + 0x28]
push ecx
mov edx, esp
lea ecx, [edi + 0x48]
mov dword [edx], eax
push dword [edi + 4]
call fcn.480aded0
test byte [edi + 0x58], 1
je 0x480afa03
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
call fcn.480b03a0
test eax, eax
jne 0x480af9f2
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x2a], eax
xorps xmm0, xmm0
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x9c], 0xc
push eax
push str.Anchor_Color
movdqu xmmword [ebp - 0x3a], xmm0
call fcn.480b1170
test eax, eax
jne 0x480af9b5
lea eax, [ebp - 0x3c]
push eax
call fcn.480b30b0
add esp, 4
cmp eax, 0xffffffff
je 0x480af9b5
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xac]
call fcn.480b1170
test eax, eax
jne 0x480af9f2
lea eax, [ebp - 0x3c]
push eax
call fcn.480b30b0
add esp, 4
cmp eax, 0xffffffff
je 0x480af9f2
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x480afa03
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.480b6e24
mov esp, ebp
pop ebp
ret