Function at 0x18001d290
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18007f080]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor esi, esi
movzx ebx, cl
test cl, 1
je 0x18001d38a
cmp dword [0x180085858], 0x55f0
mov eax, 0x5f
mov ecx, 0x5a
mov dword [rbp - 0x14], 4
cmovb eax, ecx
lea ecx, [rsi + 0x10]
mov dword [rbp - 0x20], eax
call fcn.18000a440
mov rcx, qword [0x180085320]
lea r8, str.GlassAdditionalPreScaleAmount
mov r9d, eax
xor edx, edx
lea rax, [rbp - 0x14]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x18001d325
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x18001d332
mov rcx, qword [rbp + 8]
mov edx, eax
call fcn.18000bac0
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x14]
movss xmm0, dword [0x18006eb98]
xorps xmm1, xmm1
mov dword [rbp - 0x1c], 0x3f800000
mov dword [rbp - 0x14], 0x3a83126f
cvtsi2ss xmm1, rax
lea rax, [rbp - 0x20]
divss xmm1, dword [0x18006ec34]
comiss xmm0, xmm1
movss dword [rbp - 0x20], xmm1
cmovbe rcx, rax
lea rax, [rbp - 0x1c]
comiss xmm1, dword [0x18006ebb4]
cmovbe rax, rcx
movss xmm0, dword [rax]
movss dword [0x18007f10c], xmm0
movzx ecx, bl
call fcn.180006ee0
movzx ecx, bl
call fcn.18002fbb0
test bl, 2
je 0x18001d513
mov qword [rsp + 0x70], rdi
mov ecx, 0x10
mov qword [rsp + 0x78], r14
mov dword [0x180085180], esi
mov dword [rbp - 0x1c], 4
call fcn.18000a440
mov rcx, qword [0x180085320]
lea r8, str.CenterCaption
mov edi, eax
xor edx, edx
lea rax, [rbp - 0x1c]
mov r9d, edi
mov qword [rsp + 0x30], rax
lea rax, [0x180085180]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [0x180085320]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea r14, [0x18007f104]
mov qword [rsp + 0x28], r14
lea r8, str.TextGlowSize
mov r9d, edi
mov qword [rsp + 0x20], rsi
xor edx, edx
mov dword [0x18007f104], 0xf
mov dword [rbp - 0x1c], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jle 0x18001d44b
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x18001d493
mov rcx, qword [0x180085320]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea r8, str.TextGlowMode
mov qword [rsp + 0x28], r14
mov r9d, edi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x1c], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov eax, dword [0x18007f104]
shr rax, 0x10
movzx eax, ax
mov dword [0x18007f104], eax
mov rcx, qword [0x180085320]
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea r8, str.ColorizationColorCaption
lea rax, [rbp - 0x20]
mov byte [0x18008517c], sil
mov qword [rsp + 0x28], rax
mov r9d, edi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x20], esi
mov dword [rbp - 0x1c], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
test eax, eax
jle 0x18001d4ec
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x18001d513
mov eax, dword [rbp - 0x20]
mov dword [0x180085178], eax
movzx eax, word [rbp - 0x17]
mov word [0x18008517d], ax
movzx eax, byte [rbp - 0x15]
mov byte [0x18008517f], al
mov byte [0x18008517c], 1
movzx ecx, bl
call fcn.18000de60
call qword [sym.imp.dwmapi.dll_DwmFlush]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18003efb0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret