Function at 0x4087ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
push edi
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
lea eax, [ebp - 0x1c]
push eax
push dword [ebx + 4]
call dword [0x43044c]
test eax, eax
je 0x408852
push str.static
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.l_mt5clwtst__lstrcmpiW]
test eax, eax
jne 0x408852
mov esi, dword [0x4304b0]
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x408810
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [0x4304b4]
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
and eax, 0xff
cmp eax, 3
je 0x40884e
cmp eax, 4
je 0x40884e
cmp eax, 5
je 0x40884e
cmp eax, 6
je 0x40884e
cmp eax, 7
je 0x40884e
cmp eax, 8
je 0x40884e
cmp eax, 9
je 0x40884e
cmp eax, 0xd
je 0x40884e
cmp eax, 0xe
je 0x40884e
cmp eax, 0xf
jne 0x408852
and byte [ebx + 0x58], 0xfe
push 0x7f89
xor edi, edi
push edi
call dword [0x4304b8]
test byte [ebx + 0x58], 1
mov dword [ebx + 0x2c], eax
je 0x4088b8
cmp dword [ebx + 0x34], edi
jne 0x4088ac
push 0x58
lea eax, [ebp - 0x94]
push edi
push eax
mov dword [ebp - 0x98], edi
call fcn.004243a0
add esp, 0xc
push edi
lea eax, [ebp - 0x98]
push eax
push 0x5c
push 0x1f
call dword [0x4303b4]
lea eax, [ebp - 0x98]
push eax
call dword [0x430104]
or byte [ebx + 0x58], 0x10
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x30], edi
jne 0x4088b8
mov esi, ebx
call fcn.00408fe4
mov eax, dword [ebx + 4]
mov ecx, dword [0x43cfbc]
mov edx, dword [0x43cfb8]
push edi
push dword [0x440604]
lea esi, [ebx + 0x48]
push edi
push eax
mov eax, dword [0x43cfb4]
sub ecx, eax
push ecx
mov ecx, dword [0x43cfb0]
sub edx, ecx
push edx
push eax
push ecx
push edi
push edi
push str.tooltips_class32
push edi
call dword [0x430468]
mov dword [esi], eax
cmp dword [ebx + 0x24], edi
jne 0x408936
push dword [ebx + 4]
call dword [0x4303e8]
cmp eax, edi
jle 0x408936
lea edi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042277d
pop ecx
mov dword [ebx + 0x24], eax
test eax, eax
je 0x408934
push edi
push eax
push dword [ebx + 4]
call dword [0x4303ec]
xor edi, edi
mov eax, ebx
call fcn.004091a4
cmp dword [ebx + 0x28], edi
jne 0x40895d
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x40895d
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x408982
push eax
mov esi, ebx
call fcn.004085bc
jmp 0x408982
push edi
push 1
push 0x401
push dword [esi]
call dword [0x430444]
lea eax, [ebx + 0x38]
push eax
push ecx
mov ecx, dword [ebx + 0x28]
mov eax, esp
mov dword [eax], ecx
push dword [ebx + 4]
push esi
call fcn.00408658
test byte [ebx + 0x58], 1
je 0x408a27
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
mov eax, 0x2001f
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.00407391
test eax, eax
jne 0x408a19
mov word [ebp - 0x34], ax
lea edi, [ebp - 0x32]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.Anchor_Color
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x34]
mov dword [ebp - 4], 0xc
call fcn.004086c3
test eax, eax
jne 0x4089e9
mov eax, edi
call fcn.0040872b
cmp eax, 0xffffffff
je 0x4089e9
mov dword [ebx + 0x4c], eax
push str.Anchor_Color_Visited
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 4]
lea edi, [ebp - 0x34]
mov dword [ebp - 4], 0xc
call fcn.004086c3
test eax, eax
jne 0x408a17
mov eax, edi
call fcn.0040872b
cmp eax, 0xffffffff
je 0x408a17
mov dword [ebx + 0x50], eax
xor edi, edi
cmp dword [ebp - 0xc], edi
je 0x408a27
push dword [ebp - 0xc]
call dword [0x430038]
pop edi
pop esi
leave
ret