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

Disassembly:
mov qword [rsp + 0x10], 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 [section..data]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov eax, dword [0x18001bd20]
lea rdx, [rbp - 0x70]
movaps xmm0, xmmword [str.SOFTWAREMicrosoftMicrosoft_SQL_Server_Local_DBInstalled_Versions_]
xor r13d, r13d
movaps xmm1, xmmword [0x18001bcf0]
mov rdi, r8
mov dword [rbp - 0x30], eax
mov r15, rcx
mov al, byte [0x18001bd24]
xor r8d, r8d
mov byte [rbp - 0x2c], al
lea r9d, [r13 + 9]
movaps xmmword [rbp - 0x70], xmm0
lea rax, [rsp + 0x78]
movaps xmm0, xmmword [0x18001bd00]
mov rcx, 0xffffffff80000002
movaps xmmword [rbp - 0x60], xmm1
movzx r14d, r13w
movaps xmm1, xmmword [0x18001bd10]
movzx r12d, r13w
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x78], r13
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x6c], 0x104
mov byte [rbp + 0x90], r13b
mov word [rsp + 0x64], r13w
mov word [rsp + 0x60], r13w
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x40], xmm1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x1800054c4
mov dword [rdi], r13d
jmp 0x1800056e6
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], r13
xor r9d, r9d
mov qword [rsp + 0x50], r13
xor r8d, r8d
mov qword [rsp + 0x48], r13
xor edx, edx
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ebx, eax
test eax, eax
jne 0x1800056e6
mov eax, dword [rsp + 0x68]
test eax, eax
jne 0x18000551e
mov dword [rdi], r13d
jmp 0x1800056e1
mov esi, r13d
test eax, eax
je 0x180005622
mov rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x70]
mov qword [rsp + 0x38], r13
lea r8, [rbp + 0x190]
mov qword [rsp + 0x30], r13
mov edx, esi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x70], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebx, eax
test eax, eax
jne 0x1800056e6
cmp dword [rsp + 0x70], 0x100
jae 0x180005699
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x64]
lea rcx, [rbp + 0x190]
call fcn.1800052dc
mov ebx, eax
test eax, eax
jne 0x180005691
movzx eax, word [rsp + 0x64]
cmp ax, r14w
ja 0x1800055ab
jne 0x180005616
cmp word [rsp + 0x60], r12w
jbe 0x180005616
movzx r12d, word [rsp + 0x60]
lea rcx, [rbp + 0x190]
mov edx, 2
movzx r14d, ax
lea rax, [rbp + 0x90]
lea r8d, [rdx + 0x7e]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
add rcx, r8
movups xmmword [rax + 0x60], xmm0
add rax, r8
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1800055cc
inc esi
cmp esi, dword [rsp + 0x68]
jb 0x180005529
cmp byte [rbp + 0x90], r13b
je 0x180005699
mov rcx, qword [rsp + 0x78]
lea rax, [rbp - 0x78]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x180005691
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x80]
lea rax, [rbp + 0x290]
xor r8d, r8d
lea rdx, str.InstanceAPIPath
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x1800056a1
mov dword [rdi], 2
jmp 0x1800056e6
mov dword [rdi], 1
jmp 0x1800056e6
mov dword [rdi], 1
jmp 0x1800056e1
mov eax, 0x104
cmp dword [rsp + 0x6c], eax
jae 0x1800056db
cmp dword [rbp - 0x80], 1
jne 0x1800056db
mov edi, dword [rsp + 0x6c]
cmp rdi, rax
jae 0x180005731
mov r8d, edi
mov byte [rbp + rdi + 0x290], r13b
lea rdx, [rbp + 0x290]
mov rcx, r15
call fcn.180015760
mov byte [rdi + r15], r13b
jmp 0x1800056e6
mov dword [rdi], 3
mov ebx, ntohs
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1800056f6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180005705
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.180014440
mov rbx, qword [rsp + 0x4f8]
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180014694
int3