Function at 0x407723
Capabilities:
Get graphical window text

Disassembly:
push 0x3c
mov eax, 0x4376ad
call fcn.0041ee06
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 0x4077d1
push 0x43bfc0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4077d1
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 0x40778f
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 0x4077cd
cmp eax, 4
je 0x4077cd
cmp eax, 5
je 0x4077cd
cmp eax, 6
je 0x4077cd
cmp eax, 7
je 0x4077cd
cmp eax, 8
je 0x4077cd
cmp eax, 9
je 0x4077cd
cmp eax, 0xd
je 0x4077cd
cmp eax, 0xe
je 0x4077cd
cmp eax, 0xf
jne 0x4077d1
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 0x407805
cmp dword [ebx + 0x34], esi
jne 0x4077f7
call fcn.004043fe
or byte [ebx + 0x58], 0x10
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x30], esi
jne 0x407805
mov esi, ebx
call fcn.00407c90
xor esi, esi
mov eax, dword [ebx + 4]
mov ecx, dword [0x445818]
mov edx, dword [0x445814]
push esi
push dword [0x446c68]
push esi
push eax
mov eax, dword [0x445810]
sub ecx, eax
push ecx
mov ecx, dword [0x44580c]
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 0x4078a1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x40], edi
jle 0x4078a1
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.00419bd8
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebx + 0x24], eax
jmp 0x40788c
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x40789f
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.00407da1
cmp dword [ebx + 0x28], esi
jne 0x4078c7
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x4078c7
mov eax, dword [ebx + 0x24]
cmp eax, esi
je 0x4078f2
push eax
push ebx
call fcn.00407398
jmp 0x4078f2
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.00407b72
test byte [ebx + 0x58], 1
je 0x4079a2
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 0x4079a2
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.00404397
test eax, eax
jne 0x407965
mov eax, edi
call fcn.00407d21
cmp eax, 0xffffffff
je 0x407965
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.00404397
test eax, eax
jne 0x407993
mov eax, edi
call fcn.00407d21
cmp eax, 0xffffffff
je 0x407993
mov dword [ebx + 0x50], eax
cmp dword [ebp - 0x48], 0
je 0x4079a2
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041ee62
ret