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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rdi, rcx
lea rdx, [rbp - 0x51]
mov rcx, qword [rcx + 8]
xorps xmm0, xmm0
mov r8d, 8
movups xmmword [rbp - 0x51], xmm0
call qword [sym.imp.USER32.dll_GetClassNameW]
xor r12d, r12d
test eax, eax
je 0x41964f
lea rdx, str.static
lea rcx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41964f
mov rcx, qword [rdi + 8]
lea ebx, [rax - 0x10]
mov edx, ebx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x419629
mov rcx, qword [rdi + 8]
mov edx, ebx
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rdi + 8]
mov edx, ebx
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
lea eax, [rcx - 3]
cmp eax, 6
jbe 0x419648
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x41964f
and byte [rdi + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
test byte [rdi + 0x94], 1
mov qword [rdi + 0x58], rax
je 0x4196b7
cmp qword [rdi + 0x68], r12
jne 0x4196a9
mov ebx, 0x5c
lea rcx, [rbp - 0x39]
mov r8d, ebx
xor edx, edx
call fcn.00424830
xor r9d, r9d
lea r8, [rbp - 0x39]
mov edx, ebx
lea ecx, [rbx - 0x3d]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
lea rcx, [rbp - 0x39]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [rdi + 0x94], 0x10
mov qword [rdi + 0x68], rax
cmp qword [rdi + 0x60], r12
jne 0x4196b7
mov rcx, rdi
call fcn.0041a064
mov edx, dword [0x004b95b8]
lea rsi, [rdi + 0x80]
mov rcx, qword [0x004b9cc8]
mov r8d, dword [0x004b95c4]
mov r9, qword [rdi + 8]
mov r10d, dword [0x004b95bc]
sub r8d, r10d
mov eax, dword [0x004b95c0]
mov qword [rsp + 0x58], r12
sub eax, edx
mov qword [rsp + 0x50], rcx
xor ecx, ecx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov dword [rsp + 0x38], r8d
xor r8d, r8d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
lea rdx, str.tooltips_class32
call qword [sym.imp.USER32.dll_CreateWindowExW]
or r14, 0xffffffffffffffff
mov qword [rsi], rax
cmp qword [rdi + 0x48], r12
jne 0x41976b
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41976b
lea ebx, [rax + 1]
movsxd rcx, ebx
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.00422b80
mov qword [rdi + 0x48], rax
mov r8d, ebx
mov rcx, qword [rdi + 8]
mov rdx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
call fcn.0041a2a0
cmp qword [rdi + 0x50], r12
jne 0x419799
mov eax, dword [rdi + 0x90]
shr eax, 2
test al, 1
jne 0x419799
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x4197c2
mov rcx, rdi
call fcn.00419370
jmp 0x4197c2
mov rcx, qword [rsi]
xor r9d, r9d
mov edx, 0x401
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, qword [rdi + 0x50]
lea r9, [rdi + 0x70]
mov rdx, qword [rdi + 8]
mov rcx, rsi
call fcn.0041946c
test byte [rdi + 0x94], 1
je 0x419a00
lea rax, [rbp + 0x77]
mov qword [rbp + 0x77], r12
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419a00
mov r15, qword [rbp + 0x77]
lea r9, [rbp + 0x6f]
xor eax, eax
mov dword [rbp + 0x67], 0x18
mov qword [rbp - 0x59], rax
lea rdx, str.Anchor_Color
lea rax, [rbp + 0x67]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x69]
mov rcx, r15
mov qword [rsp + 0x20], rax
movups xmmword [rbp - 0x69], xmm0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419904
mov eax, dword [rbp + 0x6f]
dec eax
cmp eax, 1
ja 0x419904
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x419877
test al, 1
jne 0x419904
shr rax, 1
cmp word [rbp + rax*2 - 0x6b], r12w
je 0x41987c
jmp 0x419904
mov word [rbp - 0x69], r12w
lea rsi, [rbp - 0x69]
mov dword [rbp - 0x79], r14d
mov dword [rbp - 0x75], r14d
mov rbx, r12
mov dword [rbp - 0x71], r14d
movzx eax, word [rsi]
mov r14, rsi
jmp 0x4198ac
cmp ax, 0x2c
je 0x4198b3
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
movzx eax, word [rax]
test ax, ax
jne 0x419897
jmp 0x4198c7
mov rcx, rsi
mov word [r14], r12w
call fcn.00436ec0
mov dword [rbp + rbx*4 - 0x79], eax
lea rsi, [r14 + 2]
or r14, 0xffffffffffffffff
cmp dword [rbp + rbx*4 - 0x79], r14d
je 0x419904
inc rbx
cmp rbx, 2
jl 0x41988f
cmp word [rsi], r12w
je 0x419904
mov rcx, rsi
call fcn.00436ec0
movzx ecx, byte [rbp - 0x75]
movzx eax, al
shl eax, 0x10
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x79]
or ecx, eax
mov dword [rdi + 0x88], ecx
lea rax, [rbp + 0x67]
mov dword [rbp + 0x67], 0x18
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x6f]
lea rax, [rbp - 0x69]
xor r8d, r8d
lea rdx, str.Anchor_Color_Visited
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4199f2
mov eax, dword [rbp + 0x6f]
dec eax
cmp eax, 1
ja 0x4199f2
mov eax, dword [rbp + 0x67]
test eax, eax
je 0x419969
test al, 1
jne 0x4199f2
shr rax, 1
cmp word [rbp + rax*2 - 0x6b], r12w
je 0x41996e
jmp 0x4199f2
mov word [rbp - 0x69], r12w
lea rbx, [rbp - 0x69]
mov dword [rbp - 0x79], r14d
mov dword [rbp - 0x75], r14d
mov rsi, r12
mov dword [rbp - 0x71], r14d
movzx eax, word [rbx]
mov r14, rbx
jmp 0x41999e
cmp ax, 0x2c
je 0x4199a5
mov rcx, r14
call qword [sym.imp.USER32.dll_CharNextW]
mov r14, rax
movzx eax, word [rax]
test ax, ax
jne 0x419989
jmp 0x4199b9
mov rcx, rbx
mov word [r14], r12w
call fcn.00436ec0
mov dword [rbp + rsi*4 - 0x79], eax
lea rbx, [r14 + 2]
cmp dword [rbp + rsi*4 - 0x79], 0xffffffff
je 0x4199f2
inc rsi
cmp rsi, 2
jl 0x419981
cmp word [rbx], r12w
je 0x4199f2
mov rcx, rbx
call fcn.00436ec0
movzx edx, byte [rbp - 0x75]
movzx eax, al
shl eax, 0x10
shl edx, 8
or edx, eax
movzx eax, byte [rbp - 0x79]
or edx, eax
mov dword [rdi + 0x8c], edx
test r15, r15
je 0x419a00
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret