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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x830]
sub rsp, 0x930
mov rax, qword [0x1403486d0]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x58], rcx
xor esi, esi
mov dword [rsp + 0x58], esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x58], 1
mov rbx, qword [rdx]
mov rdi, qword [rdx + 8]
cmp rbx, rdi
je 0x1400ca249
nop
mov rcx, rbx
call fcn.140052120
add rbx, 0x20
cmp rbx, rdi
jne 0x1400ca230
mov rax, qword [r13]
mov qword [r13 + 8], rax
mov dword [rsp + 0x40], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov dword [rsp + 0x68], 0x200
mov eax, 0xffffffff
mov ecx, 0x100
cmp dword [rsp + 0x40], 0
cmovne eax, ecx
mov dword [rsp + 0x6c], eax
lea rdi, [rsp + 0x68]
mov qword [rsp + 0x60], rdi
lea rax, [0x1402888d0]
mov qword [rbp - 0x78], rax
mov ebx, dword [rdi]
cmp ebx, 0xffffffff
je 0x1400ca66b
or ebx, 0x20019
mov dword [rsp + 0x44], ebx
mov r12, rsi
mov qword [rbp - 0x70], rsi
mov dword [rbp - 0x68], esi
mov qword [rbp - 0x60], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x1400ca2fb
mov ecx, esi
mov r12, qword [rsp + 0x50]
mov qword [rbp - 0x70], r12
mov eax, ebx
and eax, 0x300
mov dword [rbp - 0x68], eax
test ecx, ecx
je 0x1400ca316
test r12, r12
je 0x1400ca66b
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400ca66b
xor edi, edi
mov r15d, edi
mov dword [rsp + 0x48], 0x400
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
lea r8, [rbp + 0x20]
mov edx, r15d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400ca645
test eax, eax
jne 0x1400ca62d
mov rsi, rdi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], edi
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test eax, eax
jne 0x1400ca3bf
mov ecx, edi
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x70], rsi
mov eax, ebx
and eax, 0x300
mov dword [rsp + 0x78], eax
test ecx, ecx
jne 0x1400ca61f
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], di
lea r8, [rbp - 0x28]
lea rdx, str.Publisher
mov rcx, rsi
call fcn.1400c4b60
lea rbx, [rbp - 0x28]
mov rdi, qword [rbp - 0x10]
cmp rdi, 8
cmovae rbx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x18]
cmp rax, 5
jb 0x1400ca4a3
lea r11, [rax - 4]
lea r11, [rbx + r11*2]
mov rcx, rbx
nop dword [rax + rax]
mov rax, r11
sub rax, rcx
sar rax, 1
mov edx, 0
je 0x1400ca44c
cmp word [rcx], 0x41
je 0x1400ca449
cmp rax, 1
je 0x1400ca44c
dec rax
add rcx, 2
cmp word [rcx], 0x41
jne 0x1400ca436
mov rdx, rcx
mov rcx, rdx
test rdx, rdx
je 0x1400ca4a3
mov r8d, 5
lea r9, [0x1402888d0]
movzx eax, word [rdx]
mov edx, 0x41
cmp ax, dx
jb 0x1400ca495
mov r10, rcx
sub r10, qword [rbp - 0x78]
cmp ax, dx
ja 0x1400ca495
cmp r8, 1
je 0x1400ca49b
dec r8
add r9, 2
movzx eax, word [r10 + r9]
movzx edx, word [r9]
cmp ax, dx
jae 0x1400ca478
add rcx, 2
jmp 0x1400ca420
sub rcx, rbx
sar rcx, 1
jmp 0x1400ca4aa
mov rcx, 0xffffffffffffffff
test rcx, rcx
jne 0x1400ca5dd
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 8]
call fcn.1400ca7d0
nop
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x1400ca4df
lea rdx, [rbp - 8]
mov rcx, rax
call fcn.1400591a0
add qword [r14 + 8], 0x20
jmp 0x1400ca4ee
lea r8, [rbp - 8]
mov rdx, rax
mov rcx, r14
call fcn.140057f70
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], bx
lea r8, [rbp - 0x48]
lea rdx, str.UninstallString
mov rsi, qword [rsp + 0x70]
mov rcx, rsi
call fcn.1400c4b60
mov rax, qword [r13 + 8]
cmp rax, qword [r13 + 0x10]
je 0x1400ca539
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.1400591a0
add qword [r13 + 8], 0x20
jmp 0x1400ca549
lea r8, [rbp - 0x48]
mov rdx, rax
mov rcx, r13
call fcn.140057f70
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x1400ca589
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ca584
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ca6af
call fcn.1400e6a28
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], bx
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1400ca5d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ca5d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ca6b6
call fcn.1400e6a28
mov rdi, qword [rbp - 0x10]
cmp rdi, 8
jb 0x1400ca619
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ca614
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ca6bd
call fcn.1400e6a28
xor edi, edi
mov ebx, dword [rsp + 0x44]
test rsi, rsi
je 0x1400ca62d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r15d
mov dword [rsp + 0x48], 0x400
cmp r15d, 0x7d0
jbe 0x1400ca330
test r12, r12
je 0x1400ca656
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, rdi
test r12, r12
je 0x1400ca664
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov rdi, qword [rsp + 0x60]
add rdi, 4
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x70]
cmp rdi, rax
jne 0x1400ca294
mov rax, r14
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1400e6b50
mov rbx, qword [rsp + 0x980]
add rsp, 0x930
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3