Function at 0x1400256f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140103a28]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov rax, r8
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rdx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
cmp qword [rcx + 0x28], r13
je 0x140025c58
mov qword [rbp + 0x18], r13
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r13w
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.140025d00
mov dword [rsp + 0x40], r13d
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 0x20]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400257c6
cmp eax, 0xea
jne 0x140025c7b
mov ebx, dword [rsp + 0x40]
inc rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
cmp rbx, 2
jb 0x140025812
lfence
and rbx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.140003420
mov qword [rsp + 0x48], rax
lea rdi, [rbx + rax]
mov qword [rsp + 0x58], rdi
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14006b9a0
mov qword [rsp + 0x50], rdi
jmp 0x140025817
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rdi, rcx
sar rdi, 1
lea eax, [rdi + rdi]
mov dword [rsp + 0x40], eax
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, qword [rbp + 0x18]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r13
mov r9d, 0x20
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140025c9c
mov edx, dword [rsp + 0x40]
shr rdx, 1
lea rcx, [rsp + 0x48]
call fcn.1400272d0
mov qword [rbp - 8], r13
mov rax, r13
mov qword [rbp + 8], rax
mov edi, 7
mov qword [rbp + 0x10], rdi
mov word [rbp - 8], r13w
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
cmp rcx, r8
je 0x1400258c9
sub r8, rcx
sar r8, 1
mov rdx, rcx
lea rcx, [rbp - 8]
call fcn.140009920
mov rcx, qword [rsp + 0x48]
mov rdi, qword [rbp + 0x10]
mov rax, qword [rbp + 8]
mov qword [r12], r13
mov qword [r12 + 8], r13
mov qword [r12 + 0x10], r13
mov dword [rsp + 0x60], 1
mov r15, r13
mov rbx, qword [rbp - 8]
test rax, rax
je 0x140025b0f
nop
lea rax, [rbp - 8]
cmp rdi, 8
cmovae rax, rbx
cmp word [rax + r15*2], 0
je 0x140025b0a
lea rax, [rbp - 8]
cmp rdi, 8
cmovae rax, rbx
lea rdx, [rax + r15*2]
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140025934
lea rcx, [rbp - 0x28]
call fcn.140009920
nop
mov rdx, qword [r12 + 8]
cmp rdx, qword [r12 + 0x10]
je 0x140025a10
mov rbx, rdx
mov qword [rdx], r13
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
lea r14, [rbp - 0x28]
mov r8, qword [rbp - 0x28]
mov r9, qword [rbp - 0x10]
cmp r9, 8
cmovae r14, r8
mov rsi, qword [rbp - 0x18]
cmp rsi, 8
jae 0x1400259a4
movups xmm0, xmmword [r14]
movups xmmword [rdx], xmm0
mov edi, 7
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rdi
add qword [r12 + 8], 0x20
jmp 0x140025a24
mov rdi, rsi
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140025cdf
lfence
add rcx, rcx
call fcn.140003420
mov qword [rbx], rax
mov rsi, qword [rbp - 0x18]
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.14006d080
mov r9, qword [rbp - 0x10]
mov r8, qword [rbp - 0x28]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rdi
add qword [r12 + 8], 0x20
jmp 0x140025a24
lea r8, [rbp - 0x28]
mov rcx, r12
call fcn.140023b60
mov r9, qword [rbp - 0x10]
mov r8, qword [rbp - 0x28]
lea r10, [rbp - 8]
mov rbx, qword [rbp - 8]
mov rdi, qword [rbp + 0x10]
cmp rdi, 8
cmovae r10, rbx
mov rsi, qword [rbp + 8]
cmp r15, rsi
jae 0x140025acf
mov rax, rsi
sub rax, r15
lea rcx, [r10 + r15*2]
mov rdx, r13
je 0x140025a75
cmp word [rcx], dx
je 0x140025a72
nop dword [rax]
cmp rax, 1
je 0x140025a75
dec rax
add rcx, 2
cmp word [rcx], dx
jne 0x140025a60
mov rdx, rcx
test rdx, rdx
je 0x140025acf
sub rdx, r10
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x140025acf
lea r15, [rdx + 1]
cmp r9, 8
jb 0x140025ac5
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140025abd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025ce5
mov rcx, r8
call fcn.140069cb8
cmp r15, rsi
jae 0x140025b0a
jmp 0x1400258f0
cmp r9, 8
jb 0x140025b0a
lea rdx, [r9*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140025b02
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025ce5
mov rcx, r8
call fcn.140069cb8
mov rcx, qword [rsp + 0x48]
cmp rdi, 8
jb 0x140025b4f
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140025b42
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025ceb
mov rcx, rbx
call fcn.140069cb8
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140025b9b
mov rax, qword [rsp + 0x58]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025b88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025cf1
call fcn.140069cb8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x140025bdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025cf7
call fcn.140069cb8
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140025c28
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140025c23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140025c52
call fcn.140069cb8
mov rax, r12
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140069d50
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007b2e8
int3
lea rdx, str.Registry_root_key_handle_is_null
lea rcx, [rsp + 0x70]
call fcn.140014e60
lea rdx, [0x1401010c0]
lea rcx, [rsp + 0x70]
call fcn.14006bf90
nop
lea rdx, str.Failed_to_get_registry_value_size
lea rcx, [rbp - 0x78]
call fcn.140014e60
lea rdx, [0x1401010c0]
lea rcx, [rbp - 0x78]
call fcn.14006bf90
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x38]
call fcn.140013190
nop
mov r8, rax
lea rdx, str.Failed_to_read_registry_value__error
lea rcx, [rbp + 0x58]
call fcn.140011730
nop
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140011e00
lea rdx, [0x1401010c0]
lea rcx, [rbp - 0x60]
call fcn.14006bf90
nop
call fcn.1400096a0
nop
call fcn.14007b2e8
nop
call fcn.14007b2e8
nop
call fcn.14007b2e8
nop
call fcn.14007b2e8
int3