Function at 0x140254c60
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x468]
sub rsp, 0x568
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rbp + 0x450], rax
mov r12, r9
mov rdi, r8
mov rax, rdx
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov r15, qword [rbp + 0x4d0]
mov r13, qword [rbp + 0x4d8]
mov rbx, qword [rbp + 0x4e0]
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x140254cc0
mov rdx, qword [r8]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20009
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor esi, esi
test eax, eax
jne 0x14025517c
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x240]
call fcn.1400b4a50
mov dword [rbp - 0x18], 0x104
mov dword [rsp + 0x7c], esi
lea rax, [rbp + 0x30]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x240]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x7c]
xor ecx, ecx
test eax, eax
je 0x140254eda
cmp qword [rbx + 0x10], rcx
jne 0x140254eda
mov dword [rsp + 0x78], 0xff
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x40]
mov edx, esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r14d, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rcx, [rbp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], ax
jne 0x140254dce
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.14000b760
nop
xor eax, eax
test r14d, r14d
jne 0x140254ec0
mov r14, qword [rbp - 0x40]
test r14, r14
je 0x140254ec0
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140254e17
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000d040
nop
mov r8d, 1
lea rdx, [0x14027b3f0]
lea rcx, [rbp - 0x70]
call fcn.14000a12c
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, r14
mov rcx, rax
call fcn.14000a12c
xor r8d, r8d
mov qword [rbp], r8
mov qword [rbp + 0x10], r8
mov qword [rbp + 0x18], r8
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x140254e71
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call fcn.14000d040
nop
lea rcx, [rbp - 0x70]
call fcn.14000a0c8
mov r14, qword [rbp - 8]
mov rax, qword [r14]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov r9, r12
lea r8, [rbp]
mov rdx, qword [rbp - 0x10]
mov rcx, r14
mov rax, qword [rax + 0x10]
call qword [str.PS_]
nop
lea rcx, [rbp]
call fcn.14000a0c8
nop
lea rcx, [rbp - 0x50]
call fcn.14000a0c8
inc esi
cmp esi, dword [rsp + 0x7c]
mov ecx, 0
jb 0x140254d75
lea r14, [rbx + 0x10]
mov qword [rsp + 0x68], r14
cmp qword [r14], rcx
jne 0x14025517c
cmp dword [rbp - 0x80], ecx
jbe 0x14025517c
mov dword [rsp + 0x78], ecx
mov sil, cl
xorps xmm0, xmm0
mov edx, dword [rbp - 0x7c]
inc edx
movdqu xmmword [rbp], xmm0
mov qword [rbp + 0x10], rcx
lea rcx, [rbp]
call fcn.14005e388
nop
xorps xmm0, xmm0
mov edx, dword [rbp - 0x78]
movdqu xmmword [rbp - 0x30], xmm0
xor r8d, r8d
mov qword [rbp - 0x20], r8
lea rcx, [rbp - 0x30]
call fcn.1400522c8
nop
xor r9d, r9d
mov edi, r9d
cmp dword [rbp - 0x80], r9d
jbe 0x1402550ed
lea r14d, [r9 + 1]
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
cmp rcx, rax
cmovne rax, rcx
mov qword [rbp - 0x28], rax
mov eax, dword [rbp - 0x7c]
inc eax
mov dword [rbp - 8], eax
mov eax, dword [rbp - 0x78]
mov dword [rbp - 0x10], eax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
lea r9, [rbp - 8]
mov r8, qword [rbp]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor r9d, r9d
test eax, eax
jne 0x1402550d7
cmp dword [rsp + 0x78], r14d
jne 0x1402550d7
mov qword [rbp - 0x70], r9
mov qword [rbp - 0x60], r9
mov qword [rbp - 0x58], r9
mov rdx, qword [rbp]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r9w
jne 0x140254fc4
lea rcx, [rbp - 0x70]
call fcn.14000b760
nop
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov rdx, qword [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], ax
jne 0x140254fee
lea rcx, [rbp - 0x50]
call fcn.14000b760
nop
mov rax, qword [r13 + 0x10]
mov r9, r13
cmp qword [r13 + 0x18], 8
jb 0x140255014
mov r9, qword [r13]
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
setae byte [rsp + 0x60]
cmovae rcx, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x60]
call fcn.140022bec
cmp rax, 0xffffffffffffffff
je 0x14025504c
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140017744
jmp 0x1402550c1
mov rax, qword [r12 + 0x10]
mov r9, r12
cmp qword [r12 + 0x18], 8
jb 0x140255060
mov r9, qword [r12]
lea rcx, [rbp - 0x70]
xor r8d, r8d
cmp byte [rsp + 0x60], r8b
cmovne rcx, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov rdx, qword [rbp - 0x60]
call fcn.140022bec
cmp rax, 0xffffffffffffffff
je 0x1402550c1
mov rax, qword [r15 + 0x10]
mov r9, r15
cmp qword [r15 + 0x18], 8
jb 0x140255096
mov r9, qword [r15]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x40]
call fcn.140022bec
movzx esi, sil
cmp rax, 0xffffffffffffffff
cmovne esi, r14d
lea rcx, [rbp - 0x50]
call fcn.14000a0c8
nop
lea rcx, [rbp - 0x70]
call fcn.14000a0c8
xor r9d, r9d
add edi, r14d
cmp edi, dword [rbp - 0x80]
jb 0x140254f47
test sil, sil
mov r14, qword [rsp + 0x68]
jne 0x1402550fe
cmp qword [rbx + 0x18], 8
jb 0x1402550f7
mov rbx, qword [rbx]
mov qword [r14], r9
mov word [rbx], r9w
mov ebx, 0x1000
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140255144
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, rbx
jb 0x140255130
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1402551a5
call fcn.1400b19ec
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xor r9d, r9d
mov qword [rbp - 0x20], r9
mov rcx, qword [rbp]
test rcx, rcx
je 0x14025517c
mov rdx, qword [rbp + 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, rbx
jb 0x140255177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14025519f
call fcn.1400b19ec
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x568
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400c6548
nop
call fcn.1400c6548
nop
int3