Function at 0x140001720
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov qword [rsp + 0x60], r8
mov r12, rdx
mov qword [rsp + 0x68], rcx
xor edi, edi
mov dword [rsp + 0x78], 0x200
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x60]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r13d, 1
cmp eax, 0x103
je 0x140001a8e
mov r8d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
test eax, eax
jne 0x140001a3e
mov r14, qword [r12 + 0x10]
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x140001ab8
mov r15, r12
cmp qword [r12 + 0x18], 7
jbe 0x1400017e3
mov r15, qword [r12]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rsi, [r14 + 1]
mov ebx, 7
lea rdi, [rsp + 0x40]
cmp rsi, rbx
jbe 0x14000187b
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x140001850
mov rbx, rcx
lea rcx, [rdx + rdx]
cmp rcx, 0x1000
jb 0x14000186e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001abe
mov rcx, rax
call fcn.140002880
test rax, rax
je 0x140001a79
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140001876
cmp rbx, 0xa
cmovb rbx, r8
lea rcx, [rbx + 1]
cmp rcx, rdx
ja 0x140001abe
add rcx, rcx
jne 0x14000181b
xor edi, edi
jmp 0x140001876
call fcn.140002880
mov rdi, rax
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], 0x5c
xor r14d, r14d
mov word [rdi + rsi*2], r14w
lea rax, [rbp - 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400018b0
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, rsi
cmp rbx, rax
ja 0x140001908
lea rax, [rsi + rbx]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
cmp rcx, 7
cmova rdi, qword [rsp + 0x40]
lea rcx, [rdi + rsi*2]
lea r8, [rbx + rbx]
lea rdx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + rbx]
mov word [rdi + rax*2], r14w
lea rax, [rsp + 0x40]
jmp 0x14000191e
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400023e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor edi, edi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000198f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000198a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001a80
call fcn.1400028bc
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rbx, qword [rsp + 0x60]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140001460
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001a02
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
call fcn.140001720
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140001a3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001a87
call fcn.1400028bc
mov dword [rsp + 0x78], 0x200
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x60]
mov edx, r13d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc r13d
jmp 0x140001792
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140002860
mov rbx, qword [rsp + 0x508]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400011b0
int3
call fcn.140001110
int3