Function at 0x410943
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x44c4b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x12]
mov word [ebp - 0x14], ax
mov esi, ecx
stosd dword es:[edi], eax
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4109f6
push str.static
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4109f6
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 0x4109b4
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 0x4109f2
cmp eax, 4
je 0x4109f2
cmp eax, 5
je 0x4109f2
cmp eax, 6
je 0x4109f2
cmp eax, 7
je 0x4109f2
cmp eax, 8
je 0x4109f2
cmp eax, 9
je 0x4109f2
cmp eax, 0xd
je 0x4109f2
cmp eax, 0xe
je 0x4109f2
cmp eax, 0xf
jne 0x4109f6
and byte [esi + 0x58], 0xfe
push 0x7f89
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
xor ebx, ebx
mov dword [esi + 0x2c], eax
inc ebx
test byte [esi + 0x58], bl
je 0x410aa2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push edi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x34], eax
test eax, eax
jne 0x410a39
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], edi
je 0x410aa2
cmp dword [esi + 0x30], edi
jne 0x410aa2
push 0x58
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], edi
push edi
push eax
call fcn.0041ed30
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0x5c
push dword [esi + 0x34]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x410a80
mov dword [ebp - 0x80], 0x2bc
jmp 0x410a8e
test byte [esi + 0x54], 1
movzx eax, byte [ebp - 0x7b]
cmove eax, ebx
mov byte [ebp - 0x7b], al
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [esi + 0x58], 8
mov dword [esi + 0x30], eax
mov eax, dword [0x44d5e0]
lea ebx, [esi + 0x48]
mov edx, dword [0x44d5d8]
sub eax, edx
mov ecx, dword [0x44d5d4]
push edi
push dword [0x44e4e0]
push edi
push dword [esi + 4]
push eax
mov eax, dword [0x44d5dc]
sub eax, ecx
push eax
push edx
push ecx
push edi
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx], eax
cmp dword [esi + 0x24], edi
jne 0x410b27
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jle 0x410b25
lea eax, [edi*2 + 2]
call fcn.0042ca80
mov ecx, esp
lea eax, [edi + 1]
push eax
push ecx
push dword [esi + 4]
mov dword [ebp - 0x94], ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x410b25
push dword [ebp - 0x94]
mov ecx, esi
call fcn.004104be
xor edi, edi
mov ecx, esi
call fcn.0041051d
cmp dword [esi + 0x28], edi
jne 0x410b4f
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x410b4f
cmp dword [esi + 0x24], 0
je 0x410b76
push dword [esi + 0x24]
mov ecx, esi
call fcn.00410720
jmp 0x410b76
push edi
push 1
push 0x401
push dword [ebx]
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, ebx
mov dword [edx], eax
push dword [esi + 4]
call fcn.004107b3
test byte [esi + 0x58], 1
je 0x410c40
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push 0x80000001
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x98], edi
call fcn.0040ad04
test eax, eax
jne 0x410c2b
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
lea ecx, [ebp - 0xa0]
push 0xc
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
lea eax, [ebp - 0x94]
pop edi
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x94], edi
push eax
push str.Anchor_Color
call fcn.00410833
test eax, eax
jne 0x410bf6
lea ecx, [ebp - 0x2c]
call fcn.004108a6
cmp eax, 0xffffffff
je 0x410bf6
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], edi
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xa0]
call fcn.00410833
test eax, eax
jne 0x410c2b
lea ecx, [ebp - 0x2c]
call fcn.004108a6
cmp eax, 0xffffffff
je 0x410c2b
mov dword [esi + 0x50], eax
cmp dword [ebp - 0xa0], 0
je 0x410c40
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xb0]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041da8c
mov esp, ebp
pop ebp
ret