Function at 0x407c18
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
push edi
xor eax, eax
mov word [esp + 0x20], ax
lea edi, [esp + 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 8
lea eax, [esp + 0x24]
mov esi, ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x407cc3
push 0x43e350
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x407cc3
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x407c81
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
and eax, 0xff
cmp eax, 3
je 0x407cbf
cmp eax, 4
je 0x407cbf
cmp eax, 5
je 0x407cbf
cmp eax, 6
je 0x407cbf
cmp eax, 7
je 0x407cbf
cmp eax, 8
je 0x407cbf
cmp eax, 9
je 0x407cbf
cmp eax, 0xd
je 0x407cbf
cmp eax, 0xe
je 0x407cbf
cmp eax, 0xf
jne 0x407cc3
and byte [esi + 0x58], 0xfe
push 0x7f89
xor ebp, ebp
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [esi + 0x58], 1
mov dword [esi + 0x2c], eax
je 0x407d21
cmp dword [esi + 0x34], ebp
jne 0x407d15
push 0x58
lea eax, [esp + 0x50]
push ebp
push eax
mov dword [esp + 0x54], ebp
call fcn.004127c0
add esp, 0xc
lea eax, [esp + 0x48]
push ebp
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 0x10
mov dword [esi + 0x34], eax
cmp dword [esi + 0x30], ebp
jne 0x407d21
mov ecx, esi
call fcn.00408453
mov edx, dword [0x4499a0]
mov eax, dword [0x4499a8]
mov ecx, dword [0x44999c]
push ebp
push dword [0x449ca4]
sub eax, edx
push ebp
push dword [esi + 4]
lea edi, [esi + 0x48]
push eax
mov eax, dword [0x4499a4]
sub eax, ecx
push eax
push edx
push ecx
push ebp
push ebp
push str.tooltips_class32
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
cmp dword [esi + 0x24], ebp
jne 0x407d9b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x407d9b
lea ebx, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410669
pop ecx
mov dword [esi + 0x24], eax
test eax, eax
je 0x407d9b
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
call fcn.00408637
cmp dword [esi + 0x28], ebp
jne 0x407dc3
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x407dc3
cmp dword [esi + 0x24], ebp
je 0x407dea
push ebp
push dword [esi + 0x24]
mov ecx, esi
call fcn.004079f7
jmp 0x407dea
push ebp
push 1
push 0x401
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
lea eax, [esi + 0x38]
push eax
mov eax, dword [esi + 0x28]
push ecx
mov edx, esp
mov ecx, edi
mov dword [edx], eax
push dword [esi + 4]
call fcn.00407aa5
test byte [esi + 0x58], 1
je 0x407ea1
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocStringLen
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.00406b15
test eax, eax
jne 0x407e91
mov word [esp + 0x30], ax
lea edi, [esp + 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
push 0xc
stosw word es:[edi], ax
pop edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
push str.Anchor_Color
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00407b1c
test eax, eax
jne 0x407e60
lea ecx, [esp + 0x30]
call fcn.00407b8d
cmp eax, 0xffffffff
je 0x407e60
mov dword [esi + 0x4c], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
push eax
push str.Anchor_Color_Visited
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], edi
call fcn.00407b1c
test eax, eax
jne 0x407e91
lea ecx, [esp + 0x30]
call fcn.00407b8d
cmp eax, 0xffffffff
je 0x407e91
mov dword [esi + 0x50], eax
cmp dword [esp + 0x14], ebp
je 0x407ea1
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret