Function at 0x140078120
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rsi, rdx
mov r15, rcx
mov qword [rbp - 0x50], rdx
xor r12d, r12d
mov r14d, r12d
mov dword [rsp + 0x40], r12d
mov edi, r12d
lea r13, [0x140000000]
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call fcn.1400d41f0
mov dword [rbp - 0x48], 0x104
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r12
mov dword [rbp - 0x28], r12d
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x24]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x48]
lea r8, [rbp + 0x60]
mov edx, edi
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov eax, dword [rbp - 0x28]
inc eax
mov r8d, eax
mov r9, qword [rbp - 0x38]
mov rdx, r9
mov rcx, qword [rbp - 0x40]
sub rdx, rcx
cmp r8, rdx
jae 0x1400781ec
add rax, rcx
mov qword [rbp - 0x38], rax
jmp 0x140078229
jbe 0x140078229
mov rax, qword [rbp - 0x30]
sub rax, rcx
cmp r8, rax
jbe 0x140078210
lfence
mov rdx, r8
lea rcx, [rbp - 0x40]
call fcn.140079990
mov r14d, dword [rsp + 0x40]
jmp 0x140078225
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400d41f0
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x40]
mov dword [rbp - 0x48], 0x104
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x24]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x48]
lea r8, [rbp + 0x60]
mov edx, edi
mov rcx, qword [r15 + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140078543
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r12w
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x10], xmm1
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 7
mov word [rbp + 0x28], r12w
mov qword [rbp + 0x48], r12
movdqa xmmword [rbp + 0x50], xmm0
mov r8d, dword [rbp - 0x48]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14000b840
lea rcx, [rbp - 0x20]
call fcn.14000b7d0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x10], xmm1
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r12w
mov eax, dword [rbp - 0x24]
mov dword [rbp], eax
cmp eax, 0xb
ja case.0x140078319.3
mov ecx, dword [r13 + rax*4 + 0x785dc]
add rcx, r13
jmp rcx
mov rax, qword [rbp - 0x40]
mov ecx, dword [rax]
mov dword [rbp + 4], ecx
jmp case.0x140078319.0
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
mov qword [rbp + 8], rcx
jmp case.0x140078319.0
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x40]
sub r8, rdx
shr r8, 1
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
lea rcx, [rbp - 0x80]
call fcn.14000b840
lea rcx, [rbp + 0x28]
call fcn.14000b7d0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x38], xmm1
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
movq rdx, xmm1
test rdx, rdx
je case.0x140078319.0
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 8
setae r9b
mov r8, qword [rbp + 0x28]
cmovae rcx, r8
cmp word [rcx + rdx*2 - 2], 0
jne case.0x140078319.0
lea rax, [rdx - 1]
lea rcx, [rbp + 0x28]
test r9b, r9b
cmovne rcx, r8
mov qword [rbp + 0x38], rax
mov word [rcx + rax*2], r12w
jmp case.0x140078319.0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
sub rcx, rax
shr rcx, 1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r12
or r14d, 1
mov dword [rsp + 0x40], r14d
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rcx
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x60]
call fcn.1400795e0
lea rcx, [rbp + 0x48]
call fcn.14000b720
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x48], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x50], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
and r14d, 0xfffffffe
mov dword [rsp + 0x40], r14d
jmp case.0x140078319.0
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x40], rcx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp - 0x38]
mov qword [rbp + 0x18], rax
mov qword [rbp - 0x38], rcx
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x30], rcx
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1400785d4
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
mov rax, qword [rax + 0x10]
call qword [case.0x140032886.0]
nop
lea rcx, [rbp + 0x48]
call fcn.14000b720
lea rcx, [rbp + 0x28]
call fcn.14000b7d0
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400784f5
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400784e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400785ce
call fcn.1400ada10
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
lea rcx, [rbp - 0x20]
call fcn.14000b7d0
inc edi
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140078170
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078539
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400785c8
call fcn.1400ada10
jmp 0x140078170
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140078579
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078574
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400785c8
call fcn.1400ada10
mov ebx, edi
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14007859b
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x140032886.0]
mov qword [rsi + 0x38], r12
mov rax, rbx
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400ad9f0
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400e39e0
nop
call fcn.1400e39e0
nop
call fcn.1400af8f0
int3