Function at 0x140025b84
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov rax, qword [0x140051580]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdx, qword [rcx + 0x50]
xor r14d, r14d
mov r13, rcx
mov ebx, 1
mov r12d, r14d
mov r15d, r14d
test rdx, rdx
je 0x140025f0a
or rcx, 0xffffffffffffffff
mov rax, rcx
inc rax
cmp word [rdx + rax*2], r14w
jne 0x140025be0
mov r8d, 0x3a
lea rsi, [rax + 1]
lea eax, [r8 - 0x38]
cmp r8w, word [rdx + 2]
jne 0x140025d7a
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.14000130c
mov r8, qword [r13 + 0x50]
mov rdi, rax
cmp word [r8], 0x52
je 0x140025c2b
cmp word [r8], 0x72
jne 0x140025d6c
test rdi, rdi
je 0x140025f0a
add r8, 4
mov rdx, rsi
mov rcx, rdi
call fcn.1400104bc
mov esi, 0x2c
mov rcx, rdi
mov edx, esi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
xor r13d, r13d
mov r14, rax
test rax, rax
je 0x140025d6c
mov edx, esi
mov qword [rsp + 0x48], r13
lea rcx, [rax + 2]
mov word [rax], r13w
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140025cbb
add rsi, 2
mov word [rax], r13w
mov rcx, rsi
lea edx, [r13 + 0x2c]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x140025cbb
lea rcx, [rax + 2]
mov word [rax], r13w
call fcn.14001de88
mov r12, rax
mov rdx, 0xffffffff80000000
mov rcx, rdi
call fcn.14001d890
lea rcx, [rsp + 0x48]
mov r9d, ebx
mov qword [rsp + 0x20], rcx
lea rdx, [r14 + 2]
mov rcx, rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x140025d63
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rbp + 0x160]
mov dword [rsp + 0x40], ebx
test rsi, rsi
mov dword [rsp + 0x44], 0x80
mov qword [rsp + 0x20], rax
cmove rsi, r14
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140025d52
cmp dword [rsp + 0x40], ebx
jne 0x140025d52
lea rcx, [rbp + 0x160]
call fcn.14001de88
mov r15, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp r12, r15
mov ebx, r14d
setbe bl
test rdi, rdi
je 0x140025f0a
jmp 0x140025f02
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.14000130c
mov rdi, rax
test rax, rax
je 0x140025f0a
mov r8, qword [r13 + 0x50]
mov rdx, rsi
mov rcx, rax
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x40], r14d
call fcn.1400104bc
mov edx, 0x3a
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcschr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x140025dd2
mov word [rax], r14w
add rsi, 2
mov rcx, rdi
call fcn.14001de88
mov r14, rax
test rsi, rsi
je 0x140025e00
lea rdx, [0x1400463c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140025f02
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14001a520
mov esi, 0x104
test eax, eax
je 0x140025e47
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
nop dword [rax + rax]
lea r8, [0x140041678]
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.140010470
lea rcx, [rsp + 0x50]
call fcn.140019eb0
test eax, eax
jne 0x140025e84
mov edx, esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x140025ee2
lea r8, str.msdxm.ocx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140010470
lea rcx, [rsp + 0x50]
call fcn.140019eb0
test eax, eax
je 0x140025ee2
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x50]
call fcn.14001a1cc
test eax, eax
js 0x140025ee2
mov edx, dword [rsp + 0x40]
lea r8, str._lu._lu._lu._lu
mov r9d, dword [rsp + 0x44]
movzx ecx, dx
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0x50]
shr edx, 0x10
mov dword [rsp + 0x28], edx
mov edx, 0x103
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.1400104f4
lea rcx, [rsp + 0x50]
call fcn.14001de88
mov r15, rax
cmp r15, r14
jae 0x140025f02
mov rcx, qword [r13 + 0x78]
mov ebx, r12d
test rcx, rcx
je 0x140025f02
mov rcx, qword [rcx + 0x38]
call fcn.14001de88
cmp rax, r14
setae bl
mov rcx, rdi
call fcn.1400012c0
mov eax, ebx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140001660
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret