Function at 0x1401e7a50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov r14, rcx
xor r12b, r12b
mov byte [rcx + 0x10], 1
xor ecx, ecx
call fcn.1400f4570
mov rdi, rax
xor r15d, r15d
lea esi, [r15 + 1]
test rax, rax
je 0x1401e7ae4
mov dword [rbp + 0x40], r15d
mov dword [rbp + 0x48], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
xor r8d, r8d
lea rdx, str.NoCookieScan
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401e7ada
cmp dword [rbp + 0x40], r15d
je 0x1401e7ada
mov byte [r14 + 0x10], r15b
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax]
cmp byte [r14 + 0x10], r15b
je 0x1401e7af8
mov rax, qword [r14 + 8]
cmp byte [rax + 0x24], r15b
je 0x1401e7af8
mov byte [r14 + 0x10], r15b
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
call fcn.1400e3eb0
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1401e7d40
movzx ebx, r12b
test al, al
cmovne ebx, esi
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1401e7ef0
movzx r15d, bl
test al, al
cmovne r15d, esi
cmp byte [r14 + 0x10], 0
je 0x1401e7b4b
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1401e9070
test al, al
je 0x1401e7b4e
mov r15b, 1
cmp byte [r14 + 0x10], 0
je 0x1401e7b65
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1401e9340
test al, al
je 0x1401e7b68
mov r15b, 1
cmp byte [r14 + 0x10], 0
je 0x1401e7b7f
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1401e9c70
test al, al
je 0x1401e7b82
mov r15b, 1
cmp byte [r14 + 0x10], 0
je 0x1401e7b99
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.1401eb370
test al, al
je 0x1401e7b9c
mov r15b, 1
cmp byte [r14 + 0x10], 0
je 0x1401e7d05
cmp qword [rbp - 0x40], 0
jbe 0x1401e7d05
mov r8, qword [rbp - 0x48]
mov rbx, qword [r8]
cmp rbx, r8
je 0x1401e7d09
mov r12d, 5
nop dword [rax + rax]
mov rdi, qword [rbx + 0x20]
mov rdx, rdi
mov rcx, qword [r14 + 8]
call fcn.1400fab10
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0xc0]
cmp eax, 0x11
je 0x1401e7ca6
mov dl, 1
mov rcx, rdi
call fcn.1400d8ef0
mov rcx, rdi
call fcn.1400daa90
mov rsi, rax
mov edx, 9
mov rcx, qword [rax]
call fcn.1400d93d0
mov ecx, 4
test al, al
cmovne ecx, r12d
mov dword [rbp + 0x40], ecx
movzx edx, byte [0x140431249]
mov byte [rsp + 0x20], dl
lea r9, [rbp + 0x40]
lea rdx, [rbp - 0x28]
lea rcx, [rsi + 0x18]
call fcn.1400e4f60
mov dword [rbp + 0x40], 8
movzx eax, byte [0x140431249]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x40]
lea rdx, [rbp - 0x18]
lea rcx, [rsi + 0x18]
call fcn.1400e4f60
cmp dword [rsi + 0x28], 4
je 0x1401e7c9c
mov dword [rsi + 0x28], 4
cmp byte [rsi + 8], 0
je 0x1401e7c9c
mov rax, qword [rsi]
mov rdx, qword [0x140430c10]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x30], 7
lea rcx, [rdx + 0x390]
lea r8, [rbp - 0x38]
call fcn.14011b550
mov dl, 1
mov rcx, rsi
call fcn.1400e4c90
cmp byte [rbx + 0x19], 0
jne 0x1401e7cf6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401e7cd0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401e7cf6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401e7cc2
jmp 0x1401e7cf6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401e7cf3
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1401e7cf3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401e7ce0
mov rbx, rax
mov r8, qword [rbp - 0x48]
cmp rbx, r8
jne 0x1401e7bd0
jmp 0x1401e7d09
mov r8, qword [rbp - 0x48]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140009350
mov rcx, qword [rbp - 0x48]
call fcn.14021ae20
movzx eax, r15b
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret