Function at 0x140004eb0
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 [0x140163470]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdx, qword [0x140175b50]
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 0x1400050dc
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 0x140004f3b
lea rbx, [rsi + 5]
mov byte [rbx], 0xd
add rbx, r12
mov byte [rbx], 0xa
add rbx, r12
xor edx, edx
jmp 0x14000507f
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140005071
cmp eax, 2
jbe 0x140004fe3
cmp eax, 4
jne 0x140005071
mov ecx, dword [rsp + 0x40]
add rcx, 0xd
add rcx, rbx
cmp rcx, r14
ja 0x1400052f2
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 0x140004f9c
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x140004fb1
add rbx, rax
mov r8d, 0xa
mov byte [rbx], 0x3d
mov ecx, dword [rbp - 0x20]
add rbx, r12
mov rdx, rbx
call fcn.1400e9884
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r15b
jne 0x140004fd8
jmp 0x140005062
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
add rax, rbx
add rcx, 3
add rcx, rax
cmp rcx, r14
ja 0x1400052f2
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 0x14000500e
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x140005026
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 0x140005046
lea rcx, [rbp - 0x20]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x140005059
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 0x140004f5e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x29b1cf44
mov ecx, 0xb8cef4cb
mov r8d, 0x5e193e0b
call fcn.1400010f0
lea r8, [0x140129d88]
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 0x1400052f2
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 0x140005151
add rbx, 5
mov byte [rbx], 0xd
add rbx, r12
mov byte [rbx], 0xa
add rbx, r12
xor edx, edx
jmp 0x140005295
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140005287
cmp eax, 2
jbe 0x1400051f9
cmp eax, 4
jne 0x140005287
mov ecx, dword [rsp + 0x40]
add rcx, 0xd
add rcx, rbx
cmp rcx, r14
ja 0x1400052f2
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 0x1400051b2
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r15b
jne 0x1400051c7
add rbx, rax
mov r8d, 0xa
mov byte [rbx], 0x3d
mov ecx, dword [rbp - 0x20]
add rbx, r12
mov rdx, rbx
call fcn.1400e9884
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r15b
jne 0x1400051ee
jmp 0x140005278
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
add rax, rbx
add rcx, 3
add rcx, rax
cmp rcx, r14
ja 0x1400052f2
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 0x140005224
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14000523c
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 0x14000525c
lea rcx, [rbp - 0x20]
mov rax, r8
inc rax
cmp byte [rcx + rax], r15b
jne 0x14000526f
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 0x140005174
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.1400e8bc0
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