Function at 0x140080510
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 - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140131c08]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rsi, r8
mov rax, rdx
mov rdi, rcx
mov qword [rbp - 0x58], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp - 0x48], r12
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov ebx, 1
mov dword [rsp + 0x40], ebx
mov dword [rbp - 0x50], r12d
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x140080584
mov rdx, qword [r8]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400807cb
mov r14d, r12d
movabs r13, 0x7fffffffffffffff
mov dword [rbp - 0x50], 0x400
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
mov edx, r14d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov r15d, eax
test eax, eax
jne 0x1400807bb
mov r8d, dword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.140031c90
nop
mov rcx, qword [rsi + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 1
jb 0x14008080d
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140080634
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
lea rax, [0x140116b40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x78]
call fcn.140048be0
or ebx, 2
mov dword [rsp + 0x40], ebx
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.140088b30
or ebx, 4
mov dword [rsp + 0x40], ebx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400806bb
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
add qword [rdi + 8], 0x20
jmp 0x1400806c8
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.140051980
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14008070c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140080707
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080813
call fcn.1400ab870
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140080761
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008075c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080819
call fcn.1400ab870
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400807a9
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400807a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080807
call fcn.1400ab870
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
inc r14d
cmp r15d, 0x103
jne 0x1400805b4
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400807da
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400ab850
mov rbx, qword [rsp + 0x528]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14008f288
nop
call fcn.14002d380
int3
call fcn.14008f288
nop
call fcn.14008f288
int3