Function at 0x41030e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x44b4b8]
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 0x4103c1
push str.static
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4103c1
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 0x41037f
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 0x4103bd
cmp eax, 4
je 0x4103bd
cmp eax, 5
je 0x4103bd
cmp eax, 6
je 0x4103bd
cmp eax, 7
je 0x4103bd
cmp eax, 8
je 0x4103bd
cmp eax, 9
je 0x4103bd
cmp eax, 0xd
je 0x4103bd
cmp eax, 0xe
je 0x4103bd
cmp eax, 0xf
jne 0x4103c1
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 0x41046d
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 0x410404
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], edi
je 0x41046d
cmp dword [esi + 0x30], edi
jne 0x41046d
push 0x58
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], edi
push edi
push eax
call fcn.0041e790
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 0x41044b
mov dword [ebp - 0x80], 0x2bc
jmp 0x410459
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 [0x44c5e0]
lea ebx, [esi + 0x48]
mov edx, dword [0x44c5d8]
sub eax, edx
mov ecx, dword [0x44c5d4]
push edi
push dword [0x44d540]
push edi
push dword [esi + 4]
push eax
mov eax, dword [0x44c5dc]
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 0x4104f2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jle 0x4104f0
lea eax, [edi*2 + 2]
call fcn.0042c250
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 0x4104f0
push dword [ebp - 0x94]
mov ecx, esi
call fcn.0040fd7e
xor edi, edi
mov ecx, esi
call fcn.0040fee8
cmp dword [esi + 0x28], edi
jne 0x41051a
mov eax, dword [esi + 0x54]
shr eax, 2
test al, 1
jne 0x41051a
cmp dword [esi + 0x24], 0
je 0x410541
push dword [esi + 0x24]
mov ecx, esi
call fcn.004100eb
jmp 0x410541
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.0041017e
test byte [esi + 0x58], 1
je 0x41060b
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.0040b0b3
test eax, eax
jne 0x4105f6
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.004101fe
test eax, eax
jne 0x4105c1
lea ecx, [ebp - 0x2c]
call fcn.00410271
cmp eax, 0xffffffff
je 0x4105c1
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.004101fe
test eax, eax
jne 0x4105f6
lea ecx, [ebp - 0x2c]
call fcn.00410271
cmp eax, 0xffffffff
je 0x4105f6
mov dword [esi + 0x50], eax
cmp dword [ebp - 0xa0], 0
je 0x41060b
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.0041d4e3
mov esp, ebp
pop ebp
ret