Function at 0x140005310
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rbx, rcx
mov qword [rbp - 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x40], 1
mov dword [rbp - 0x58], 0xff
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm1
mov r8d, 0x33
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea rcx, [rsp + 0x50]
call fcn.140001a40
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x80], xmm1
mov r8d, 0x3f
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall
lea rcx, [rsp + 0x70]
call fcn.140001a40
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov ecx, 0x40
call fcn.140006c70
mov rdi, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
add rax, 0x40
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x60], rax
lea rsi, [rsp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea rax, [rbp - 0x50]
mov qword [rbp - 0x20], rax
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rdi
call fcn.1400012c0
add rdi, 0x20
mov qword [rbp - 0x28], rdi
add rsi, 0x20
lea rax, [rbp - 0x70]
cmp rsi, rax
jne 0x140005420
mov rdx, rdi
mov rcx, rdi
call fcn.1400048c0
mov qword [rbp - 0x48], rdi
lea r9, [fcn.140001260]
mov edx, 0x20
mov r8d, 2
lea rcx, [rsp + 0x50]
call fcn.140006ce0
mov rsi, qword [rbp - 0x50]
mov r14, qword [rbp - 0x48]
cmp rsi, r14
je 0x14000565d
nop dword [rax]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000548d
mov rdx, qword [rsi]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140005648
mov edi, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x58]
lea r8, [rbp + 0xf0]
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000563e
nop word [rax + rax]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0xf0]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140005602
mov dword [rbp - 0x38], 0xff
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400055f8
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140005570
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140001a40
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400055b1
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x30], 0
add qword [rbx + 8], 0x20
jmp 0x1400055c1
lea r8, [rbp - 0x30]
mov rcx, rbx
call fcn.1400066c0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400055f8
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400056a4
call fcn.140006cac
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x58], 0xff
inc edi
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x58]
lea r8, [rbp + 0xf0]
mov edx, edi
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x1400054f0
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsi, 0x20
cmp rsi, r14
jne 0x140005480
mov r14, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x50]
test rsi, rsi
je 0x1400056b0
mov rdx, r14
mov rcx, rsi
call fcn.1400048c0
mov rdx, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x50]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056ab
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 fcn.140006cac
mov rax, rbx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140006c50
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret