Function at 0x4057b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c450
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x94], edi
mov word [ebp - 0x24], ax
xorps xmm0, xmm0
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x24]
push 8
push eax
push dword [edi + 4]
movq qword [ebp - 0x22], xmm0
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x40588b
push str.static
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x40588b
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
mov ecx, eax
or ecx, 0x100
cmp eax, ecx
je 0x405849
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
and eax, 0xff
cmp eax, 3
je 0x405887
cmp eax, 4
je 0x405887
cmp eax, 5
je 0x405887
cmp eax, 6
je 0x405887
cmp eax, 7
je 0x405887
cmp eax, 8
je 0x405887
cmp eax, 9
je 0x405887
cmp eax, 0xd
je 0x405887
cmp eax, 0xe
je 0x405887
cmp eax, 0xf
jne 0x40588b
and byte [edi + 0x58], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [edi + 0x58], 1
mov dword [edi + 0x2c], eax
je 0x4058ec
cmp dword [edi + 0x34], 0
jne 0x4058df
push 0x58
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push eax
call fcn.00417930
add esp, 0xc
lea eax, [ebp - 0x80]
push 0
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [edi + 0x58], 0x10
mov dword [edi + 0x34], eax
cmp dword [edi + 0x30], 0
jne 0x4058ec
mov ecx, edi
call fcn.00404550
mov eax, dword [0x43a028]
mov edx, dword [0x43a020]
sub eax, edx
mov ecx, dword [0x43a01c]
push 0
push dword [0x440910]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x43a024]
sub eax, ecx
push eax
push edx
push ecx
push 0
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x48], eax
cmp dword [edi + 0x24], 0
jne 0x40599c
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov dword [ebp - 0x84], esi
test esi, esi
jle 0x40599c
xor ecx, ecx
mov dword [ebp - 4], 0
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00417498
add esp, 4
mov dword [edi + 0x24], eax
jmp 0x405980
mov ecx, dword [edi + 0x24]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x40599c
lea eax, [esi + 1]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.004040c0
cmp dword [edi + 0x28], 0
jne 0x4059c4
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x4059c4
mov eax, dword [edi + 0x24]
test eax, eax
je 0x405a00
push eax
mov ecx, edi
call fcn.00407b50
jmp 0x405a00
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x401
push dword [edi + 0x48]
call esi
push 0
push dword [edi + 0x28]
lea eax, [edi + 0x38]
push eax
push 1
push dword [edi + 4]
lea ecx, [ebp - 0x54]
push 0
call fcn.00405b40
lea eax, [ebp - 0x54]
push eax
push 0
push 0x432
push dword [edi + 0x48]
call esi
test byte [edi + 0x58], 1
je 0x405ae8
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push SysReAllocString
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
call fcn.00406470
test eax, eax
jne 0x405ad7
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x2a], eax
xorps xmm0, xmm0
mov word [ebp - 0x26], ax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x84], 0xc
push eax
push str.Anchor_Color
movdqu xmmword [ebp - 0x3a], xmm0
call fcn.00406d30
test eax, eax
jne 0x405a9a
lea eax, [ebp - 0x3c]
push eax
call fcn.00408710
add esp, 4
cmp eax, 0xffffffff
je 0x405a9a
mov dword [edi + 0x4c], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x90]
call fcn.00406d30
test eax, eax
jne 0x405ad7
lea eax, [ebp - 0x3c]
push eax
call fcn.00408710
add esp, 4
cmp eax, 0xffffffff
je 0x405ad7
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x405ae8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret