Function at 0x14001b53c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdx, qword [0x140174718]
mov rsi, rcx
mov rbx, rcx
lea r14, [rcx + 0x5000]
lea r8, [rsp + 0x48]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor r15d, r15d
mov r12d, 1
test eax, eax
jne 0x14001b768
lea rax, [rsp + 0x50]
mov rdx, rbx
mov dword [rsp + 0x50], 0x7070615b
mov word [rsp + 0x54], 0x5d
mov edi, r15d
lea rcx, [rsp + 0x50]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b5c7
lea rbx, [rsi + 5]
mov byte [rbx], 0xd
add rbx, r12
mov byte [rbx], 0xa
add rbx, r12
xor edx, edx
jmp 0x14001b70b
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14001b6fd
cmp eax, 2
jbe 0x14001b66f
cmp eax, 4
jne 0x14001b6fd
mov ecx, dword [rsp + 0x40]
add rcx, 0xd
add rcx, rbx
cmp rcx, r14
ja 0x14001b97e
lea rax, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x60]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b628
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001b63d
add rbx, rax
mov r8d, 0xa
mov byte [rbx], 0x3d
mov ecx, dword [rbp - 0x20]
add rbx, r12
mov rdx, rbx
call fcn.1400ea024
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r15b
jne 0x14001b664
jmp 0x14001b6ee
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
add rax, rbx
add rcx, 3
add rcx, rax
cmp rcx, r14
ja 0x14001b97e
lea rax, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x60]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b69a
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001b6b2
add rbx, rax
lea rax, [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov byte [rbx], 0x3d
add rbx, r12
mov rdx, rbx
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b6d2
lea rcx, [rbp - 0x20]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001b6e5
add rbx, rax
mov byte [rbx], 0xd
add rbx, r12
mov byte [rbx], 0xa
add rbx, r12
add edi, r12d
mov byte [rsp + 0x60], r15b
mov byte [rbp - 0x20], r15b
mov edx, edi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], pe_nt_image_headers64
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x14001b5ea
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x11f6f2d6
mov ecx, 0xe8e1d41a
mov r8d, 0x6a40a0
call fcn.140001678
lea r8, [0x140128d38]
lea rcx, [rbp - 0x20]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x20]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14001b97e
mov byte [rbx], 0xd
add rbx, r12
lea rax, [rsp + 0x58]
mov byte [rbx], 0xa
add rbx, r12
mov dword [rsp + 0x58], 0x7379735b
mov rdx, rbx
mov word [rsp + 0x5c], 0x5d
mov edi, r15d
sub rdx, rax
lea rcx, [rsp + 0x58]
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b7dd
add rbx, 5
mov byte [rbx], 0xd
add rbx, r12
mov byte [rbx], 0xa
add rbx, r12
xor edx, edx
jmp 0x14001b921
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14001b913
cmp eax, 2
jbe 0x14001b885
cmp eax, 4
jne 0x14001b913
mov ecx, dword [rsp + 0x40]
add rcx, 0xd
add rcx, rbx
cmp rcx, r14
ja 0x14001b97e
lea rax, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x60]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b83e
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001b853
add rbx, rax
mov r8d, 0xa
mov byte [rbx], 0x3d
mov ecx, dword [rbp - 0x20]
add rbx, r12
mov rdx, rbx
call fcn.1400ea024
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r15b
jne 0x14001b87a
jmp 0x14001b904
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
add rax, rbx
add rcx, 3
add rcx, rax
cmp rcx, r14
ja 0x14001b97e
lea rax, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x60]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b8b0
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001b8c8
add rbx, rax
lea rax, [rbp - 0x20]
lea rcx, [rbp - 0x20]
mov byte [rbx], 0x3d
add rbx, r12
mov rdx, rbx
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
add rcx, r12
test al, al
jne 0x14001b8e8
lea rcx, [rbp - 0x20]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14001b8fb
add rbx, rax
mov byte [rbx], 0xd
add rbx, r12
mov byte [rbx], 0xa
add rbx, r12
add edi, r12d
mov byte [rsp + 0x60], r15b
mov byte [rbp - 0x20], r15b
mov edx, edi
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov dword [rsp + 0x40], pe_nt_image_headers64
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x50], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x14001b800
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub rbx, rsi
mov eax, ebx
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret