Function at 0x140005c60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r8b, dl
lea rdx, [rbp + 0x70]
mov rsi, rcx
call fcn.14000e03c
lea rcx, [0x140165090]
mov edx, 0xd0ff8151
mov r8d, 4
call fcn.140001120
lea rdx, [rbp + 0x70]
mov rcx, rsi
mov r8, rax
call fcn.140022128
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [0x140165096]
mov edx, 0xe983c484
mov r8d, InitCommonControls
call fcn.140001120
movzx ecx, word [rsp + 0x46]
movzx r9d, word [rsp + 0x42]
movzx r8d, word [rsp + 0x40]
lea rdx, str.Xreveal_2.6.6__2024_06_23_
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
lea rcx, [rbp + 0x70]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, [rbp + 0x70]
mov edx, 5
mov rcx, rsi
call fcn.1400221a8
lea rcx, [rsp + 0x54]
xor edx, edx
mov r8d, ILFree
mov dword [rsp + 0x50], 0x9c
call fcn.1400ebf40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, [0x1401650a8]
mov edx, 0x7eb7da36
mov r8d, 0x2d
lea rbx, [rbp + 0x70]
call fcn.140001120
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x140005e71
lea r8d, [rdi + 0xd]
lea rcx, [0x1401650d8]
mov edx, 0x7fdf7b1f
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], pe_nt_image_headers64
call fcn.140001120
lea rcx, [rsp + 0x34]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8d, [rdi + 0xc]
lea rcx, [0x1401650e6]
mov edx, 0xc6bd68a
lea r14, [rbp - 0x10]
call fcn.140001120
lea r8d, [rdi + 0xb]
lea rcx, [rbp - 0x10]
mov rdx, rax
call fcn.1400e9ba0
lea rbx, [rbp - 6]
test eax, eax
cmovne rbx, r14
cmp dword [rsp + 0x5c], 0x55f0
jb 0x140005e47
lea r8d, [rdi + 0xc]
lea rcx, [0x1401650f4]
mov edx, 0x63278b60
call fcn.140001120
lea r8d, [rdi + 0xb]
mov rcx, rbx
mov rdx, rax
call fcn.1400e9ba0
test eax, eax
jne 0x140005e47
mov byte [rbx + 9], 0x31
lea rcx, [rbp + 0x70]
sub rcx, rbx
mov al, byte [rbx]
mov byte [rcx + rbx], al
inc rbx
test al, al
jne 0x140005e4e
lea rcx, [rbp + 0x70]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x140005e61
lea rbx, [rbp + 0x70]
add rbx, rax
cmp byte [rsp + 0x64], 0
je 0x140005ea6
mov byte [rbx], 0x5f
inc rbx
lea rax, [rsp + 0x64]
mov rdx, rbx
lea rcx, [rsp + 0x64]
sub rdx, rax
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140005e8e
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140005e9a
add rbx, rdi
lea rcx, [0x140165102]
mov edx, 0xa69adf78
mov r8d, 0x13
call fcn.140001120
mov ecx, dword [rsp + 0x5c]
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x54]
mov dword [rsp + 0x20], ecx
mov rdx, rax
mov rcx, rbx
call fcn.1400e9c20
lea r8, [rbp + 0x70]
mov edx, 5
mov rcx, rsi
call fcn.1400221a8
lea rcx, [0x140165118]
mov edx, 0x5257ef7e
mov r8d, 1
call fcn.140001120
mov edx, 5
mov rcx, rsi
mov r8, rax
call fcn.1400221a8
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400e8bc0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret