Function at 0x140099ad0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1400ea3e8]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov r14b, r9b
mov byte [rsp + 0x60], r9b
mov qword [rbp - 0x68], r8
mov rdi, rdx
mov rbx, qword [rbp + 0xa0]
mov qword [rsp + 0x68], rbx
mov rax, qword [rbp + 0xa8]
mov qword [rbp - 0x70], rax
xor r13d, r13d
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, qword [str.SoftwareMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx esi, ax
mov r15d, 0x80070000
or esi, r15d
test eax, eax
cmovle esi, eax
test esi, esi
js 0x140099fa2
mov dword [rbp - 0x3c], r13d
mov dword [rbp - 0x40], r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
movzx esi, ax
or esi, r15d
test eax, eax
cmovle esi, eax
test esi, esi
js 0x140099f98
mov qword [rbp + 8], r13
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x20], r13
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140099bd6
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 8]
call fcn.140027e48
nop
test r14b, r14b
je 0x140099c7f
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140099bfa
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 1
lea r9, [0x1400bff24]
or r8, 0xffffffffffffffff
mov rdx, qword [rdi + 0x10]
call fcn.140055060
cmp rax, 0xffffffffffffffff
je 0x140099c7f
mov qword [rbp - 0x30], r13
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
cmp qword [rdi + 0x10], rax
cmovb rax, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140099c3f
mov rdx, qword [rdi]
mov r8, rax
lea rcx, [rbp - 0x30]
call fcn.140012ba4
lea rcx, [rbp + 8]
call fcn.140009ca4
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x18], xmm1
movdqa xmm0, xmmword [0x1400c4730]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
lea rcx, [rbp - 0x30]
call fcn.140009ca4
mov eax, dword [rbp - 0x40]
inc eax
mov dword [rbp - 0x40], eax
mov r15d, r13d
cmp r15d, dword [rbp - 0x3c]
jae 0x140099f8f
xorps xmm0, xmm0
mov word [rsp + 0x62], r13w
mov edx, eax
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
lea r8, [rsp + 0x62]
lea rcx, [rbp - 0x10]
call fcn.14007b0e0
nop
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x38], eax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x38]
mov r8, qword [rbp - 0x10]
mov edx, r15d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r13d, eax
xor eax, eax
test r13d, r13d
js 0x140099f21
mov rdx, qword [str.SoftwareClassesCLSID_]
test rbx, rbx
cmovne rdx, qword [str.CLSID_]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], ax
jne 0x140099d16
lea rcx, [rbp + 0x28]
call fcn.140012ba4
nop
xor r9d, r9d
cmp qword [rsp + 0x68], r9
cmove rbx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r9w
jne 0x140099d3f
lea rcx, [rbp + 0x28]
call fcn.14002a670
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], ax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
xor r8d, r8d
lea rdx, [0x1400ba7b8]
lea rcx, [rsp + 0x70]
call fcn.140012ba4
nop
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call fcn.14005eb28
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.140009ca4
xor eax, eax
test ebx, ebx
js 0x140099f04
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140099dca
mov rcx, qword [rdi]
lea r8, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
setae bl
cmovae r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
cmp rdx, qword [rdi + 0x10]
jne 0x140099e11
mov r9, rdx
test rdx, rdx
je 0x140099ebc
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140099e0f
add rcx, 2
xor eax, eax
sub r9, 1
jne 0x140099df4
jmp 0x140099ebc
xor eax, eax
test r14b, r14b
je 0x140099f04
lea r10, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae r10, qword [rbp + 8]
lea r11, [rbp - 0x30]
test bl, bl
cmovne r11, qword [rbp - 0x30]
cmp qword [rbp + 0x18], rdx
ja 0x140099f04
sub rdx, qword [rbp + 0x18]
cmp qword [rbp + 0x18], rax
je 0x140099ebc
lea r14, [rdx + 1]
lea r14, [r11 + r14*2]
mov rcx, r11
movzx ebx, word [r10]
mov rax, r14
sub rax, rcx
sar rax, 1
mov edx, 0
je 0x140099e7d
jmp 0x140099e75
cmp rax, 1
je 0x140099e7d
dec rax
add rcx, 2
cmp word [rcx], bx
jne 0x140099e68
mov rdx, rcx
mov rcx, rdx
xor eax, eax
test rdx, rdx
je 0x140099f04
mov rdx, qword [rbp + 0x18]
mov r8, r10
test rdx, rdx
je 0x140099eb4
mov r9, rcx
sub r9, r10
movzx eax, word [r9 + r8]
cmp ax, word [r8]
jne 0x140099f7f
add r8, 2
xor eax, eax
sub rdx, 1
jne 0x140099e99
sub rcx, r11
sar rcx, 1
jne 0x140099f04
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov rdx, qword [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], ax
jne 0x140099ed1
lea rcx, [rsp + 0x70]
call fcn.140012ba4
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x68]
call fcn.1400995c0
nop
lea rcx, [rsp + 0x70]
call fcn.140009ca4
nop
lea rcx, [rbp - 0x30]
call fcn.140009ca4
nop
lea rcx, [rbp + 0x28]
call fcn.140009ca4
mov r14b, byte [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140099f6c
mov rax, qword [rbp]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099f59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099f88
call fcn.14009c6b8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
inc r15d
test r13d, r13d
js 0x140099f8f
mov eax, dword [rbp - 0x40]
xor r13d, r13d
jmp 0x140099c8a
add rcx, 2
jmp 0x140099e56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 8]
call fcn.140009ca4
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14009bdf0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret