Function at 0x14007c54c
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xb0
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor ebx, ebx
mov word [r11 - 0x38], bx
xor eax, eax
mov qword [r11 - 0x36], rax
mov dword [r11 - 0x2e], eax
mov word [r11 - 0x2a], ax
lea r8d, [rbx + 8]
lea rdx, [r11 - 0x38]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x14007c614
lea rdx, [0x140122340]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14007c614
lea edi, [rbx - 0x10]
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x14007c5ee
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
lea eax, [rcx - 3]
cmp eax, 6
jbe 0x14007c60d
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x14007c614
and byte [rsi + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x58], rax
test byte [rsi + 0x94], 1
je 0x14007c652
cmp qword [rsi + 0x68], rbx
jne 0x14007c644
call fcn.140078fb0
mov qword [rsi + 0x68], rax
or byte [rsi + 0x94], 0x10
cmp qword [rsi + 0x60], rbx
jne 0x14007c652
mov rcx, rsi
call fcn.140079b94
lea rcx, [rsi + 0x80]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9, rbx
mov r8, qword [rsi + 8]
lea rdx, str.tooltips_class32
call fcn.140079af4
cmp qword [rsi + 0x48], rbx
jne 0x14007c6e6
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jle 0x14007c6e6
lea ecx, [rax + 1]
movsxd rdx, ecx
mov eax, 2
mul rdx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400b0228
mov qword [rsi + 0x48], rax
jmp 0x14007c6cf
mov rdx, qword [rsi + 0x48]
test rdx, rdx
je 0x14007c6e6
lea r8d, [rdi + 1]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rsi
call fcn.14007946c
cmp qword [rsi + 0x50], rbx
jne 0x14007c714
mov eax, dword [rsi + 0x90]
shr eax, 2
test al, 1
jne 0x14007c714
mov rdx, qword [rsi + 0x48]
test rdx, rdx
je 0x14007c74c
mov rcx, rsi
call fcn.14007ff70
jmp 0x14007c74c
lea rdi, [rsi + 0x80]
xor r9d, r9d
mov edx, 0x401
lea r8d, [r9 + 1]
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rsi + 0x70]
mov dword [rsp + 0x20], 1
mov r8, qword [rsi + 0x50]
mov rdx, qword [rsi + 8]
mov rcx, rdi
call fcn.140078938
test byte [rsi + 0x94], 1
je 0x14007c845
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rbx
mov r9d, 0x2001f
lea r8, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x58]
call fcn.140069dc4
test eax, eax
jne 0x14007c835
mov word [rsp + 0x90], bx
xor eax, eax
mov qword [rsp + 0x92], rax
mov qword [rsp + 0x9a], rax
mov dword [rsp + 0xa2], eax
mov word [rsp + 0xa6], ax
lea edi, [rax + 0xc]
mov dword [rsp + 0x50], edi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x90]
lea rdx, str.Anchor_Color
lea rcx, [rsp + 0x58]
call fcn.14007eb9c
test eax, eax
jne 0x14007c7f7
lea rcx, [rsp + 0x90]
call fcn.140081144
cmp eax, 0xffffffff
je 0x14007c7f7
mov dword [rsi + 0x88], eax
mov dword [rsp + 0x50], edi
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x90]
lea rdx, str.Anchor_Color_Visited
lea rcx, [rsp + 0x58]
call fcn.14007eb9c
test eax, eax
jne 0x14007c835
lea rcx, [rsp + 0x90]
call fcn.140081144
cmp eax, 0xffffffff
je 0x14007c835
mov dword [rsi + 0x8c], eax
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007c845
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b0730
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret