Function at 0x14002674c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r13, r9
mov rbx, r8
mov rdi, rdx
xor esi, esi
mov rcx, r9
call fcn.140004e24
mov qword [rbp - 0x50], rsi
cmp qword [rbx + 0x18], 8
jb 0x140026797
mov rbx, qword [rbx]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx r15d, ax
or r15d, 0x80070000
test eax, eax
cmovle r15d, eax
test r15d, r15d
js 0x140026a49
mov dword [rbp - 0x48], esi
mov dword [rbp - 0x44], esi
mov dword [rbp - 0x40], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov r12d, esi
cmp dword [rbp - 0x48], esi
jbe 0x140026a3f
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov rbx, rsi
mov qword [rbp - 8], rbx
mov eax, dword [rbp - 0x44]
add eax, 0xa
mov dword [rbp - 0x38], eax
mov edx, eax
je 0x140026853
lea rcx, [rbp - 0x18]
call fcn.1400297c4
mov rbx, qword [rbp - 8]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r14, rsi
mov qword [rbp - 0x20], rsi
mov eax, dword [rbp - 0x40]
add eax, 0x14
mov dword [rbp - 0x34], eax
mov edx, eax
je 0x14002687c
lea rcx, [rbp - 0x30]
call fcn.140029744
mov r14, qword [rbp - 0x20]
mov dword [rbp - 0x3c], esi
lea rax, [rbp - 0x34]
mov qword [rsp + 0x38], rax
mov rsi, qword [rbp - 0x30]
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
mov rdi, qword [rbp - 0x18]
mov r8, rdi
mov edx, r12d
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movzx ecx, ax
or ecx, 0x80070000
xor edx, edx
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x1400269bd
cmp dword [rbp - 0x3c], 1
jne 0x1400269bd
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], rdx
mov qword [rbp + 0x38], rdx
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], dx
jne 0x1400268eb
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14000325c
nop
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], ax
jne 0x140026914
mov rdx, rsi
lea rcx, [rbp]
call fcn.14000325c
nop
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000395c
nop
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14000395c
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, r13
call fcn.140025d8c
nop
lea rcx, [rbp - 0x80]
call fcn.140002ff8
lea rcx, [rsp + 0x60]
call fcn.140002ff8
nop
lea rcx, [rbp]
call fcn.140002ff8
nop
lea rcx, [rbp + 0x20]
call fcn.140002ff8
nop
test rsi, rsi
je 0x1400269f6
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x1400269ea
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026a73
mov rdx, r14
mov rcx, rsi
call fcn.14003797c
nop
xor esi, esi
test rdi, rdi
je 0x140026a32
sub rbx, rdi
sar rbx, 1
add rbx, rbx
mov rax, rdi
cmp rbx, 0x1000
jb 0x140026a27
add rbx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140026a7a
mov rdx, rbx
mov rcx, rdi
call fcn.14003797c
inc r12d
cmp r12d, dword [rbp - 0x48]
jb 0x14002682a
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r15d
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3