Function at 0x14005f498
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rdx
mov qword [rbp + 0x100], r8
mov qword [rbp + 0xd8], 0
call fcn.1400bbfe0
mov rax, qword [rbp + 0xf0]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400bc3a0
mov rdx, qword [rbp + 0xf8]
lea rax, [rbp + 0xf8]
mov rcx, rax
call fcn.1400bc3a0
mov rdx, qword [rbp + 0x100]
lea rax, [rbp + 0x100]
mov rcx, rax
call fcn.1400bc3a0
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov rax, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140059b0f
mov qword [rbp + 0xd0], rax
lea rax, [rbp - 0x48]
lea rdx, [0x1406a3738]
mov rcx, rax
call fcn.1400bc530
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xc8], rax
lea rax, [0x140679d5c]
mov qword [rbp + 0xc0], rax
mov rdx, qword [rbp + 0xc8]
mov rax, qword [rbp + 0xc0]
mov rcx, rax
call fcn.1400bc410
test eax, eax
je 0x14005f672
mov eax, dword [0x1406a35dc]
test eax, eax
je 0x14005f62b
mov rax, qword [0x1406a35c8]
mov qword [rbp + 0x48], rax
mov rax, qword [0x1406a31b0]
mov qword [rbp + 0x40], rax
mov eax, dword [0x1406a3604]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x30], rax
mov r8, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x30], rax
nop
jmp 0x14005f778
nop
mov rax, qword [0x1406a35c8]
mov qword [rbp + 0x68], rax
mov rax, qword [0x1406a31b0]
mov qword [rbp + 0x60], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x58], rax
mov rcx, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x60]
mov rax, qword [rbp + 0x68]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp - 0x30], rax
jmp 0x14005f778
nop
mov rax, qword [0x1406a35c8]
mov qword [rbp + 0xb8], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0x100]
mov rcx, rax
mov rdx, qword [rbp + 0xb0]
mov rax, qword [rbp + 0xb8]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp + 0xac], eax
mov eax, dword [rbp + 0xac]
cdqe
mov qword [rbp - 0x40], rax
mov eax, dword [0x1406a35dc]
test eax, eax
je 0x14005f72f
mov rax, qword [0x1406a31b0]
mov qword [rbp + 0x88], rax
mov eax, dword [0x1406a3604]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x80], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp - 0x20]
mov r8, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp - 0x30], rax
jmp 0x14005f778
nop
mov rax, qword [0x1406a31b0]
mov qword [rbp + 0xa0], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x98], rax
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp + 0x98]
mov rdx, qword [rbp + 0xa0]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x30], rax
mov qword [rbp - 8], 0
mov rax, qword [rbp - 0x30]
test rax, rax
jne 0x14005f834
mov qword [rbp - 0x28], 0x400
call fcn.1400bc050
call fcn.1400bc050
call fcn.1400bc0b0
mov edx, eax
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.1400b9f50
call fcn.1400bc0b0
mov edx, eax
lea rax, [rbp - 0x10]
mov rcx, rax
call fcn.1400bc290
lea rax, [rbp - 0x38]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0xf8]
mov r10, rax
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x18]
mov qword [rsp + 0x20], rdx
mov r9, rcx
mov r8d, 0
mov rdx, r10
mov rcx, rax
call sub.ADVAPI32.dll_RegQueryValueExW
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x30]
test rax, rax
jne 0x14005f837
mov qword [rbp - 8], 1
jmp 0x14005f838
nop
jmp 0x14005f838
nop
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp], rax
mov rax, qword [rbp - 8]
mov qword [rbp + 0xd8], rax
nop
mov rax, qword [rbp + 0x100]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.1400bc370
mov rax, qword [rbp + 0xd8]
add rsp, 0x160
pop rbp
ret