Function at 0x407c1f
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 0x407cca
push 0x442360
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x407cca
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 0x407c88
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 0x407cc6
cmp eax, 4
je 0x407cc6
cmp eax, 5
je 0x407cc6
cmp eax, 6
je 0x407cc6
cmp eax, 7
je 0x407cc6
cmp eax, 8
je 0x407cc6
cmp eax, 9
je 0x407cc6
cmp eax, 0xd
je 0x407cc6
cmp eax, 0xe
je 0x407cc6
cmp eax, 0xf
jne 0x407cca
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 0x407d28
cmp dword [esi + 0x34], ebp
jne 0x407d1c
push 0x58
lea eax, [esp + 0x50]
push ebp
push eax
mov dword [esp + 0x54], ebp
call fcn.004127f0
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 0x407d28
mov ecx, esi
call fcn.0040845a
mov edx, dword [0x44d9a0]
mov eax, dword [0x44d9a8]
mov ecx, dword [0x44d99c]
push ebp
push dword [0x44dfc4]
sub eax, edx
push ebp
push dword [esi + 4]
lea edi, [esi + 0x48]
push eax
mov eax, dword [0x44d9a4]
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 0x407da2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x407da2
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.00410697
pop ecx
mov dword [esi + 0x24], eax
test eax, eax
je 0x407da2
push ebx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
call fcn.0040863e
cmp dword [esi + 0x28], ebp
jne 0x407dca
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x407dca
cmp dword [esi + 0x24], ebp
je 0x407df1
push ebp
push dword [esi + 0x24]
mov ecx, esi
call fcn.004079fe
jmp 0x407df1
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.00407aac
test byte [esi + 0x58], 1
je 0x407ea8
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.00406b1c
test eax, eax
jne 0x407e98
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.00407b23
test eax, eax
jne 0x407e67
lea ecx, [esp + 0x30]
call fcn.00407b94
cmp eax, 0xffffffff
je 0x407e67
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.00407b23
test eax, eax
jne 0x407e98
lea ecx, [esp + 0x30]
call fcn.00407b94
cmp eax, 0xffffffff
je 0x407e98
mov dword [esi + 0x50], eax
cmp dword [esp + 0x14], ebp
je 0x407ea8
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret