Function at 0x1800767c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x4b8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r14, r9
mov r12, r8
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], ebx
mov word [rsp + 0xa0], bx
xor edx, edx
mov r8d, 0x3fe
lea rcx, [rsp + 0xa2]
call fcn.1800c1250
mov rcx, r14
call fcn.1800649e0
cmp qword [rsi + 0x18], rbx
je 0x180076aaf
cmp qword [r12 + 0x18], rbx
je 0x180076aaf
cmp qword [rdi + 0x30], rbx
jne 0x180076851
xor al, al
jmp 0x180076ab1
cmp qword [rdi + 0x38], 8
jb 0x18007685e
mov r8, qword [rdi + 0x20]
jmp 0x180076862
lea r8, [rdi + 0x20]
mov edx, 0x200
lea rcx, [rsp + 0xa0]
call fcn.1800beefc
cmp qword [rsi + 0x20], 8
jb 0x180076881
mov r8, qword [rsi + 8]
jmp 0x180076885
lea r8, [rsi + 8]
mov edx, 0x200
lea rcx, [rsp + 0xa0]
call fcn.1800c0a54
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0xa0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x34], eax
test eax, eax
je 0x1800768e0
mov dword [rsp + 0x48], 0xffffffff
lea rdx, [0x180136c18]
lea rcx, [rsp + 0x48]
call fcn.1800c1ef0
cmp qword [r12 + 0x20], 8
jb 0x1800768f2
lea rdi, [r12 + 8]
mov rdx, qword [rdi]
jmp 0x1800768fa
lea rdi, [r12 + 8]
mov rdx, rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180076a89
cmp dword [rsp + 0x3c], 1
jne 0x180076a89
cmp dword [rsp + 0x38], eax
jbe 0x180076a89
lea ecx, [rax + 8]
call fcn.1800bee60
test rax, rax
je 0x180076954
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x180076957
mov rax, rbx
mov qword [rsp + 0x50], rax
mov rsi, rbx
mov qword [rsp + 0x68], rbx
mov rcx, rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov r13d, dword [rsp + 0x38]
mov byte [rsp + 0x30], 0
test rax, rax
jne 0x18007698f
call fcn.1800bf138
mov rcx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
cmp rsi, rcx
jbe 0x180076999
call fcn.1800bf138
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rsi
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x80], xmm0
lea r9, [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.18006eae0
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
jne 0x1800769f2
call fcn.1800bf138
mov rcx, qword [rsp + 0x68]
cmp qword [r12 + 0x20], 8
jb 0x1800769fd
mov rdi, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [rsp + 0x34], eax
test eax, eax
jne 0x180076a5f
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jne 0x180076a43
call fcn.1800bf138
mov rdx, qword [rsp + 0x68]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r14
call fcn.180012d90
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180076a6e
call fcn.1800bd964
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov rcx, qword [rsp + 0x50]
call fcn.1800bd964
jmp 0x180076a92
mov esi, 2
mov dword [rsp + 0x34], esi
jmp 0x180076a98
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180076aa8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x180076ab1
xor al, al
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1800bd980
add rsp, 0x4b8
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret