Function at 0x180053ea0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x1b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rcx, rax
call fcn.1800047c0
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x1a8], 0
mov rcx, qword [rsp + 0x218]
call fcn.180064180
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x18], 8
jb 0x180053f73
mov dword [rsp + 0x50], 1
jmp 0x180053f7b
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x180053fb0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 8
jb 0x180054019
mov dword [rsp + 0x54], 1
jmp 0x180054021
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x180054056
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x200]
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x20
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x180054448
xor edx, edx
mov eax, dword [rsp + 0x1a8]
mov ecx, 2
div ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
lea r8, [rsp + 0x47]
mov edx, eax
lea rcx, [rsp + 0x1b0]
call fcn.180004460
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax + 0x18], 8
jb 0x180054189
mov dword [rsp + 0x58], 1
jmp 0x180054191
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x42]
test eax, eax
je 0x1800541c6
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x18], 8
jb 0x180054226
mov dword [rsp + 0x5c], 1
jmp 0x18005422e
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x5c]
mov byte [rsp + 0x43], al
movzx eax, byte [rsp + 0x43]
test eax, eax
je 0x180054260
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x200]
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x20
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x180054448
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov rcx, rax
call fcn.180003970
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x1a0], rax
lea rcx, [rsp + 0x1c8]
call fcn.180002c20
nop
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x160], rax
jmp 0x180054364
mov rax, qword [rsp + 0x68]
add rax, 2
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x160]
cmp qword [rsp + 0x68], rax
je 0x180054421
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
test eax, eax
je 0x1800543b7
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
mov word [rsp + 0x48], ax
movzx edx, word [rsp + 0x48]
lea rcx, [rsp + 0x1c8]
call fcn.180002c60
jmp 0x18005441c
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x168], rax
cmp qword [rsp + 0x168], 0
jne 0x1800543dc
mov dword [rsp + 0x60], 1
jmp 0x1800543e4
mov dword [rsp + 0x60], 0
movzx eax, byte [rsp + 0x60]
mov byte [rsp + 0x44], al
movzx eax, byte [rsp + 0x44]
test eax, eax
jne 0x18005441c
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0x218]
call fcn.180018ed0
nop
xor edx, edx
lea rcx, [rsp + 0x1c8]
call fcn.180002c40
nop
jmp 0x180054356
mov byte [rsp + 0x45], 1
lea rcx, [rsp + 0x1c8]
call fcn.1800029a0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1800042a0
movzx eax, byte [rsp + 0x45]
jmp 0x18005445f
mov byte [rsp + 0x46], 0
lea rcx, [rsp + 0x1b0]
call fcn.1800042a0
movzx eax, byte [rsp + 0x46]
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x1f0
pop rdi
ret