Function at 0x41ac70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55834b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x5b3680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
xorps xmm0, xmm0
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 0x41ad41
push str.static
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41ad41
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 0x41acff
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 0x41ad3d
cmp eax, 4
je 0x41ad3d
cmp eax, 5
je 0x41ad3d
cmp eax, 6
je 0x41ad3d
cmp eax, 7
je 0x41ad3d
cmp eax, 8
je 0x41ad3d
cmp eax, 9
je 0x41ad3d
cmp eax, 0xd
je 0x41ad3d
cmp eax, 0xe
je 0x41ad3d
cmp eax, 0xf
jne 0x41ad41
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 0x41ae12
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 0x41ad83
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [edi + 0x34], eax
mov esi, dword [edi + 0x34]
test esi, esi
je 0x41ae12
cmp dword [edi + 0x30], 0
jne 0x41ae12
push 0x58
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], 0
push 0
push eax
call fcn.00531bd0
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x98]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [edi + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x41adde
mov dword [ebp - 0x88], 0x2bc
jmp 0x41adf7
test byte [edi + 0x54], 1
mov ecx, 1
movzx eax, byte [ebp - 0x83]
cmove eax, ecx
mov byte [ebp - 0x83], al
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [edi + 0x58], 8
mov dword [edi + 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x5b468c]
lea esi, [edi + 0x48]
mov edx, dword [0x5b4684]
sub eax, edx
mov ecx, dword [0x5b4680]
push 0
push dword [0x5b8bf0]
push 0
push dword [edi + 4]
push eax
mov eax, dword [0x5b4688]
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 [esi], eax
cmp dword [edi + 0x24], 0
jne 0x41af0f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41af0f
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 4], 1
lea edx, [eax + 1]
xor eax, eax
mov dword [ebp - 0x2a4], edx
mov ecx, edx
shld eax, ecx, 1
add ecx, ecx
test eax, eax
jne 0x41af37
cmp ecx, 0xffffffff
ja 0x41af37
cmp ecx, 0x200
jbe 0x41aec5
push ecx
lea ecx, [ebp - 0x2a0]
call fcn.0041b760
mov esi, dword [ebp - 0x2a0]
mov edx, dword [ebp - 0x2a4]
jmp 0x41aed1
lea esi, [ebp - 0x29c]
mov dword [ebp - 0x2a0], esi
test esi, esi
je 0x41aeec
push edx
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x41aeec
push esi
mov ecx, edi
call fcn.0041b580
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x2a0], eax
je 0x41af0c
lea ecx, [ebp - 0x2a0]
call fcn.0041b750
lea esi, [edi + 0x48]
mov ecx, edi
call fcn.0041a6c0
cmp dword [edi + 0x28], 0
jne 0x41af41
mov eax, dword [edi + 0x54]
shr eax, 2
test al, 1
jne 0x41af41
mov eax, dword [edi + 0x24]
test eax, eax
je 0x41af69
push eax
mov ecx, edi
call fcn.00419dd0
jmp 0x41af69
push 0x80070216
call fcn.004027b0
push 0
push 1
push 0x401
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x28]
lea eax, [edi + 0x38]
push ecx
push eax
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], edx
push dword [edi + 4]
call fcn.0041a360
test byte [edi + 0x58], 1
je 0x41b05e
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2b0]
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSettings
push reloc.WS2_32.dll_accept
call fcn.0041bd70
test eax, eax
jne 0x41b032
mov word [ebp - 0x38], ax
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x26], eax
xorps xmm0, xmm0
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x2a4], 0xc
push eax
push str.Anchor_Color
movdqu xmmword [ebp - 0x36], xmm0
call fcn.0041bc80
test eax, eax
jne 0x41aff9
mov dword [edi + 0x4c], 0xcc6600
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0xc
push eax
lea eax, [ebp - 0x38]
push eax
push str.Anchor_Color_Visited
lea ecx, [ebp - 0x2b0]
call fcn.0041bc80
test eax, eax
jne 0x41b032
lea ecx, [ebp - 0x38]
call fcn.0041b680
cmp eax, 0xffffffff
je 0x41b032
mov dword [edi + 0x50], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2b0]
test eax, eax
je 0x41b054
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005295e2
mov esp, ebp
pop ebp
ret