Function at 0x40d241
Capabilities:
Get graphical window text

Disassembly:
push 0xac
mov eax, 0x456753
call fcn.0043cd1b
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0xb8], ebx
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
lea esi, [ebx + 4]
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x40d2de
push str.static
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40d2de
push ecx
push 0x100
xor edi, edi
mov ecx, esi
push edi
call fcn.0040e377
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
movzx eax, al
cmp eax, 3
je 0x40d2d8
cmp eax, 4
je 0x40d2d8
cmp eax, 5
je 0x40d2d8
cmp eax, 6
je 0x40d2d8
cmp eax, 7
je 0x40d2d8
cmp eax, 8
je 0x40d2d8
cmp eax, 9
je 0x40d2d8
cmp eax, 0xd
je 0x40d2d8
cmp eax, 0xe
je 0x40d2d8
cmp eax, 0xf
jne 0x40d2e0
and byte [ebx + 0x58], 0xfe
jmp 0x40d2e0
xor edi, edi
push 0x7f89
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [ebx + 0x58], 1
mov dword [ebx + 0x2c], eax
je 0x40d33e
cmp dword [ebx + 0x34], edi
jne 0x40d332
push 0x5c
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0043dd90
add esp, 0xc
lea eax, [ebp - 0xa0]
push edi
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [ebx + 0x58], 0x10
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x30], edi
jne 0x40d33e
mov ecx, ebx
call fcn.0040de2e
mov ecx, dword [esi]
push ecx
push ecx
mov eax, esp
push ecx
push edi
push ecx
push ecx
mov dword [eax], edi
mov eax, esp
push ecx
push str.tooltips_class32
lea ecx, [ebx + 0x48]
mov dword [eax], edi
call fcn.0040e327
lea esi, [ebx + 0x24]
mov dword [ebp - 0xa4], esi
cmp dword [esi], edi
jne 0x40d3cd
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0xa8], eax
test eax, eax
jle 0x40d3cd
xor ecx, ecx
mov dword [ebp - 4], edi
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043c1e2
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [esi], eax
jmp 0x40d3b5
cmp dword [esi], 0
je 0x40d3cd
mov eax, dword [ebp - 0xa8]
inc eax
push eax
push dword [esi]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
call fcn.0040d8d1
cmp dword [ebx + 0x28], edi
jne 0x40d3f3
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x40d3f3
cmp dword [esi], 0
je 0x40d41c
push dword [esi]
mov ecx, ebx
call fcn.0040dec8
jmp 0x40d41c
push edi
push 1
push 0x401
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x28]
lea eax, [ebx + 0x38]
push ecx
push eax
push ecx
mov eax, esp
lea ecx, [ebx + 0x48]
mov dword [eax], edx
push dword [ebx + 4]
call fcn.0040e2dc
test byte [ebx + 0x58], 1
je 0x40d4d6
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], edi
call fcn.0040e1a9
test eax, eax
jne 0x40d4cb
push 6
pop ecx
push 0xc
pop esi
lea edi, [ebp - 0x2c]
mov dword [ebp - 0xa4], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color
lea ecx, [ebp - 0xb4]
call fcn.0040e0d3
test eax, eax
jne 0x40d496
lea ecx, [ebp - 0x2c]
call fcn.0040db09
cmp eax, 0xffffffff
je 0x40d496
mov dword [ebx + 0x4c], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
push eax
lea eax, [ebp - 0x2c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0xb4]
call fcn.0040e0d3
test eax, eax
jne 0x40d4cb
lea ecx, [ebp - 0x2c]
call fcn.0040db09
cmp eax, 0xffffffff
je 0x40d4cb
mov dword [ebx + 0x50], eax
lea ecx, [ebp - 0xb4]
call fcn.0040e207
call fcn.0043cc68
ret