Function at 0x417700
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push esi
xor eax, eax
xorps xmm0, xmm0
push edi
mov edi, ecx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x20]
push 8
push eax
push dword [edi + 4]
movq qword [ebp - 0x1e], xmm0
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x4177ae
push str.static
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4177ae
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 0x41776e
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [edi + 4]
call esi
movzx eax, al
cmp eax, 3
je 0x4177aa
cmp eax, 4
je 0x4177aa
cmp eax, 5
je 0x4177aa
cmp eax, 6
je 0x4177aa
cmp eax, 7
je 0x4177aa
cmp eax, 8
je 0x4177aa
cmp eax, 9
je 0x4177aa
cmp eax, 0xd
je 0x4177aa
cmp eax, 0xe
je 0x4177aa
cmp eax, 0xf
jne 0x4177ae
and byte [edi + 0x5c], 0xfe
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [edi + 0x5c], 1
mov dword [edi + 0x2c], eax
je 0x41785d
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x34], eax
test eax, eax
jne 0x4177f0
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [edi + 0x34], eax
mov esi, dword [edi + 0x34]
test esi, esi
je 0x41785d
cmp dword [edi + 0x30], 0
jne 0x41785d
push 0x5c
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00496a10
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [edi + 0x58]
and eax, 0x30
cmp al, 0x30
jne 0x417836
mov dword [ebp - 0x84], 0x2bc
jmp 0x417849
test byte [edi + 0x58], 1
mov ecx, 1
movzx eax, byte [ebp - 0x7f]
cmove eax, ecx
mov byte [ebp - 0x7f], al
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [edi + 0x5c], 8
mov dword [edi + 0x30], eax
mov eax, dword [0x4de034]
lea ebx, [edi + 0x48]
mov edx, dword [0x4de02c]
sub eax, edx
mov ecx, dword [0x4de028]
push 0
push dword [0x4e5410]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x4de030]
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 [ebx], eax
cmp dword [edi + 0x24], 0
jne 0x417940
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x417940
lea ebx, [eax + 1]
mov dword [ebp - 0x298], 0
mov eax, ebx
mov ecx, 2
mul ecx
test edx, edx
jne 0x417a5a
cmp eax, 0xffffffff
ja 0x417a5a
cmp eax, 0x200
jbe 0x4178fb
push eax
lea ecx, [ebp - 0x298]
call fcn.004027a0
mov esi, dword [ebp - 0x298]
jmp 0x417907
lea esi, [ebp - 0x294]
mov dword [ebp - 0x298], esi
test esi, esi
je 0x417928
push ebx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x417922
push esi
mov ecx, edi
call fcn.00418870
mov esi, dword [ebp - 0x298]
lea eax, [ebp - 0x294]
cmp esi, eax
je 0x41793d
lea ecx, [ebp - 0x298]
call fcn.00403070
lea ebx, [edi + 0x48]
mov ecx, edi
call fcn.00417210
cmp dword [edi + 0x28], 0
jne 0x417968
mov eax, dword [edi + 0x58]
shr eax, 2
test al, 1
jne 0x417968
mov eax, dword [edi + 0x24]
test eax, eax
je 0x417991
push eax
mov ecx, edi
call fcn.004187c0
jmp 0x417991
push 0
push 1
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
lea eax, [edi + 0x38]
push eax
mov eax, dword [edi + 0x28]
push ecx
mov edx, esp
mov ecx, ebx
mov dword [edx], eax
push dword [edi + 4]
call fcn.00413cd0
test byte [edi + 0x5c], 1
je 0x417a53
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.004039c0
test eax, eax
jne 0x417a45
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x26], eax
xorps xmm0, xmm0
mov word [ebp - 0x22], ax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0xc
push eax
push str.Anchor_Color
movups xmmword [ebp - 0x36], xmm0
call fcn.00418700
test eax, eax
jne 0x417a11
lea eax, [ebp - 0x38]
push eax
call fcn.00418960
add esp, 4
cmp eax, 0xffffffff
je 0x417a11
mov dword [edi + 0x4c], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x38]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x10]
call fcn.00418700
test eax, eax
jne 0x417a45
lea eax, [ebp - 0x38]
push eax
call fcn.00418960
add esp, 4
cmp eax, 0xffffffff
je 0x417a45
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x417a53
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070216
call fcn.004029b0
int3