Function at 0x1400fd960
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
add r9, r8
mov qword [rbp], r8
mov qword [rbp + 8], r9
mov word [rbp + 0x10], 0
mov dword [rbp + 0x18], 1
lea rcx, [rbp - 0x30]
mov rbx, rbp
mov rdx, rbx
call fcn.1400e9890
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov rdx, qword [rbp - 0x28]
lea r14, [rbp + 0x44]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov rcx, rdi
mov qword [rbp + 0x28], rdx
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 0x1400fda33
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x1400fda22
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x28]
call fcn.140022d50
nop
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov eax, dword [rbp + 0x24]
dec eax
cmp eax, 0xa
ja case.0x1400fda4f.5
lea rcx, [0x14022d980]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r15d, dword [rbp + 0x44]
mov eax, r15d
shr eax, 1
mov qword [rbp + 0x48], rax
mov eax, 2
cmp r15d, 2
jb 0x1400fda86
mov rax, qword [rbp + 0x48]
lea ebx, [rax + rax]
mov edx, 2
mov rcx, rbx
call fcn.140022d70
test rax, rax
je 0x1400fdd90
mov dword [rbp + 0x38], r15d
mov qword [rsp + 0x28], r14
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, qword [rbp + 0x28]
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 0x1400fdc6c
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.14011c560
lea rcx, [rax + rdx*2]
mov qword [rbp], rax
mov qword [rbp + 8], rcx
mov word [rbp + 0x10], 0
lea rcx, [rbp - 0x18]
mov rdx, rbp
call fcn.14007b080
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp + 4], xmm0
mov rax, qword [rbp - 8]
mov qword [rbp + 0x14], rax
mov dword [rsi], 2
jmp 0x1400fdd35
mov ebx, dword [rbp + 0x44]
test rbx, rbx
mov qword [rbp + 0x48], rbx
je 0x1400fdc8c
mov edx, 1
mov rcx, rbx
call fcn.140022d70
test rax, rax
jne 0x1400fdc91
mov ecx, 1
mov rdx, rbx
call fcn.140215f80
jmp 0x1400fddac
cmp dword [rbp + 0x44], 8
jne case.0x1400fda4f.5
mov qword [rbp], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, qword [rbp + 0x28]
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 0x1400fd9f6
mov rax, qword [rbp]
mov dword [rsi], 1
mov qword [rsi + 8], rax
jmp 0x1400fda07
cmp dword [rbp + 0x44], 4
jne case.0x1400fda4f.5
mov dword [rbp], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
mov rcx, rdi
mov rdx, qword [rbp + 0x28]
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 0x1400fd9f6
mov eax, dword [rbp]
mov dword [rsi], 0
mov dword [rsi + 4], eax
jmp 0x1400fda07
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], 0x8007000d
jmp 0x1400fda01
mov r15d, dword [rbp + 0x44]
mov eax, r15d
shr eax, 1
mov qword [rbp + 0x48], rax
mov eax, 2
cmp r15d, 2
jb 0x1400fdc31
mov rax, qword [rbp + 0x48]
lea ebx, [rax + rax]
mov edx, 2
mov rcx, rbx
call fcn.140022d70
test rax, rax
je 0x1400fdd9f
mov dword [rbp + 0x38], r15d
mov qword [rsp + 0x28], r14
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, qword [rbp + 0x28]
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 0x1400fdcf9
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
cmp dword [rbp + 0x38], 2
jb 0x1400fda07
jmp 0x1400fdd57
mov eax, 1
mov qword [rsp + 0x28], r14
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, qword [rbp + 0x28]
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 0x1400fdd71
mov qword [rsi + 8], 0
mov dword [rsi + 0x10], ecx
mov dword [rsi], 6
mov rdx, qword [rbp + 0x48]
test edx, edx
je 0x1400fda07
mov r8d, 1
mov rcx, qword [rbp + 0x38]
call fcn.140022d50
jmp 0x1400fda07
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x48]
call fcn.14011c560
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rdx
mov byte [rbp - 0x38], 0
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x48]
call fcn.1400ea410
mov rax, qword [rbp - 8]
mov qword [rbp + 0x14], rax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rbp + 4], xmm0
mov dword [rsi], 4
movups xmm0, xmmword [rbp]
mov rax, qword [rbp + 0xc]
movups xmmword [rsi + 4], xmm0
mov qword [rsi + 0x10], rax
mov rax, qword [rbp + 0x14]
mov qword [rsi + 0x18], rax
cmp dword [rbp + 0x38], 2
jb 0x1400fda07
mov rdx, qword [rbp + 0x48]
add edx, edx
mov r8d, 2
mov rcx, qword [rbp + 0x30]
call fcn.140022d50
jmp 0x1400fda07
mov dword [rsi], 3
mov rax, qword [rbp + 0x48]
mov qword [rsi + 8], rax
mov rcx, qword [rbp + 0x38]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
jmp 0x1400fda07
mov ecx, 2
mov rdx, rbx
call fcn.140215f80
jmp 0x1400fddac
mov ecx, 2
mov rdx, rbx
call fcn.140215f80
ud2