Function at 0x413a00
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x9c
xor eax, eax
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x38]
mov ebx, ecx
stosd dword es:[edi], eax
push 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x413aa3
push 0x50f774
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x413aa3
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x413a63
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
movzx eax, al
cmp eax, 3
je 0x413a9f
cmp eax, 4
je 0x413a9f
cmp eax, 5
je 0x413a9f
cmp eax, 6
je 0x413a9f
cmp eax, 7
je 0x413a9f
cmp eax, 8
je 0x413a9f
cmp eax, 9
je 0x413a9f
cmp eax, 0xd
je 0x413a9f
cmp eax, 0xe
je 0x413a9f
cmp eax, 0xf
jne 0x413aa3
and byte [ebx + 0x58], 0xfe
push 0x7f89
xor ebp, ebp
push ebp
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [ebx + 0x58], 1
mov dword [ebx + 0x2c], eax
je 0x413afd
cmp dword [ebx + 0x34], ebp
jne 0x413af1
push 0x5c
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.0041d6f0
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 [ebx + 0x58], 0x10
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x30], ebp
jne 0x413afd
mov ecx, ebx
call fcn.0041421f
mov edx, dword [0x533ab0]
lea edi, [ebx + 0x48]
mov esi, dword [0x533aa8]
sub edx, esi
mov eax, dword [0x533aac]
mov ecx, dword [0x533aa4]
sub eax, ecx
push ebp
push dword [0x533f64]
push ebp
push dword [ebx + 4]
push edx
push eax
push esi
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 [ebx + 0x24], ebp
jne 0x413b74
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x413b74
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bcbf
pop ecx
push esi
push eax
mov dword [ebx + 0x24], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
call fcn.00414407
cmp dword [ebx + 0x28], ebp
jne 0x413b9b
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x413b9b
cmp dword [ebx + 0x24], ebp
je 0x413bc3
push dword [ebx + 0x24]
mov ecx, ebx
call fcn.00413742
jmp 0x413bc3
push ebp
push 1
push 0x401
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebx + 4]
lea eax, [ebx + 0x38]
mov edx, dword [ebx + 0x28]
push ecx
push eax
push ecx
mov eax, esp
mov ecx, edi
push esi
mov dword [eax], edx
call fcn.00413874
test byte [ebx + 0x58], 1
je 0x413c73
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push closesocket
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
call fcn.00412869
test eax, eax
jne 0x413c63
push 6
pop ecx
push 0xc
pop esi
lea edi, [esp + 0x20]
mov dword [esp + 0x10], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push str.Anchor_Color
lea ecx, [esp + 0x20]
call fcn.004138fe
test eax, eax
jne 0x413c32
lea ecx, [esp + 0x20]
call fcn.0041396d
cmp eax, 0xffffffff
je 0x413c32
mov dword [ebx + 0x4c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
lea eax, [esp + 0x24]
push eax
push str.Anchor_Color_Visited
lea ecx, [esp + 0x20]
call fcn.004138fe
test eax, eax
jne 0x413c63
lea ecx, [esp + 0x20]
call fcn.0041396d
cmp eax, 0xffffffff
je 0x413c63
mov dword [ebx + 0x50], eax
cmp dword [esp + 0x14], ebp
je 0x413c73
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret