Function at 0x140074d30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x80]
mov r12, rcx
xor r13d, r13d
lea rdx, [0x140006ee0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
mov ebx, r13d
mov r14d, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140074de8
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x1400751e0
test byte [rcx + 0x1c], 1
je 0x1400751e0
cmp byte [rcx + 0x19], 3
jb 0x1400751e0
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x17]
lea r8, [0x140007668]
mov r9d, ebx
call fcn.14001de24
jmp 0x1400751e0
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x64]
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x78], r13d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140074e9a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x1400751d6
test byte [rcx + 0x1c], 1
je 0x1400751d6
cmp byte [rcx + 0x19], 3
jb 0x1400751d6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140007668]
mov edx, 0x18
mov r9d, ebx
call fcn.14001de24
jmp 0x1400751d6
mov rcx, qword [0x14017d3a8]
lea rdi, [0x14017d3a8]
cmp rcx, rdi
je 0x140074ed3
test byte [rcx + 0x1c], 1
je 0x140074ed3
cmp byte [rcx + 0x19], 4
jb 0x140074ed3
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140007668]
mov edx, 0x19
call fcn.14001de24
mov r15d, r13d
cmp dword [rsp + 0x60], r13d
jbe 0x1400751d6
lea rax, [0x140007600]
lea rcx, [0x14017d100]
mov byte [rbp - 0x24], r13b
mov qword [rbp - 0x70], rax
mov rax, qword [0x14017d100]
mov dword [rbp - 0x20], 7
call qword [rax + 0x18]
lea rcx, [0x14017d100]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [0x14017d100]
call qword [rax + 0x18]
lea rcx, [0x14017d100]
add rax, 0x18
mov qword [rbp - 0x10], rax
mov rax, qword [0x14017d100]
call qword [rax + 0x18]
lea rcx, [0x14017d100]
add rax, 0x18
mov qword [rbp - 8], rax
mov rax, qword [0x14017d100]
call qword [rax + 0x18]
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x6c], r13d
add rax, 0x18
mov dword [rsp + 0x74], r13d
mov dword [rsp + 0x68], r13d
mov qword [rbp], rax
test r14, r14
je 0x140074f7d
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [rsp + 0x64]
inc ecx
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov r14, rax
test rax, rax
je 0x1400751ba
mov eax, dword [rsp + 0x64]
mov rcx, qword [rbp - 0x80]
lea r9, [rsp + 0x70]
inc eax
mov r8, r14
mov edx, r15d
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14007502c
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400751a1
test byte [rcx + 0x1c], 1
je 0x1400751a1
cmp byte [rcx + 0x19], 2
jb 0x1400751a1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140007668]
mov edx, 0x1a
mov r9d, r15d
mov dword [rsp + 0x20], r13d
call fcn.1400285b4
jmp 0x1400751a1
mov r9d, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x68]
cmp r9d, 4
jne 0x140075170
cmp eax, r9d
jne 0x140075170
cmp dword [rsp + 0x74], 1
je 0x140075094
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400751a1
test byte [rcx + 0x1c], 1
je 0x1400751a1
cmp byte [rcx + 0x19], r9b
jb 0x1400751a1
lea edx, [r9 + 0x18]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140007668]
mov r9d, r15d
mov qword [rsp + 0x20], r14
call fcn.14006beb4
jmp 0x1400751a1
lea rcx, [rbp - 0x70]
mov rdx, r14
call fcn.1400787b0
test al, al
jne 0x140075108
mov rax, qword [0x14017d3a8]
cmp rax, rdi
je 0x1400751a1
test byte [rax + 0x1c], 1
je 0x1400751a1
cmp byte [rax + 0x19], 2
jb 0x1400751a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14017d3a8]
lea r8, [0x140007668]
mov rcx, qword [rcx + 0x10]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
mov edx, 0x1d
cmovle eax, r11d
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x1400751a1
xor r9d, r9d
lea rdx, [rbp - 0x70]
mov rcx, r12
lea r8d, [r9 + 1]
call fcn.1400798b0
test al, al
jne 0x14007514e
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400751a1
test byte [rcx + 0x1c], 1
je 0x1400751a1
cmp byte [rcx + 0x19], 2
jb 0x1400751a1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140007668]
mov edx, 0x1e
call fcn.14001dd24
jmp 0x1400751a1
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400751a1
test byte [rcx + 0x1c], 1
je 0x1400751a1
cmp byte [rcx + 0x19], 4
jb 0x1400751a1
mov edx, 0x1f
jmp 0x140075077
mov rcx, qword [0x14017d3a8]
cmp rcx, rdi
je 0x1400751a1
test byte [rcx + 0x1c], 1
je 0x1400751a1
cmp byte [rcx + 0x19], 3
jb 0x1400751a1
mov rcx, qword [rcx + 0x10]
lea r8, [0x140007668]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
call fcn.1400285b4
lea rcx, [rbp - 0x70]
call fcn.14007a330
inc r15d
cmp r15d, dword [rsp + 0x60]
jb 0x140074ee1
jmp 0x1400751c8
lea rcx, [rbp - 0x70]
mov ebx, 0x8007000e
call fcn.14007a330
test r14, r14
je 0x1400751d6
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret