Function at 0x14011757c
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 [0x1401d4618]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov r15, rdx
lea rax, [rsp + 0x70]
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 0x1401175e6
xor eax, eax
jmp 0x1401177f2
and qword [rsp + 0x58], r14
lea rax, [rsp + 0x64]
and qword [rsp + 0x50], r14
xor r9d, r9d
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x60]
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 0x14011763c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1401175df
mov ebx, dword [rsp + 0x60]
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 0x14011762f
mov ebx, dword [rsp + 0x64]
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 + 0x70]
mov rbx, rax
test rax, rax
jne 0x1401176ab
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 0x1401175df
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], r14
xor edx, edx
jmp 0x14011779c
mov qword [rsp + 0x40], 0x100
lea rax, [rbp + 0x390]
mov qword [rsp + 0x38], rax
xor r9d, r9d
lea rax, [rbp + 0x190]
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 + 0x190]
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 + 0x390]
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 0x1401177b4
mov eax, dword [rsp + 0x60]
inc r14d
mov rcx, qword [rsp + 0x70]
inc eax
mov dword [rsp + 0x6c], eax
mov edx, r14d
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x6c]
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1401176e2
jmp 0x1401177ba
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 + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.140121d80
mov rbx, qword [rsp + 0x6e0]
add rsp, 0x6a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret