Function at 0x14011b3e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov r15, rdx
lea rax, [rsp + 0x68]
mov rsi, rcx
mov qword [rsp + 0x20], rax
xor r14d, r14d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionFonts
and dword [rcx], r14d
mov r9d, 0x20019
mov rcx, 0xffffffff80000002
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011b452
xor eax, eax
jmp 0x14011b65e
and qword [rsp + 0x58], r14
lea rax, [rsp + 0x74]
and qword [rsp + 0x50], r14
xor r9d, r9d
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], r14
and qword [rsp + 0x30], r14
and qword [rsp + 0x28], r14
and qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14011b4a8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14011b44b
mov ebx, dword [rsp + 0x78]
inc ebx
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14011b49b
mov ebx, dword [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x68]
mov rbx, rax
test rax, rax
jne 0x14011b517
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14011b44b
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], r14
xor edx, edx
jmp 0x14011b608
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x190]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x390]
mov qword [rsp + 0x30], 0x100
mov qword [rsp + 0x28], rax
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea r8, [rbp + 0x390]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbp + 0x190]
mov edx, 0x104
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14011b620
mov eax, dword [rsp + 0x78]
inc r14d
mov rcx, qword [rsp + 0x68]
inc eax
mov dword [rsp + 0x70], eax
mov edx, r14d
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14011b54e
jmp 0x14011b626
mov dword [rsi], 1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x6e0]
add rsp, 0x6a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret