Function at 0x408e5c
Capabilities:
Get graphical window text

Disassembly:
push 0xac
mov eax, 0x4aac7b
call fcn.0043542c
mov ebx, ecx
mov dword [ebp - 0xa4], ebx
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebx + 4]
push 8
lea eax, [ebp - 0x3c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x408ef9
push str.static
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x408ef9
push ecx
push 0x100
xor esi, esi
push esi
mov ecx, edi
call fcn.00408a6f
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx eax, al
cmp eax, 3
je 0x408ef3
cmp eax, 4
je 0x408ef3
cmp eax, 5
je 0x408ef3
cmp eax, 6
je 0x408ef3
cmp eax, 7
je 0x408ef3
cmp eax, 8
je 0x408ef3
cmp eax, 9
je 0x408ef3
cmp eax, 0xd
je 0x408ef3
cmp eax, 0xe
je 0x408ef3
cmp eax, 0xf
jne 0x408efb
and byte [ebx + 0x58], 0xfe
jmp 0x408efb
xor esi, esi
push 0x7f89
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebx + 0x2c], eax
test byte [ebx + 0x58], 1
je 0x408f59
cmp dword [ebx + 0x34], esi
jne 0x408f4d
push 0x5c
push esi
lea eax, [ebp - 0xa0]
push eax
call fcn.00415710
add esp, 0xc
push esi
lea eax, [ebp - 0xa0]
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x34], eax
or byte [ebx + 0x58], 0x10
cmp dword [ebx + 0x30], esi
jne 0x408f59
mov ecx, ebx
call fcn.00409781
lea ecx, [ebx + 0x48]
mov edx, dword [edi]
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
push ecx
push esi
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
push edx
push str.tooltips_class32
call fcn.00408ace
lea edi, [ebx + 0x24]
mov dword [ebp - 0xb8], edi
cmp dword [edi], esi
jne 0x408fe8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xb4], eax
test eax, eax
jle 0x408fe8
mov dword [ebp - 4], esi
inc eax
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00413953
pop ecx
mov dword [edi], eax
or dword [ebp - 4], 0xffffffff
jmp 0x408fd0
cmp dword [edi], 0
je 0x408fe8
mov eax, dword [ebp - 0xb4]
inc eax
push eax
push dword [edi]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
call fcn.00409a11
cmp dword [ebx + 0x28], esi
jne 0x40900e
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x40900e
cmp dword [edi], 0
je 0x40903a
push dword [edi]
mov ecx, ebx
call fcn.00408b48
jmp 0x40903a
push esi
push 1
push 0x401
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 4]
push ecx
lea eax, [ebx + 0x38]
push eax
mov edx, dword [ebx + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
push esi
lea ecx, [ebx + 0x48]
call fcn.00408cd0
xor esi, esi
test byte [ebx + 0x58], 1
je 0x409115
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 4], 2
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push connect
lea ecx, [ebp - 0xb0]
call fcn.0040287d
test eax, eax
jne 0x4090f0
push 6
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
push 0xc
pop edi
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0xb0]
call fcn.00408d19
test eax, eax
jne 0x4090bb
lea ecx, [ebp - 0x2c]
call fcn.00408db3
cmp eax, 0xffffffff
je 0x4090bb
mov dword [ebx + 0x4c], eax
mov dword [ebp - 0xa4], edi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xb0]
call fcn.00408d19
test eax, eax
jne 0x4090f0
lea ecx, [ebp - 0x2c]
call fcn.00408db3
cmp eax, 0xffffffff
je 0x4090f0
mov dword [ebx + 0x50], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xb0], 0
je 0x40910f
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
call fcn.00435379
ret