Function at 0x140016180
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14005e8d8]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea r8, [rsp + 0x60]
mov dword [rsp + 0x70], 1
lea rdx, str.SOFTWAREMicrosoftCryptography
mov dword [rsp + 0x68], 0xff
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
lea rax, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.MachineGuid
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call fcn.14000a550
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14001621e
mov rbx, qword [rax]
lea r8, [rsp + 0x60]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftCryptography
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140016240
mov rcx, qword [rsp + 0x60]
lea rdx, str.MachineGuid
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400162b5
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400162b0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016479
call fcn.14001a0d8
cmp byte [0x140061300], 0
mov qword [rsp + 0x1b0], rsi
jne 0x140016312
lea rdx, str.SOFTWAREWOW6432NodeBlizzard_Entertainment
mov rcx, 0xffffffff80000002
call fcn.140016480
lea rdx, str.SoftwareBlizzard_Entertainment
mov byte [0x140061300], al
mov rcx, 0xffffffff80000001
call fcn.140016480
lea rdx, str.SoftwareActivision
mov byte [0x140061300], al
mov rcx, 0xffffffff80000001
call fcn.140016480
mov byte [0x140061300], 0
lea rax, [rsp + 0x60]
xor esi, esi
mov r9d, 0xf003f
mov qword [rsp + 0x60], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMHardwareConfig
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140016355
lea rcx, str._nCleaning_Please_Wait.._n
call fcn.140005e60
jmp 0x140016451
mov qword [rsp + 0x1b8], rdi
lea rcx, [rbp - 0x80]
mov rdi, qword [rsp + 0x60]
xor edx, edx
mov r8d, 0x104
call fcn.14001c930
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov ebx, esi
mov dword [rsp + 0x68], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x140016440
nop dword [rax]
lea rdx, str.Current
lea rcx, [rbp - 0x80]
call fcn.140029c0c
test eax, eax
je 0x140016406
mov qword [rsp + 0x50], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], 0xf
mov r8, 0xffffffffffffffff
mov byte [rsp + 0x40], sil
inc r8
cmp byte [rax + r8], sil
jne 0x1400163e2
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140005090
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140016510
mov qword [rsp + 0x38], rsi
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rsi
lea r8, [rbp - 0x80]
inc ebx
mov qword [rsp + 0x28], rsi
mov edx, ebx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov dword [rsp + 0x68], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1400163b0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x1b8]
mov rsi, qword [rsp + 0x1b0]
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14001a6e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rbp
ret
call fcn.14002080c
int3