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

Disassembly:
jmp 0x140016910
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x490
mov rdi, rsp
mov ecx, 0x124
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a0]
mov rax, qword [0x1401940e8]
xor rax, rsp
mov qword [rsp + 0x488], rax
lea rdx, str.Executing_RemoveMicrosoftUninstallReg::
mov rax, qword [rsp + 0x4a0]
mov rcx, qword [rax + 8]
call fcn.14000222a
mov dword [rsp + 0x84], 0
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov dword [rsp + 0x2f4], 0x104
lea rcx, [rsp + 0x318]
call fcn.1400036c5
nop
lea rcx, [rsp + 0x358]
call fcn.1400036c5
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x140016d8c
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140016d7f
cmp dword [rsp + 0x84], 0
je 0x140016d7f
mov dword [rsp + 0x384], 0
jmp 0x140016a74
mov eax, dword [rsp + 0x384]
inc eax
mov dword [rsp + 0x384], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x384], eax
jae 0x140016d7f
mov dword [rsp + 0x2f4], 0x104
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2f4]
lea r8, [rsp + 0xd0]
mov edx, dword [rsp + 0x384]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x140016d7a
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x318]
call fcn.140003198
xor r8d, r8d
lea rdx, [0x14013b3f8]
lea rcx, [rsp + 0x318]
call fcn.140003968
cmp rax, 0xffffffffffffffff
je 0x140016b7f
cmp dword [rsp + 0x4a8], 0
jne 0x140016b7f
xor r8d, r8d
lea rdx, [0x14013b628]
lea rcx, [rsp + 0x318]
call fcn.140003968
cmp rax, 0xffffffffffffffff
jne 0x140016bcf
xor r8d, r8d
lea rdx, [0x14013b638]
lea rcx, [rsp + 0x318]
call fcn.140003968
cmp rax, 0xffffffffffffffff
jne 0x140016bcf
xor r8d, r8d
lea rdx, [0x14013b648]
lea rcx, [rsp + 0x318]
call fcn.140003968
cmp rax, 0xffffffffffffffff
jne 0x140016bcf
xor r8d, r8d
lea rdx, [0x14013b558]
lea rcx, [rsp + 0x318]
call fcn.140003968
cmp rax, 0xffffffffffffffff
je 0x140016d7a
cmp dword [rsp + 0x4a8], 1
jne 0x140016d7a
xor r8d, r8d
lea rdx, [0x14013b658]
lea rcx, [rsp + 0x318]
call fcn.140003968
cmp rax, 0xffffffffffffffff
je 0x140016d7a
mov qword [rsp + 0x420], 0xffffffff80000002
mov rax, qword [rsp + 0x4a0]
add rax, 0x30
lea rdx, [rsp + 0x420]
mov rcx, rax
call fcn.140001d2a
lea r8, [0x14013aeac]
mov rdx, rax
lea rcx, [rsp + 0x388]
call fcn.1400024dc
mov qword [rsp + 0x468], rax
mov rax, qword [rsp + 0x468]
mov qword [rsp + 0x470], rax
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0x470]
lea rcx, [rsp + 0x3b0]
call fcn.140005272
mov qword [rsp + 0x478], rax
mov rdx, qword [rsp + 0x478]
lea rcx, [rsp + 0x358]
call fcn.1400014a6
lea rcx, [rsp + 0x3b0]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x388]
call fcn.1400049d0
mov r8, 0xffffffffffffffff
lea rdx, [0x14013af04]
lea rcx, [rsp + 0x318]
call fcn.1400046a6
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x3e8]
lea rcx, [rsp + 0x318]
call fcn.140003373
nop
lea rax, [rsp + 0x428]
mov qword [rsp + 0x450], rax
lea rdx, [rsp + 0x3e8]
mov rcx, qword [rsp + 0x450]
call fcn.140002f4f
mov qword [rsp + 0x480], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x480]
mov rax, qword [rsp + 0x4a0]
mov rcx, qword [rax + 0x10]
call fcn.1400031e8
movzx eax, al
test eax, eax
je 0x140016d6d
lea rcx, [rsp + 0x358]
call fcn.140003567
mov qword [rsp + 0x458], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x458]
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x68]
mov rax, qword [rsp + 0x4a0]
mov rcx, qword [rax + 0x10]
call fcn.140002dbf
nop
lea rcx, [rsp + 0x3e8]
call fcn.1400049d0
jmp 0x140016a64
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140016dc0
cmp dword [rsp + 0x74], 2
je 0x140016dc0
cmp dword [rsp + 0x74], 3
je 0x140016dc0
mov r9d, dword [rsp + 0x74]
lea r8, [rsp + 0xd0]
lea rdx, [0x14013b6d0]
mov rax, qword [rsp + 0x4a0]
mov rcx, qword [rax + 8]
call fcn.1400028b0
nop
lea rcx, [rsp + 0x358]
call fcn.1400049d0
nop
lea rcx, [rsp + 0x318]
call fcn.1400049d0
mov rcx, rsp
lea rdx, reloc.msi.dll_MsiConfigureFeatureFromDescriptorA
call fcn.140005466
mov rcx, qword [rsp + 0x488]
xor rcx, rsp
call fcn.1400023b0
add rsp, 0x490
pop rdi
ret