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

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x100
lea rbp, [rsp + 0x60]
mov qword [rbp + 0xc8], rbx
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], rdi
mov rax, qword [0x14005f650]
xor rax, rbp
mov qword [rbp + 0x98], rax
xor eax, eax
xor r14d, r14d
mov rbx, rcx
mov rcx, qword [rcx + 8]
lea rdx, [rbp + 0x88]
lea r8d, [r14 + 8]
mov word [rbp + 0x88], r14w
mov qword [rbp + 0x8a], rax
mov dword [rbp + 0x92], eax
mov word [rbp + 0x96], ax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdi, [r14 - 0x10]
test eax, eax
je 0x140017010
lea rdx, str.static
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140017010
mov rcx, qword [rbx + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x140016fea
mov rcx, qword [rbx + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
lea eax, [rcx - 3]
cmp eax, 6
jbe 0x140017009
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x140017010
and byte [rbx + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov r15d, 1
mov qword [rbx + 0x58], rax
test byte [rbx + 0x94], r15b
je 0x1400170d6
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetParent]
lea edx, [r15 + 0x30]
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x140017067
lea ecx, [rax + 0xd]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbx + 0x68], rax
cmp qword [rbx + 0x68], r14
je 0x1400170d6
cmp qword [rbx + 0x60], r14
jne 0x1400170d6
xor edx, edx
lea rcx, [rbp + 0x14]
mov dword [rbp + 0x10], r14d
lea r8d, [rdx + 0x58]
call fcn.140028890
mov rcx, qword [rbx + 0x68]
lea r8, [rbp + 0x10]
mov edx, 0x5c
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbx + 0x90]
and eax, 0x30
cmp al, 0x30
jne 0x1400170af
mov dword [rbp + 0x20], 0x2bc
jmp 0x1400170c1
movzx eax, byte [rbp + 0x25]
test byte [rbx + 0x90], r15b
cmove eax, r15d
mov byte [rbp + 0x25], al
lea rcx, [rbp + 0x10]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [rbx + 0x94], 8
mov qword [rbx + 0x60], rax
mov r9d, dword [0x140060bec]
mov edx, dword [0x140060be8]
mov r8d, dword [0x140060bf4]
mov rax, qword [0x140061fe8]
mov ecx, dword [0x140060bf0]
mov r10, qword [rbx + 8]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r10
sub r8d, r9d
sub ecx, edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], edx
lea rdx, str.tooltips_class32
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea rsi, [rbx + 0x80]
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi], rax
cmp qword [rbx + 0x48], r14
jne 0x1400171a5
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400171a5
lea r8d, [rax + 1]
movsxd rax, r8d
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140017176
movabs rcx, 0xffffffffffffff0
and rcx, rdi
mov rax, rcx
call fcn.140036790
sub rsp, rcx
mov rcx, qword [rbx + 8]
lea rdi, [rsp + 0x60]
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x1400171a5
mov rdx, rdi
mov rcx, rbx
call fcn.140016a24
mov rcx, rbx
call fcn.140016a94
cmp qword [rbx + 0x50], r14
jne 0x1400171d4
mov eax, dword [rbx + 0x90]
shr eax, 2
test r15b, al
jne 0x1400171d4
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x1400171fc
mov rcx, rbx
call fcn.140016d10
jmp 0x1400171fc
mov rcx, qword [rsi]
xor r9d, r9d
mov r8, r15
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rbx + 0x50]
mov rdx, qword [rbx + 8]
lea r9, [rbx + 0x70]
mov rcx, rsi
call fcn.140016db4
test byte [rbx + 0x94], r15b
je 0x14001735a
lea r8, str.SoftwareMicrosoftInternet_ExplorerSettings
lea rcx, [rbp + 0x70]
mov r9d, 0x2001f
mov rdx, 0xffffffff80000001
mov qword [rbp + 0x70], r14
mov dword [rbp + 0x78], r14d
mov qword [rbp + 0x80], r14
call fcn.14000e8f4
mov rdi, qword [rbp + 0x70]
test eax, eax
jne 0x14001734c
xor eax, eax
lea r9, [rbp + 4]
lea rdx, str.Anchor_Color
mov qword [rbp + 0x72], rax
mov qword [rbp + 0x7a], rax
mov dword [rbp + 0x82], eax
mov word [rbp + 0x86], ax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
mov rcx, rdi
mov word [rbp + 0x70], r14w
mov dword [rbp], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or esi, 0xffffffff
test eax, eax
jne 0x1400172d6
mov eax, dword [rbp + 4]
dec eax
cmp eax, r15d
ja 0x1400172d6
mov eax, dword [rbp]
test eax, eax
je 0x1400172b7
test r15b, al
jne 0x1400172d6
shr rax, 1
cmp word [rbp + rax*2 + 0x6e], r14w
je 0x1400172bc
jmp 0x1400172d6
mov word [rbp + 0x70], r14w
mov eax, r14d
test eax, eax
jne 0x1400172d6
lea rcx, [rbp + 0x70]
call fcn.140016e64
cmp eax, esi
je 0x1400172d6
mov dword [rbx + 0x88], eax
lea rax, [rbp]
lea r9, [rbp + 4]
lea rdx, str.Anchor_Color_Visited
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
xor r8d, r8d
mov rcx, rdi
mov dword [rbp], 0x18
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001734c
mov eax, dword [rbp + 4]
dec eax
cmp eax, r15d
ja 0x14001734c
mov eax, dword [rbp]
test eax, eax
je 0x14001732d
test r15b, al
jne 0x14001734c
shr rax, 1
cmp word [rbp + rax*2 + 0x6e], r14w
je 0x140017332
jmp 0x14001734c
mov word [rbp + 0x70], r14w
mov eax, r14d
test eax, eax
jne 0x14001734c
lea rcx, [rbp + 0x70]
call fcn.140016e64
cmp eax, esi
je 0x14001734c
mov dword [rbx + 0x8c], eax
test rdi, rdi
je 0x14001735a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x98]
xor rcx, rbp
call fcn.140027b60
mov rbx, qword [rbp + 0xc8]
mov rsi, qword [rbp + 0xd0]
mov rdi, qword [rbp + 0xd8]
lea rsp, [rbp + 0xa0]
pop r15
pop r14
pop rbp
ret