Function at 0x1400130d0
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 [0x140104508]
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]
test eax, eax
je 0x140013198
lea rdx, [0x1400ce7a0]
lea rcx, [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140013198
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 0x14001316f
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 0x140013191
lea eax, [rcx - 0xd]
cmp eax, 2
ja 0x140013198
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 0x14001320c
cmp qword [rdi + 0x68], 0
jne 0x1400131fd
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 0x14001320c
mov rcx, rdi
call fcn.140010b90
mov r8, qword [rdi + 8]
mov r9d, dword [0x140104024]
mov r10d, dword [0x140104020]
mov edx, dword [0x14010402c]
sub edx, r9d
mov ecx, dword [0x140104028]
sub ecx, r10d
xor esi, esi
mov qword [rsp + 0x58], rsi
mov rax, qword [0x1401058d8]
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, [0x1400ce888]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi + 0x80], rax
cmp qword [rdi + 0x48], rsi
jne 0x1400132e3
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1400132e3
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.1400bf5ec
mov qword [rdi + 0x48], rax
jmp 0x1400132ce
test rax, rax
je 0x1400132e3
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rdi
call fcn.140010560
cmp qword [rdi + 0x50], 0
jne 0x140013312
mov eax, dword [rdi + 0x90]
shr eax, 2
test al, 1
jne 0x140013312
mov rdx, qword [rdi + 0x48]
test rdx, rdx
je 0x14001334b
mov rcx, rdi
call fcn.140017680
jmp 0x14001334b
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 dword [rsp + 0x20], 1
mov r8, qword [rdi + 0x50]
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x80]
call fcn.14000fd40
test byte [rdi + 0x94], 1
je 0x1400134c3
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x88], rsi
mov r9d, 0x2001f
lea r8, [0x1400ce7b0]
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x78]
call fcn.140013ed0
mov rbx, qword [rsp + 0x78]
test eax, eax
jne 0x1400134b5
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, [0x1400ce810]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013433
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x140013433
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140013413
test al, 1
jne 0x140013433
shr rax, 1
cmp word [rsp + rax*2 + 0xfe], 0
je 0x14001341b
jmp 0x140013433
mov word [rsp + 0x100], si
lea rcx, [rsp + 0x100]
call fcn.1400187b0
cmp eax, 0xffffffff
je 0x140013433
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, [0x1400ce830]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400134b5
mov eax, dword [rsp + 0x68]
dec eax
cmp eax, 1
ja 0x1400134b5
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140013495
test al, 1
jne 0x1400134b5
shr rax, 1
cmp word [rsp + rax*2 + 0xfe], 0
je 0x14001349d
jmp 0x1400134b5
mov word [rsp + 0x100], si
lea rcx, [rsp + 0x100]
call fcn.1400187b0
cmp eax, 0xffffffff
je 0x1400134b5
mov dword [rdi + 0x8c], eax
test rbx, rbx
je 0x1400134c3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400bf680
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret