Function at 0x14000efb0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
lea rbp, [rax - 0x428]
sub rsp, 0x500
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rsi, qword [rbp + 0x440]
mov qword [rsp + 0x70], rsi
mov rcx, rsi
call fcn.14000fea0
test al, al
je 0x14000f02e
mov r8, 0xffffffff80000001
mov rdx, qword [rbp + 0x438]
mov rcx, qword [rbp + 0x430]
call fcn.140011290
nop
or rbx, 0xffffffffffffffff
jmp 0x14000f2c1
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x60], 0x104
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
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
mov qword [rsp + 0x28], r13
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
or rbx, 0xffffffffffffffff
mov dword [rsp + 0x60], 0x104
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x30]
mov edx, r12d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc r12d
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r13
mov word [rbp - 0x58], r13w
xor eax, eax
mov rcx, rbx
lea rdi, [rbp - 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x58]
call fcn.14001a580
nop
cmp qword [rbp - 0x68], 8
jb 0x14000f10d
mov rcx, qword [rbp - 0x80]
call fcn.14005e094
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
mov rcx, qword [rbp - 0x40]
cmp rcx, 8
jae 0x14000f144
mov r8, qword [rbp - 0x48]
lea r8, [r8 + r8 + 2]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.14005e960
mov rcx, qword [rbp - 0x40]
jmp 0x14000f14c
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rcx
mov r8d, 0x15
lea rdx, str.Volatile_Environment
lea rcx, [rbp - 0x80]
call fcn.140017ce0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x14000f215
mov dword [rsp + 0x60], 0x104
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.USERNAME
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
js 0x14000f285
mov rax, qword [rsi]
lea rdx, [rbp + 0x1e0]
sub rdx, rax
nop
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x14000f207
add rax, 2
test cx, cx
jne 0x14000f1f0
mov eax, r13d
jmp 0x14000f20c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x14000f225
test edi, edi
js 0x14000f285
cmp r12d, dword [rsp + 0x64]
ja 0x14000f285
jmp 0x14000f093
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rbp + 0x438]
mov rcx, qword [rbp + 0x430]
call fcn.140011290
nop
cmp qword [rbp - 0x68], 8
jb 0x14000f272
mov rcx, qword [rbp - 0x80]
call fcn.14005e094
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
jmp 0x14000f2c1
mov r8, 0xffffffff80000001
mov rdx, qword [rbp + 0x438]
mov rcx, qword [rbp + 0x430]
call fcn.140011290
nop
cmp qword [rbp - 0x68], 8
jb 0x14000f2b0
mov rcx, qword [rbp - 0x80]
call fcn.14005e094
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r13
mov word [rbp - 0x80], r13w
mov rdx, qword [rsi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14000f2dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.14005e0b0
mov rbx, qword [rsp + 0x548]
add rsp, 0x500
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret