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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9e0]
sub rsp, 0xae0
mov rax, qword [0x1400391d8]
xor rax, rsp
mov qword [rbp + 0x9d0], rax
mov r13, r9
mov rsi, rdx
mov r14, rcx
mov r12, qword [rbp + 0xa48]
mov r15, qword [rbp + 0xa58]
mov qword [rbp - 0x70], rcx
xor ebx, ebx
cmp rcx, 0xffffffff80000001
jne 0x14000415c
mov qword [rsp + 0x60], rbx
lea rdx, [rsp + 0x60]
mov ecx, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x14000443e
mov r14, qword [rsp + 0x60]
mov qword [rbp - 0x70], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstall
mov rcx, r14
call qword [0x1400390f8]
test eax, eax
jne 0x140004431
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x7c0]
call fcn.140008020
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x68], ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x7c0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x140004431
xor ecx, ecx
test r15, r15
je 0x140004222
mov edi, dword [r15]
jmp 0x140004224
mov edi, ecx
cmp edi, eax
jae 0x140004431
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x7c], 0xff
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x3c0]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000437c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x3c0]
mov rcx, qword [rsp + 0x70]
call qword [0x1400390f8]
test eax, eax
jne 0x14000437c
mov dword [rbp - 0x80], 0x200
mov dword [rbp - 0x7c], 0x200
mov dword [rbp - 0x78], 0x200
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rsp + 0x60]
call qword [0x140039108]
test eax, eax
jne 0x140004371
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.DisplayVersion
mov rcx, qword [rsp + 0x60]
call qword [0x140039108]
test eax, eax
jne 0x140004371
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.InstallLocation
mov rcx, qword [rsp + 0x60]
call qword [0x140039108]
test eax, eax
jne 0x140004371
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x140004353
mov rdx, rsi
lea rcx, [rbp + 0x5c0]
call fcn.14000f91c
test eax, eax
je 0x14000438f
mov rcx, qword [rsp + 0x60]
call qword [0x1400390f0]
inc edi
cmp edi, dword [rsp + 0x68]
jae 0x140004431
xor ecx, ecx
jmp 0x140004233
lea rcx, [rbp - 0x40]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140004396
lea r8, [rbp - 0x40]
mov edx, 0x10
mov rcx, r13
cmp rax, rdx
jae 0x1400043ba
call fcn.140010074
xor esi, esi
jmp 0x1400043cc
mov r9d, 0xf
call fcn.14000f948
xor esi, esi
mov word [r13 + 0x1e], si
lea rax, [rbp + 0x1c0]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400043d3
lea r8, [rbp + 0x1c0]
mov edx, 0x104
mov rcx, r12
cmp rbx, rdx
jae 0x1400043f8
call fcn.140010074
jmp 0x14000440c
mov r9d, 0x103
call fcn.14000f948
mov word [r12 + 0x206], si
mov rcx, qword [rsp + 0x60]
call qword [0x1400390f0]
mov rcx, qword [rsp + 0x70]
call qword [0x1400390f0]
test r15, r15
je 0x14000442d
lea eax, [rdi + 1]
mov dword [r15], eax
mov bl, 1
jmp 0x14000443e
mov rcx, qword [rsp + 0x70]
call qword [0x1400390f0]
xor bl, bl
cmp r14, qword [rbp - 0x70]
je 0x14000444e
mov rcx, r14
call qword [0x1400390f0]
nop
movzx eax, bl
mov rcx, qword [rbp + 0x9d0]
xor rcx, rsp
call fcn.140005fa0
mov rbx, qword [rsp + 0xb20]
add rsp, 0xae0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret