Function at 0x140019c90
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 [0x14010d268]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_], 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]
test eax, eax
je 0x140019d58
lea rdx, str.static
lea rcx, [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140019d58
lea edx, [rax - 0x10]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x140019d2f
mov edx, 0xfffffff0
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, 0xfffffff0
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
lea eax, [rcx - 3]
cmp eax, 6
jbe 0x140019d51
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x140019d58
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 0x140019dcc
cmp qword [rdi + 0x68], 0
jne 0x140019dbd
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rsp + 0xa0]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8, [rsp + 0xa0]
lea edx, [r9 + 0x5c]
lea ecx, [rdx - 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], 0
jne 0x140019dcc
mov rcx, rdi
call fcn.1400191e0
mov r8, qword [rdi + 8]
mov r9d, dword [0x14010d004]
mov r10d, dword [section..data]
mov edx, dword [0x14010d00c]
sub edx, r9d
mov ecx, dword [0x14010d008]
sub ecx, r10d
xor esi, esi
mov qword [rsp + 0x58], rsi
mov rax, qword [0x1401121b8]
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 0x140019ea3
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x140019ea3
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.14005f8e4
mov qword [rdi + 0x48], rax
jmp 0x140019e8e
test rax, rax
je 0x140019ea3
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
call fcn.140018e00
cmp qword [rdi + 0x50], 0
jne 0x140019ed2
mov eax, dword [rdi + 0x90]
shr eax, 2
test al, 1
jne 0x140019ed2
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x140019f0c
mov rcx, rdi
call fcn.14001b010
jmp 0x140019f0c
xor r9d, r9d
mov edx, 0x401
lea r8d, [r9 + 1]
mov rcx, qword [rdi + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [rdi + 0x70]
mov qword [rsp + 0x20], 1
mov r8, qword [rdi + 0x50]
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x80]
call fcn.140018c50
test byte [rdi + 0x94], 1
je 0x14001a0a1
mov rbx, rsi
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001a093
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rbx
mov dword [rsp + 0x80], esi
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 0x14001a011
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x14001a011
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140019ff1
test al, 1
jne 0x14001a011
shr rax, 1
cmp word [rsp + rax*2 + 0xfe], 0
je 0x140019ff9
jmp 0x14001a011
mov word [rsp + 0x100], si
lea rcx, [rsp + 0x100]
call fcn.14001b690
cmp eax, 0xffffffff
je 0x14001a011
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 0x14001a093
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x14001a093
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001a073
test al, 1
jne 0x14001a093
shr rax, 1
cmp word [rsp + rax*2 + 0xfe], 0
je 0x14001a07b
jmp 0x14001a093
mov word [rsp + 0x100], si
lea rcx, [rsp + 0x100]
call fcn.14001b690
cmp eax, 0xffffffff
je 0x14001a093
mov dword [rdi + 0x8c], eax
test rbx, rbx
je 0x14001a0a1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + reloc.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
xor rcx, rsp
call fcn.14005f850
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret