Function at 0x140084180
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
xor r14d, r14d
mov rcx, r9
call fcn.1400140b8
mov qword [rbp - 0x50], r14
cmp qword [rbx + 0x18], 8
jb 0x1400841c3
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 ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140084463
mov dword [rbp - 0x48], r14d
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x40], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
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], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
cmp dword [rbp - 0x48], r14d
jbe 0x140084459
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r14
mov eax, dword [rbp - 0x44]
add eax, 0xa
mov dword [rbp - 0x38], eax
mov edx, eax
je 0x140084278
lea rcx, [rbp - 0x18]
call fcn.140087150
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], r14
mov eax, dword [rbp - 0x40]
add eax, 0x14
mov dword [rbp - 0x34], eax
mov edx, eax
je 0x14008429a
lea rcx, [rbp - 0x30]
call fcn.1400870d0
mov dword [rbp - 0x3c], r14d
lea rax, [rbp - 0x34]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x38]
mov r8, qword [rbp - 0x18]
mov edx, edi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x1400843d0
cmp dword [rbp - 0x3c], 1
jne 0x1400843d0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov rdx, qword [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x140084306
lea rcx, [rbp + 0x20]
call fcn.140016628
nop
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov rdx, qword [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x14008432e
lea rcx, [rbp]
call fcn.140016628
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
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.14001481c
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14001481c
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14008383c
nop
lea rcx, [rbp - 0x80]
call fcn.140007f4c
lea rcx, [rsp + 0x60]
call fcn.140007f4c
nop
lea rcx, [rbp]
call fcn.140007f4c
nop
lea rcx, [rbp + 0x20]
call fcn.140007f4c
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140084412
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084401
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008447f
call fcn.1400928f8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14008444e
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084449
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140084486
call fcn.1400928f8
inc edi
cmp edi, dword [rbp - 0x48]
jb 0x140084256
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140092030
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
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