Function at 0x140066c24
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x100
lea rbp, [rsp + 0x50]
mov qword [rbp + 0xd8], rsi
mov qword [rbp + 0xe0], rdi
mov rax, qword [0x1400ced18]
xor rax, rbp
mov qword [rbp + 0xa8], rax
mov rdi, rcx
lea rdx, [rbp + 0x98]
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
mov r8d, 8
movups xmmword [rbp + 0x98], xmm0
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x140066ce7
lea rdx, str.static
lea rcx, [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140066ce7
mov rcx, qword [rdi + 8]
lea edx, [rax - 0x10]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x140066cbe
mov rcx, qword [rdi + 8]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rdi + 8]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
lea eax, [rcx - 3]
cmp eax, 6
jbe 0x140066ce0
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x140066ce7
and byte [rdi + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov r15d, 1
mov qword [rdi + 0x58], rax
test byte [rdi + 0x94], r15b
je 0x140066db1
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
lea edx, [r15 + 0x30]
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rdi + 0x68], rax
mov rsi, rax
test rax, rax
jne 0x140066d49
lea ecx, [rax + 0xd]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rdi + 0x68], rax
mov rsi, rax
test rax, rax
je 0x140066db1
cmp qword [rdi + 0x60], 0
jne 0x140066db1
mov r14d, 0x5c
lea rcx, [rbp + 0x20]
mov r8d, r14d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x20]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rdi + 0x90]
and eax, 0x30
cmp al, 0x30
jne 0x140066d8a
mov dword [rbp + 0x30], 0x2bc
jmp 0x140066d9c
movzx eax, byte [rbp + 0x35]
test byte [rdi + 0x90], r15b
cmove eax, r15d
mov byte [rbp + 0x35], al
lea rcx, [rbp + 0x20]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [rdi + 0x94], 8
mov qword [rdi + 0x60], rax
and qword [rsp + 0x40], 0
lea r14, [rdi + 0x80]
and qword [rsp + 0x38], 0
lea r9, [0x1400ce668]
mov dword [rsp + 0x30], 0x88
lea rdx, str.tooltips_class32
mov dword [rsp + 0x28], 0x80000003
xor r8d, r8d
and qword [rsp + 0x20], 0
mov rcx, r14
call fcn.1400666fc
cmp qword [rdi + 0x48], 0
jne 0x140066e55
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x140066e55
lea r8d, [rax + 1]
movsxd rax, r8d
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140066e25
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140082e00
sub rsp, rcx
mov rcx, qword [rdi + 8]
lea rsi, [rsp + 0x50]
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x140066e55
mov rdx, rsi
mov rcx, rdi
call fcn.14006792c
mov rcx, rdi
call fcn.140066470
cmp qword [rdi + 0x50], 0
jne 0x140066e85
mov eax, dword [rdi + 0x90]
shr eax, 2
test r15b, al
jne 0x140066e85
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x140066eb2
mov rcx, rdi
call fcn.140067864
jmp 0x140066eb2
mov rcx, qword [r14]
xor r9d, r9d
mov r8, r15
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rdi + 0x50]
lea r9, [rdi + 0x70]
mov rdx, qword [rdi + 8]
mov rcx, r14
mov dword [rsp + 0x20], r15d
call fcn.140066280
test byte [rdi + 0x94], r15b
je 0x140066f9f
and qword [rbp + 0x18], 0
lea rax, [rbp]
and qword [rbp], 0
lea rdx, str.SoftwareMicrosoftInternet_ExplorerSettings
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140066f9f
mov rsi, qword [rbp]
lea r9, [rbp]
and dword [rbp + 0x10], eax
lea r8, [rbp + 0x80]
xor eax, eax
mov qword [rbp + 8], rsi
xorps xmm0, xmm0
mov qword [rbp + 0x90], rax
lea rdx, str.Anchor_Color
lea rcx, [rbp + 8]
lea r15d, [rax + 0xc]
mov dword [rbp], r15d
movups xmmword [rbp + 0x80], xmm0
call fcn.14002e790
or r14d, 0xffffffff
test eax, eax
jne 0x140066f57
lea rcx, [rbp + 0x80]
call fcn.140067a88
cmp eax, r14d
je 0x140066f57
mov dword [rdi + 0x88], eax
lea r9, [rbp]
mov dword [rbp], r15d
lea r8, [rbp + 0x80]
lea rdx, str.Anchor_Color_Visited
lea rcx, [rbp + 8]
call fcn.14002e790
test eax, eax
jne 0x140066f91
lea rcx, [rbp + 0x80]
call fcn.140067a88
cmp eax, r14d
je 0x140066f91
mov dword [rdi + 0x8c], eax
test rsi, rsi
je 0x140066f9f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa8]
xor rcx, rbp
call fcn.140082550
mov rsi, qword [rbp + 0xd8]
mov rdi, qword [rbp + 0xe0]
lea rsp, [rbp + 0xb0]
pop r15
pop r14
pop rbp
ret