Function at 0x140017f7c
Capabilities:
Get graphical window text
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x130
mov qword [r11 - 0xa8], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
xor eax, eax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea r8d, [rax + 8]
lea rdx, [r11 - 0x20]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClassNameW]
xor esi, esi
test eax, eax
je 0x140018042
lea rdx, str.static
lea rcx, [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140018042
lea ebx, [rsi - 0x10]
mov edx, ebx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x14001801c
mov edx, ebx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, ebx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
lea eax, [rcx - 3]
cmp eax, 6
jbe 0x14001803b
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x140018042
and byte [rdi + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rdi + 0x58], rax
test byte [rdi + 0x94], 1
je 0x1400180b6
cmp qword [rdi + 0x68], rsi
jne 0x1400180a8
mov ebx, 0x5c
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140027e00
xor r9d, r9d
lea r8, [rsp + 0xa0]
mov edx, ebx
lea ecx, [rbx - 0x3d]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rdi + 0x68], rax
or byte [rdi + 0x94], 0x10
cmp qword [rdi + 0x60], rsi
jne 0x1400180b6
mov rcx, rdi
call fcn.140018a38
mov r8, qword [rdi + 8]
mov r9d, dword [0x140076ba4]
mov r10d, dword [0x140076ba0]
mov edx, dword [0x140076bac]
sub edx, r9d
mov ecx, dword [0x140076ba8]
sub ecx, r10d
mov qword [rsp + 0x58], rsi
mov rax, qword [0x140078208]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], r8
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r10d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.tooltips_class32
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi + 0x80], rax
cmp qword [rdi + 0x48], rsi
jne 0x14001818b
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x14001818b
lea ebx, [rax + 1]
mov dword [rsp + 0x60], ebx
movsxd rcx, ebx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14002647c
mov qword [rdi + 0x48], rax
jmp 0x140018176
test rax, rax
je 0x14001818b
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
call fcn.140018c90
cmp qword [rdi + 0x50], rsi
jne 0x1400181b9
mov eax, dword [rdi + 0x90]
shr eax, 2
test al, 1
jne 0x1400181b9
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x1400181e9
mov rcx, rdi
call fcn.140017c1c
jmp 0x1400181e9
lea rbx, [rdi + 0x80]
xor r9d, r9d
mov edx, 0x401
lea r8d, [r9 + 1]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rdi + 0x70]
mov r8, qword [rdi + 0x50]
mov rdx, qword [rdi + 8]
mov rcx, rbx
call fcn.140017d4c
test byte [rdi + 0x94], 1
je 0x14001836b
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x88], rsi
mov r9d, 0x2001f
lea r8, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x78]
call fcn.14000fcf8
mov rbx, qword [rsp + 0x78]
test eax, eax
jne 0x14001835d
xor eax, eax
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x60], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.Anchor_Color
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400182d6
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x1400182d6
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400182b0
test al, 1
jne 0x1400182d6
shr rax, 1
cmp word [rsp + rax*2 + 0xfe], si
je 0x1400182b8
jmp 0x1400182d6
mov word [rsp + 0x100], si
mov eax, esi
test eax, eax
jne 0x1400182d6
lea rcx, [rsp + 0x100]
call fcn.140017ea8
cmp eax, 0xffffffff
je 0x1400182d6
mov dword [rdi + 0x88], eax
mov dword [rsp + 0x60], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.Anchor_Color_Visited
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001835d
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x14001835d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140018337
test al, 1
jne 0x14001835d
shr rax, 1
cmp word [rsp + rax*2 + 0xfe], si
je 0x14001833f
jmp 0x14001835d
mov word [rsp + 0x100], si
mov eax, esi
test eax, eax
jne 0x14001835d
lea rcx, [rsp + 0x100]
call fcn.140017ea8
cmp eax, 0xffffffff
je 0x14001835d
mov dword [rdi + 0x8c], eax
test rbx, rbx
je 0x14001836b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140025e90
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret