Function at 0x40698e
Capabilities:
Get graphical window text

Disassembly:
push 0x3c
mov eax, 0x436b24
call fcn.0041e3dd
xor eax, eax
xor esi, esi
mov word [ebp - 0x3c], si
lea edi, [ebp - 0x3a]
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 - 0x3c]
mov ebx, ecx
push eax
push dword [ebx + 4]
mov dword [ebp - 0x44], ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x406a3c
push 0x43b1e0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x406a3c
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x4069fa
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
and eax, 0xff
cmp eax, 3
je 0x406a38
cmp eax, 4
je 0x406a38
cmp eax, 5
je 0x406a38
cmp eax, 6
je 0x406a38
cmp eax, 7
je 0x406a38
cmp eax, 8
je 0x406a38
cmp eax, 9
je 0x406a38
cmp eax, 0xd
je 0x406a38
cmp eax, 0xe
je 0x406a38
cmp eax, 0xf
jne 0x406a3c
and byte [ebx + 0x58], 0xfe
push 0x7f89
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [ebx + 0x58], 1
mov dword [ebx + 0x2c], eax
je 0x406a70
cmp dword [ebx + 0x34], esi
jne 0x406a62
call fcn.004030d3
or byte [ebx + 0x58], 0x10
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x30], esi
jne 0x406a70
mov esi, ebx
call fcn.00406efb
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, dword [0x444790]
mov edx, dword [0x44478c]
push esi
push dword [0x445bc8]
push esi
push eax
mov eax, dword [0x444788]
sub ecx, eax
push ecx
mov ecx, dword [0x444784]
sub edx, ecx
push edx
push eax
push ecx
push esi
push esi
push str.tooltips_class32
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x24], esi
jne 0x406b0c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x40], edi
jle 0x406b0c
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
mov dword [ebp - 4], esi
neg ecx
or ecx, eax
push ecx
call fcn.00419196
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebx + 0x24], eax
jmp 0x406af7
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x406b0a
inc edi
push edi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor esi, esi
mov eax, ebx
call fcn.0040700c
cmp dword [ebx + 0x28], esi
jne 0x406b32
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x406b32
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x406b5d
push eax
push ebx
call fcn.00406603
jmp 0x406b5d
push esi
push 1
push 0x401
lea edi, [ebx + 0x48]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebx + 0x38]
push eax
push ecx
mov ecx, dword [ebx + 0x28]
mov eax, esp
mov dword [ebp - 0x40], esp
mov dword [eax], ecx
push dword [ebx + 4]
push edi
call fcn.00406ddd
test byte [ebx + 0x58], 1
je 0x406c0d
lea eax, [ebp - 0x48]
push eax
push 0x2001f
push esi
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
mov dword [ebp - 0x48], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x406c0d
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov word [ebp - 0x2c], si
xor eax, eax
lea edi, [ebp - 0x2a]
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 - 0x40]
push eax
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x44], 0xc
call fcn.0040306c
test eax, eax
jne 0x406bd0
mov eax, edi
call fcn.00406f8c
cmp eax, 0xffffffff
je 0x406bd0
mov dword [ebx + 0x4c], eax
push str.Anchor_Color_Visited
lea eax, [ebp - 0x40]
push eax
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x44], 0xc
call fcn.0040306c
test eax, eax
jne 0x406bfe
mov eax, edi
call fcn.00406f8c
cmp eax, 0xffffffff
je 0x406bfe
mov dword [ebx + 0x50], eax
cmp dword [ebp - 0x48], 0
je 0x406c0d
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041e439
ret