Function at 0x140101420
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1419a1b80]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r9
mov r15, r8
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x58], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov rdx, r9
lea rcx, [rsp + 0x68]
call fcn.140100e30
nop
mov edx, 0x5c
mov rdi, 0xffffffffffffffff
mov r9d, 1
mov r8, rdi
mov rcx, rsi
call fcn.140018780
nop
mov ebx, r12d
or ebx, 2
cmp eax, edi
jne 0x1401014a5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
jmp 0x1401014b7
inc eax
movsxd r8, eax
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140018810
mov dword [rsp + 0x30], ebx
mov ebx, dword [r14 + 0x104]
mov qword [rbp - 0x58], r12
or ebx, 0x20019
lea rcx, [rsp + 0x50]
call fcn.14001d9a0
mov rdx, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140101ddf
mov rsi, qword [rbp - 0x58]
test rsi, rsi
je 0x140101ddf
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x48], 1
lea rcx, [rsp + 0x68]
call fcn.14001d9a0
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14010158f
mov byte [r13 + 0x20], 0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101578
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101578
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
mov ecx, dword [rbp - 0x80]
lea eax, [rcx - 1]
cmp eax, 1
mov eax, dword [rsp + 0x34]
jbe 0x1401015a8
cmp ecx, 7
jne 0x1401015af
add eax, 4
jmp 0x1401015ab
add eax, 2
mov dword [rsp + 0x34], eax
mov edx, eax
xor r8d, r8d
lea rcx, [rsp + 0x38]
call fcn.140031550
nop
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1401015d0
mov eax, dword [rax]
cmp eax, 1
jle 0x1401015e5
mov r8d, 1
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.140033020
mov rbx, qword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14001d9a0
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140101695
mov byte [r13 + 0x20], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140101649
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101649
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14010167e
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14010167e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
mov r8d, dword [rbp - 0x80]
cmp r8d, 0xb
ja case.0x1401016b5.6
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x101e5c]
add rcx, rdx
jmp rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
cmp dword [rsp + 0x34], 0
je 0x140101742
lea rdx, [0x1401e4f90]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
mov r8, rdi
lea rcx, [rbp - 0x20]
call fcn.140002ce0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x38]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x30]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140101742
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101742
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x20]
call fcn.140030bb0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400ba2a0
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x10], xmm0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x20]
call fcn.1400a3b80
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1401017b8
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401017b8
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.140030bb0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401017e3
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401017e3
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101818
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101818
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
mov qword [rbp - 0x20], r12
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
cmp dword [rsp + 0x34], 0
je 0x1401019b4
mov r15d, r12d
lea r14, [0x1401e4f90]
mov rbx, qword [rbp - 0x58]
nop dword [rax]
nop dword [rax + rax]
mov rcx, r14
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rcx, rax
movsxd rax, r15d
lea rdx, [rcx + rax*2]
mov r8, rdi
lea rcx, [rbp - 0x78]
call fcn.140017720
mov rcx, rax
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov eax, dword [rsp + 0x30]
or eax, 0x14
mov dword [rsp + 0x30], eax
test al, 8
je 0x1401018df
and dword [rsp + 0x30], 0xfffffff7
test rbx, rbx
je 0x1401018df
mov eax, edi
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1401018df
mov edx, 2
mov r8d, 8
mov rcx, rbx
call fcn.140030bb0
nop
mov eax, dword [rsp + 0x30]
test al, 4
je 0x140101915
and dword [rsp + 0x30], 0xfffffffb
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140101915
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101915
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x78]
call fcn.140030bb0
nop
mov rax, qword [rbp - 0x30]
inc r15d
add r15d, eax
test rax, rax
je 0x14010198c
lea r8, [rbp - 0x40]
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x20]
call fcn.14000af10
mov rax, qword [rbp - 0x20]
test rax, rax
je 0x140101945
mov eax, dword [rax]
cmp eax, 1
jle 0x140101957
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14000a560
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140101860
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101860
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.140030bb0
jmp 0x140101860
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1401019b4
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401019b4
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.140030bb0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1400ba0b0
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x10], xmm0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x40]
call fcn.1400a3b80
nop
lea rcx, [rbp - 0x20]
call fcn.1400026c0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140101a36
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101a36
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101a6b
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101a6b
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
cmp dword [rsp + 0x34], 0
je 0x140101b1e
mov rax, qword [rsp + 0x48]
cqo
sub rax, rdx
sar rax, 1
mov r8, rax
lea rdx, [0x1401e4f90]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140002ce0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov qword [rdx], rcx
mov rcx, qword [rbp - 0x38]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x38], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x30]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x30], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140101b1e
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101b1e
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x78]
call fcn.140030bb0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400ba2a0
movups xmm0, xmmword [rax]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], 2
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x10], xmm0
mov byte [r13 + 0x20], 1
lea rcx, [rbp - 0x20]
call fcn.1400a3b80
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140101b94
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101b94
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp - 0x40]
call fcn.140030bb0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140101bbf
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101bbf
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101bf4
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101bf4
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
lea r14, [0x1401e4f90]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne r14, rax
mov edx, dword [r14]
mov rcx, r13
call fcn.1400a3890
mov byte [r13 + 0x20], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140101c59
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101c59
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101c8e
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101c8e
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
lea r14, [0x1401e4f90]
mov rax, qword [rsp + 0x40]
test rax, rax
cmovne r14, rax
mov rdx, qword [r14]
mov rcx, r13
call fcn.1400a3af0
mov byte [r13 + 0x20], 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140101cf3
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101cf3
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101d28
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101d28
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
mov qword [rbp - 0x78], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
lea rax, [0x140285bf8]
mov qword [rbp - 0x60], rax
lea rdx, [0x140255888]
lea rcx, [rbp - 0x78]
call fcn.140022730
mov byte [r13 + 0x20], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140101d9a
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101d9a
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.140030bb0
nop
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101dcf
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101dcf
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140101e37
lock xadd dword [rax], edi
jmp 0x140101e1d
mov byte [r13 + 0x20], 0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140101e0f
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140101e0f
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x50]
call fcn.140030bb0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140101e37
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x140101e37
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x68]
call fcn.140030bb0
mov rax, r13
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14016c210
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret