Function at 0x14001dc40
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
sub rsp, 0xc8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x5c], 0
cmp qword [rsp + 0xd8], 0
je 0x14001dcad
lea rdx, [0x14013bab8]
mov rcx, qword [rsp + 0xd8]
call fcn.1400e989c
test eax, eax
jne 0x14001dcad
mov dword [rsp + 0x68], 1
jmp 0x14001dcb5
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0xf8], 1
jne 0x14001dcd1
mov dword [rsp + 0x6c], 1
jmp 0x14001dcd9
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2011f
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14001dd90
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20119
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x14001dd90
xor eax, eax
jmp 0x14001df2a
cmp dword [rsp + 0x54], 1
jne 0x14001ddfb
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x88]
call fcn.140004430
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xf0]
call fcn.140004b30
nop
lea rcx, [rsp + 0x88]
call fcn.140001910
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x14001df2a
cmp dword [rsp + 0x54], 2
jne 0x14001df0b
mov dword [rsp + 0x70], 1
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x5c]
xor edx, edx
mov ecx, 2
div rcx
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.1400481c0
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xf0]
call fcn.1400045e0
mov rcx, qword [rsp + 0xf0]
call fcn.140006ea0
movzx eax, al
test eax, eax
je 0x14001df09
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xa8]
call fcn.140004430
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xf0]
call fcn.140004b30
nop
lea rcx, [rsp + 0xa8]
call fcn.140001910
jmp 0x14001df1a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14001df2a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0xc8
ret