Function at 0x140058880
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 [0x14017dbd0]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rsi, r8
mov rax, rdx
mov r14, rcx
mov qword [rbp - 0x58], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov qword [rbp - 0x48], r13
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov edi, 1
mov dword [rsp + 0x40], edi
mov dword [rbp - 0x50], r13d
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1400588f4
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 0x140058b44
mov r15d, r13d
movzx ebx, byte [rsp + 0x44]
nop
mov dword [rbp - 0x50], 0x400
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x40]
mov edx, r15d
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov r12d, eax
test eax, eax
jne 0x140058b34
mov r8d, dword [rbp - 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.14002ce40
nop
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x140058b86
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400589a7
mov r9, qword [rsi]
mov qword [rsp + 0x30], 1
lea rax, [0x140164468]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, rsi
movzx edx, bl
lea rcx, [rbp - 0x78]
call fcn.14003f320
or edi, 2
mov dword [rsp + 0x40], edi
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.140061ba0
or edi, 4
mov dword [rsp + 0x40], edi
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140058a34
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], send
mov byte [rsp + 0x48], 0
add qword [r14 + 8], 0x20
jmp 0x140058a41
lea r8, [rsp + 0x48]
mov rcx, r14
call fcn.1400407f0
and edi, 0xfffffffb
mov dword [rsp + 0x40], edi
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140058a85
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058a80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058b8c
call fcn.140095fd0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], send
mov byte [rsp + 0x48], 0
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140058ada
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058ad5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058b92
call fcn.140095fd0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], send
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140058b22
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058b1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058b80
call fcn.140095fd0
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], send
mov byte [rsp + 0x68], 0
inc r15d
cmp r12d, 0x103
jne 0x140058920
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140058b53
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r14
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140095fb0
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.1400700d0
nop
call fcn.140028a10
int3
call fcn.1400700d0
nop
call fcn.1400700d0
int3