Function at 0x1400ff770
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
add r9, r8
mov qword [rbp - 8], r8
mov qword [rbp], r9
mov word [rbp + 8], 0
mov dword [rbp + 0x10], 1
lea rcx, [rbp - 0x38]
lea rbx, [rbp - 8]
mov rdx, rbx
call fcn.1400b2d20
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x38], 0
mov r12, qword [rbp - 0x30]
lea r15, [rbp + 0x38]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x1c]
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x1400ff84a
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x1400ff835
add rdx, rdx
mov r8d, 2
mov rcx, r12
call fcn.140012a40
nop
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbp + 0x1c]
dec eax
cmp eax, 0xa
ja case.0x1400ff866.5
lea rcx, [0x1402911a8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebx, dword [rbp + 0x38]
mov r14d, ebx
shr r14d, 1
mov r13d, 2
cmp ebx, 2
jb 0x1400ff89f
mov dword [rbp + 0x3c], ebx
lea ebx, [r14 + r14]
mov edx, 2
mov rcx, rbx
call fcn.140012a60
test rax, rax
je 0x1400ffbad
mov r13, rax
mov ebx, dword [rbp + 0x3c]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x1400ffa73
mov dword [rbp + 0x3c], ebx
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x28], r13
mov rcx, r13
mov qword [rbp + 0x20], r14
mov rdx, r14
call fcn.140133460
lea rcx, [rax + rdx*2]
mov qword [rbp - 8], rax
mov qword [rbp], rcx
mov word [rbp + 8], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 8]
call fcn.140105f90
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 4], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0xc], rax
mov dword [rsi], 2
jmp 0x1400ffb56
mov ebx, dword [rbp + 0x38]
test rbx, rbx
je 0x1400ffaa6
mov edx, 1
mov rcx, rbx
call fcn.140012a60
test rax, rax
je 0x1400ffbc0
mov r14, rax
jmp 0x1400ffaac
cmp dword [rbp + 0x38], 8
jne case.0x1400ff866.5
mov qword [rbp - 8], 0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x1400ff80a
mov rax, qword [rbp - 8]
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x1400ff81b
cmp dword [rbp + 0x38], 4
jne case.0x1400ff866.5
mov dword [rbp - 8], 0
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jne 0x1400ff80a
mov eax, dword [rbp - 8]
mov dword [rsi], 0
mov dword [rsi + 4], eax
jmp 0x1400ff81b
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], 0x8007000d
jmp 0x1400ff815
mov ebx, dword [rbp + 0x38]
mov r14d, ebx
shr r14d, 1
mov r13d, 2
cmp ebx, 2
jb 0x1400ffa41
mov dword [rbp + 0x3c], ebx
lea ebx, [r14 + r14]
mov edx, 2
mov rcx, rbx
call fcn.140012a60
test rax, rax
je 0x1400ffbd3
mov r13, rax
mov ebx, dword [rbp + 0x3c]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x1400ffb0d
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
cmp ebx, 2
jb 0x1400ff81b
add r14d, r14d
mov r8d, 2
mov rcx, r13
mov rdx, r14
call fcn.140012a40
jmp 0x1400ff81b
mov r14d, 1
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
je 0x1400ffb96
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
test ebx, ebx
je 0x1400ff81b
mov r8d, 1
mov rcx, r14
mov rdx, rbx
call fcn.140012a40
jmp 0x1400ff81b
mov dword [rbp + 0x3c], ebx
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x28], r13
mov rcx, r13
mov qword [rbp + 0x20], r14
mov rdx, r14
call fcn.140133460
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov byte [rbp - 0x40], 0
lea rcx, [rbp - 0x20]
lea rdx, [rbp - 0x50]
call fcn.1400b3880
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0xc], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 4], xmm0
mov dword [rsi], 4
movups xmm0, xmmword [rbp - 8]
mov rax, qword [rbp + 4]
movups xmmword [rsi + 4], xmm0
mov qword [rsi + 0x10], rax
mov rax, qword [rbp + 0xc]
mov qword [rsi + 0x18], rax
cmp dword [rbp + 0x3c], 2
mov r12, qword [rbp + 0x30]
jb 0x1400ff81b
mov rdx, qword [rbp + 0x20]
add edx, edx
mov r8d, 2
mov rcx, qword [rbp + 0x28]
call fcn.140012a40
jmp 0x1400ff81b
mov dword [rsi], 3
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rbx
jmp 0x1400ff81b
mov qword [rbp + 0x30], r12
mov ecx, 2
mov rdx, rbx
call fcn.14021b3b0
jmp 0x1400ffbe4
mov qword [rbp + 0x30], r12
mov ecx, 1
mov rdx, rbx
call fcn.14021b3b0
jmp 0x1400ffbe4
mov qword [rbp + 0x30], r12
mov ecx, 2
mov rdx, rbx
call fcn.14021b3b0
ud2