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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x228], rax
mov rbx, rcx
xor r13d, r13d
mov word [rbp + 0x218], r13w
xor eax, eax
mov qword [rbp + 0x21a], rax
mov dword [rbp + 0x222], eax
mov word [rbp + 0x226], ax
lea r8d, [r13 + 8]
lea rdx, [rbp + 0x218]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x14001b646
lea rdx, str.static
lea rcx, [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14001b646
lea edx, [rax - 0x10]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x14001b5fb
lea edx, [r13 - 0x10]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xfffffff0
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
cmp ecx, 3
je 0x14001b63f
cmp ecx, 4
je 0x14001b63f
cmp ecx, 5
je 0x14001b63f
cmp ecx, 6
je 0x14001b63f
cmp ecx, 7
je 0x14001b63f
cmp ecx, 8
je 0x14001b63f
cmp ecx, 9
je 0x14001b63f
cmp ecx, 0xd
je 0x14001b63f
cmp ecx, 0xe
je 0x14001b63f
cmp ecx, 0xf
jne 0x14001b646
and byte [rbx + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbx + 0x58], rax
mov r14d, 1
test byte [rbx + 0x94], r14b
je 0x14001b713
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x14001b69d
lea ecx, [rax + 0xd]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rbx + 0x68], rax
mov rdi, qword [rbx + 0x68]
test rdi, rdi
je 0x14001b713
cmp qword [rbx + 0x60], r13
jne 0x14001b713
mov dword [rbp - 0x70], r13d
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rbp - 0x6c]
call fcn.1400dd9f0
mov qword [rsp + 0x68], rdi
lea r8, [rbp - 0x70]
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbx + 0x90]
and eax, 0x30
cmp al, 0x30
jne 0x14001b6ec
mov dword [rbp - 0x60], 0x2bc
jmp 0x14001b6fe
test byte [rbx + 0x90], 1
movzx eax, byte [rbp - 0x5b]
cmove eax, r14d
mov byte [rbp - 0x5b], al
lea rcx, [rbp - 0x70]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rbx + 0x60], rax
or byte [rbx + 0x94], 8
mov r9, qword [rbx + 8]
mov r8d, dword [0x14017f39c]
mov r10d, dword [0x14017f394]
sub r8d, r10d
mov ecx, dword [0x14017f398]
mov edx, dword [0x14017f390]
sub ecx, edx
mov qword [rsp + 0x58], r13
mov rax, qword [0x140181668]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r9
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.tooltips_class32
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x80], rax
cmp qword [rbx + 0x48], 0
jne 0x14001b820
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x14001b820
mov qword [rbp - 0x10], r13
lea esi, [rax + 1]
movsxd rcx, esi
test esi, esi
je 0x14001b7e0
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14001b7d5
lea rdx, [rcx + rcx]
cmp rdx, 0x200
jbe 0x14001b7e0
lea rcx, [rbp - 0x10]
call fcn.14001c170
mov rdi, qword [rbp - 0x10]
jmp 0x14001b7e8
mov ecx, 0x80070216
call fcn.1400022b0
int3
lea rdi, [rbp - 8]
mov qword [rbp - 0x10], rdi
test rdi, rdi
je 0x14001b80d
mov r8d, esi
mov rdx, rdi
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14001b80d
mov rdx, rdi
mov rcx, rbx
call fcn.14001bfb0
nop
lea rax, [rbp - 8]
cmp qword [rbp - 0x10], rax
je 0x14001b820
lea rcx, [rbp - 0x10]
call fcn.140043680
mov rcx, rbx
call fcn.14001ae20
cmp qword [rbx + 0x50], 0
jne 0x14001b84f
mov eax, dword [rbx + 0x90]
shr eax, 2
test al, 1
jne 0x14001b84f
mov rdx, qword [rbx + 0x48]
test rdx, rdx
je 0x14001b87f
mov rcx, rbx
call fcn.14001a4e0
jmp 0x14001b87f
xor r9d, r9d
mov r8, r14
mov edx, 0x401
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rbx + 0x70]
mov r8, qword [rbx + 0x50]
mov rdx, qword [rbx + 8]
lea rcx, [rbx + 0x80]
call fcn.14001ab00
test byte [rbx + 0x94], 1
je 0x14001ba08
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
mov qword [rbp - 0x80], r13
mov r9d, 0x2001f
lea r8, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x70]
call fcn.14001c640
mov rdi, qword [rsp + 0x70]
test eax, eax
jne 0x14001b9f0
mov word [rbp + 0x200], r13w
xor eax, eax
mov qword [rbp + 0x202], rax
mov qword [rbp + 0x20a], rax
mov dword [rbp + 0x212], eax
mov word [rbp + 0x216], ax
mov dword [rsp + 0x60], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.Anchor_Color
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b96d
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x14001b932
cmp eax, 2
jne 0x14001b96d
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001b94e
test al, 1
jne 0x14001b96d
shr rax, 1
cmp word [rbp + rax*2 + 0x1fe], 0
je 0x14001b956
jmp 0x14001b96d
mov word [rbp + 0x200], r13w
lea rcx, [rbp + 0x200]
call fcn.14001c090
cmp eax, 0xffffffff
je 0x14001b96d
mov dword [rbx + 0x88], eax
mov dword [rsp + 0x60], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
xor r8d, r8d
lea rdx, str.Anchor_Color_Visited
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b9f0
mov eax, dword [rsp + 0x68]
cmp eax, 1
je 0x14001b9b5
cmp eax, 2
jne 0x14001b9f0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001b9d1
test al, 1
jne 0x14001b9f0
shr rax, 1
cmp word [rbp + rax*2 + 0x1fe], 0
je 0x14001b9d9
jmp 0x14001b9f0
mov word [rbp + 0x200], r13w
lea rcx, [rbp + 0x200]
call fcn.14001c090
cmp eax, 0xffffffff
je 0x14001b9f0
mov dword [rbx + 0x8c], eax
test rdi, rdi
je 0x14001ba03
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x78], r13d
mov rcx, qword [rbp + 0x228]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret