Function at 0x180199150
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x320
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdx, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x330]
call fcn.1801958f0
movzx eax, al
test eax, eax
jne 0x1801991a9
xor al, al
jmp 0x1801995a6
mov rax, qword [rsp + 0x360]
add rax, 0x10
mov rdx, qword [rsp + 0x340]
mov rcx, rax
call fcn.1800392f0
mov rax, qword [rsp + 0x360]
add rax, 0x30
mov rdx, qword [rsp + 0x348]
mov rcx, rax
call fcn.1800392f0
mov rax, qword [rsp + 0x360]
mov ecx, dword [rsp + 0x338]
mov dword [rax], ecx
mov rax, qword [rsp + 0x360]
movzx ecx, byte [rsp + 0x350]
mov byte [rax + 0x90], cl
mov rax, qword [rsp + 0x360]
movzx ecx, byte [rsp + 0x358]
mov byte [rax + 0x91], cl
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x340]
mov r8d, dword [rsp + 0x338]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x330]
call fcn.180199710
nop
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xc0]
call fcn.180037970
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1801992b0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0xc0]
call fcn.180033840
movzx eax, byte [rsp + 0x30]
jmp 0x1801995a6
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0xb8], 0x208
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.IconFile
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180199324
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0xc0]
call fcn.180033840
movzx eax, byte [rsp + 0x31]
jmp 0x1801995a6
lea rcx, [rsp + 0xe0]
call fcn.180037a00
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x50]
call fcn.180033860
nop
xor r8d, r8d
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.180195420
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x50]
call fcn.180033840
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x18019938d
mov rax, qword [rsp + 0x360]
add rax, 0x50
lea rdx, [rsp + 0xe0]
mov rcx, rax
call fcn.1800392f0
mov dword [rsp + 0xb8], 0x208
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.IconIndex
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rax, qword [rsp + 0x360]
mov ecx, dword [rsp + 0x100]
mov dword [rax + 0x94], ecx
mov dword [rsp + 0xb8], 0x208
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Display_Description
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18019948e
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x70]
call fcn.180033860
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.180195280
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x360]
add rax, 0x70
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call fcn.1800379a0
nop
lea rcx, [rsp + 0x90]
call fcn.180033840
nop
lea rcx, [rsp + 0x70]
call fcn.180033840
jmp 0x1801994ea
mov dword [rsp + 0xb8], 0x208
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Description
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rax, qword [rsp + 0x360]
add rax, 0x70
lea rdx, [rsp + 0x100]
mov rcx, rax
call fcn.180033910
mov dword [rsp + 0xb8], 0x208
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SubstituteLayout
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18019955e
mov r8d, 0x10
xor edx, edx
lea rcx, [rsp + 0x100]
call fcn.1802aeaec
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x360]
mov ecx, dword [rsp + 0xbc]
mov dword [rax + 4], ecx
jmp 0x180199573
mov rax, qword [rsp + 0x360]
mov rcx, qword [rsp + 0x360]
mov ecx, dword [rcx]
mov dword [rax + 4], ecx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x33], 1
lea rcx, [rsp + 0xe0]
call fcn.180033840
nop
lea rcx, [rsp + 0xc0]
call fcn.180033840
movzx eax, byte [rsp + 0x33]
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x320
pop rdi
ret