Function at 0x140035d10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x29], r8
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x21], rax
xor r14d, r14d
mov esi, r14d
mov dword [rbp - 0x69], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov dword [rsp + 0x28], r9d
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x49]
call fcn.140033c30
mov rdi, rax
shr rax, 0x27
not eax
or r15, 0xffffffffffffffff
test al, 1
jne 0x14003601a
cmp byte [rbp - 0x71], r14b
jne 0x140035da5
movabs rdi, 0x8000000000
jmp 0x14003601a
mov edx, 0x104
lea rcx, [rbp - 0x61]
call fcn.14000c730
nop
mov r12d, r14d
mov rdi, qword [rbp - 0x59]
mov rbx, qword [rbp - 0x61]
sub rdi, rbx
sar rdi, 1
mov dword [rbp - 0x6d], edi
mov r13, qword [rbp - 0x49]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x6d]
mov r8, rbx
xor edx, edx
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r14d, eax
cmp eax, 0x103
je 0x140035ff2
cmp r14d, 0xea
jne 0x140035e26
lea rdx, [rdi + 0x104]
lea rcx, [rbp - 0x61]
call fcn.1400075f0
mov rbx, qword [rbp - 0x61]
xor r14d, r14d
jmp 0x140035f90
test r14d, r14d
jne 0x140035fd5
mov eax, dword [rbp - 0x6d]
lea rcx, [rbp - 0x61]
test eax, eax
jne 0x140035e4f
lea edx, [rax + 1]
call fcn.1400075f0
mov rbx, qword [rbp - 0x61]
xor r14d, r14d
mov word [rbx], r14w
jmp 0x140035e5e
mov rdx, rax
call fcn.1400075f0
mov rbx, qword [rbp - 0x61]
xor r14d, r14d
mov ecx, 0x40
call qword [sym.imp.MSVCR120.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rdi, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140035f07
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], r14
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
cmp word [rbx], 0
jne 0x140035e9d
mov r8, r14
jmp 0x140035eab
mov r8, r15
inc r8
cmp word [rbx + r8*2], 0
jne 0x140035ea0
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140007c60
nop
or esi, 1
mov dword [rbp - 0x69], esi
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r14
mov word [rdi], r14w
mov r9, r15
xor r8d, r8d
mov rdx, qword [rbp - 0x29]
mov rcx, rdi
call fcn.140007b20
nop
lea rcx, [rdi + 0x20]
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
mov r9, r15
xor r8d, r8d
lea rdx, [rbp - 9]
call fcn.140007b20
nop
jmp 0x140035f0a
mov rdi, r14
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140036760
nop
lea rdx, [rbp - 0x39]
mov rcx, qword [rbp - 0x21]
call fcn.1400361e0
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140035f5f
lock dec dword [rcx + 8]
jne 0x140035f58
mov rbx, qword [rbp - 0x31]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x140035f58
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov esi, dword [rbp - 0x69]
mov rbx, qword [rbp - 0x61]
test sil, 1
je 0x140035f8d
and esi, 0xfffffffe
mov dword [rbp - 0x69], esi
cmp qword [rbp + 0xf], 8
jb 0x140035f7c
mov rcx, qword [rbp - 9]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r14
mov word [rbp - 9], r14w
inc r12d
mov rdi, qword [rbp - 0x59]
sub rdi, rbx
sar rdi, 1
mov dword [rbp - 0x6d], edi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x6d]
mov r8, rbx
mov edx, r12d
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r14d, eax
cmp eax, 0x103
jne 0x140035e01
jmp 0x140035ff2
call fcn.140033970
mov rdi, rax
mov eax, r14d
or rdi, rax
movabs rax, 0x3f2100000000
or rdi, rax
jmp 0x140035ffc
movabs rdi, 0x8000000000
test rbx, rbx
je 0x14003601a
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x61], xmm0
mov qword [rbp - 0x51], 0
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x140036045
lock dec dword [rcx + 8]
jne 0x140036045
mov rbx, qword [rbp - 0x41]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock dec dword [rbx + 0xc]
jne 0x140036045
mov rcx, qword [rbp - 0x41]
mov rdx, qword [rcx]
call qword [rdx + reloc.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0x128]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret