Function at 0x180048a90
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x180291e80]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov edx, 0x104
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x180048fc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0xd0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x180048b02
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x58]
call fcn.1800097e0
nop
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x180048b6e
lea rax, [rcx + 7]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, 7
lea rdx, str.Fonts_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 7], 0
lea rax, [rsp + 0x58]
jmp 0x180048b93
mov qword [rsp + 0x20], 7
lea r9, str.Fonts_
movzx r8d, byte [rsp + 0x40]
mov edx, 7
lea rcx, [rsp + 0x58]
call fcn.18001ddc0
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.18000fe90
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180048be0
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048bdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d465c
movdqa xmm0, xmmword [0x18016ac40]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionFonts
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180048d0d
mov dword [rsp + 0x4c], 0x104
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x44], r13d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x1e0]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebx, 1
cmp eax, 0x103
je 0x180048d02
test eax, eax
jne 0x180048ca9
cmp dword [rsp + 0x44], 1
jne 0x180048ca9
mov r8, qword [rdi + 8]
lea rdx, [rbp + 0x1e0]
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
test eax, eax
je 0x180048d54
mov dword [rsp + 0x4c], 0x104
mov dword [rsp + 0x48], 0x104
mov dword [rsp + 0x44], r13d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x4c]
lea r8, [rbp + 0x1e0]
mov edx, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
inc ebx
cmp eax, 0x103
jne 0x180048c82
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x180048fbd
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048fb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048fb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movsxd rdi, dword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
movabs rbx, 0x7fffffffffffffff
cmp rdi, rbx
ja 0x180048fea
cmp rdi, 0xf
ja 0x180048da9
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0xf
mov r8, rdi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x78], 0
jmp 0x180048e3f
mov rax, rdi
or rax, 0xf
cmp rax, rbx
jbe 0x180048de2
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800d4620
test rax, rax
je 0x180048f9a
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x180048e1f
mov rbx, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180048e0d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180048ff0
jmp 0x180048dc3
test rcx, rcx
je 0x180048e1c
call fcn.1800d4620
mov rsi, rax
jmp 0x180048e1f
mov rsi, r13
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rbx
mov r8, rdi
lea rdx, [rbp - 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rbx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
mov rsi, qword [rbp - 0x58]
cmp rsi, rax
ja 0x180048ed9
lea rax, [r8 + rsi]
mov qword [rbp - 0x78], rax
lea rdi, [rsp + 0x78]
cmp rcx, 0xf
cmova rdi, qword [rsp + 0x78]
lea r15, [rsi + rbx]
cmp r15, rdi
jbe 0x180048e9f
lea rax, [rdi + r8]
cmp rbx, rax
ja 0x180048e9f
cmp rdi, rbx
ja 0x180048e97
mov r14, r13
jmp 0x180048ea2
mov r14, rdi
sub r14, rbx
jmp 0x180048ea2
mov r14, rsi
inc r8
lea rcx, [rsi + rdi]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub rsi, r14
lea rdx, [r15 + r14]
lea rcx, [rdi + r14]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x180048ef9
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rbx
xor r9d, r9d
movzx r8d, byte [rsp + 0x40]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.18001e490
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x58]
mov rcx, r12
call fcn.18002aa50
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x180048f67
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048f61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048f61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d465c
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x180048fa6
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180048fa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180048fa1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d465c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x180048d0f
call fcn.1800d465c
movzx eax, bl
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1800d4c60
mov rbx, qword [rsp + 0x450]
add rsp, 0x400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18000e3f0
nop
call fcn.18000e2a0
int3