Function at 0x180198980
Capabilities:
Query or enumerate registry value

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x360
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x378], 0
jne 0x1801989cf
xor al, al
jmp 0x180198d95
mov edx, dword [rsp + 0x378]
mov rcx, qword [rsp + 0x370]
call fcn.180195950
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x378]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x370]
call fcn.180198db0
nop
mov qword [rsp + 0xc8], 0
lea rcx, [rsp + 0x118]
call fcn.180037970
lea rcx, [rsp + 0xc8]
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 0x180198a64
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x118]
call fcn.180033840
movzx eax, byte [rsp + 0x30]
jmp 0x180198d95
mov edx, dword [rsp + 0x378]
mov rcx, qword [rsp + 0x370]
call fcn.180195970
test eax, eax
jne 0x180198a9a
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x370]
call fcn.180195990
mov rcx, qword [rsp + 0x390]
mov dword [rcx + 4], eax
jmp 0x180198aac
mov rax, qword [rsp + 0x390]
mov ecx, dword [rsp + 0x378]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x390]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
mov rax, qword [rsp + 0x390]
add rax, 0x10
lea rdx, str.00000000_0000_0000_0000_000000000000
mov rcx, rax
call fcn.180033910
mov rax, qword [rsp + 0x390]
add rax, 0x30
lea rdx, str.00000000_0000_0000_0000_000000000000
mov rcx, rax
call fcn.180033910
mov rax, qword [rsp + 0x390]
movzx ecx, byte [rsp + 0x380]
mov byte [rax + 0x90], cl
mov rax, qword [rsp + 0x390]
movzx ecx, byte [rsp + 0x388]
mov byte [rax + 0x91], cl
mov rax, qword [rsp + 0x390]
mov dword [rax + 0x94], 0
lea rax, [rsp + 0x140]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0xd0], 0x208
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Ime_File
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0xf8]
call fcn.180033860
nop
lea rcx, [rsp + 0xf8]
call fcn.180037960
test rax, rax
jbe 0x180198c41
lea rcx, [rsp + 0xd8]
call fcn.180037a00
nop
lea rdx, [rsp + 0xd8]
mov ecx, 0x25
call fcn.180169130
mov edx, 0x10
lea rcx, [rsp + 0xd8]
call fcn.1801da860
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x88]
call fcn.18006c600
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x390]
add rax, 0x50
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.1800379a0
nop
lea rcx, [rsp + 0x88]
call fcn.180033840
nop
lea rcx, [rsp + 0xd8]
call fcn.180033840
mov dword [rsp + 0xd0], 0x208
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Layout_Display_Name
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180198ceb
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x68]
call fcn.180033860
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.180195280
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x390]
add rax, 0x70
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.1800379a0
nop
lea rcx, [rsp + 0xa8]
call fcn.180033840
nop
lea rcx, [rsp + 0x68]
call fcn.180033840
mov rax, qword [rsp + 0x390]
add rax, 0x70
mov rcx, rax
call fcn.180037950
movzx eax, al
test eax, eax
je 0x180198d62
mov dword [rsp + 0xd0], 0x208
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Layout_Text
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rax, qword [rsp + 0x390]
add rax, 0x70
lea rdx, [rsp + 0x140]
mov rcx, rax
call fcn.180033910
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [rsp + 0x31], 1
lea rcx, [rsp + 0xf8]
call fcn.180033840
nop
lea rcx, [rsp + 0x118]
call fcn.180033840
movzx eax, byte [rsp + 0x31]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0x360
pop rdi
ret