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

Disassembly:
sub rsp, 0x428
mov rax, qword [0x140158080]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov ecx, 0x104
call fcn.1400ffd04
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x40], 8
mov dword [rsp + 0x158], 0x40
mov dword [rsp + 0x15c], 1
lea r8, [rsp + 0x150]
lea rdx, [0x1401483a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.14008c640
mov rcx, rax
call fcn.140095fd0
mov rdx, rax
lea rcx, [rsp + 0xb0]
call fcn.14008b0d0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140098660
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x158]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x15c]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rcx, [rsp + 0xb0]
call fcn.140085cf0
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x110
lea rcx, [rsp + 0x1c0]
call fcn.140066ad0
mov edx, 1
lea rcx, [rsp + 0x1c0]
call fcn.1400963e0
nop
lea rcx, [rsp + 0x180]
call fcn.14008b800
nop
mov dword [rsp + 0x34], 0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x31]
call fcn.14008d3a0
mov rcx, rax
call fcn.140095de0
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.14008b0d0
nop
lea rdx, [rsp + 0x3d0]
lea rcx, [rsp + 0xf0]
call fcn.14008b0d0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x1a0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xd0]
call fcn.14009b150
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x1c0]
call fcn.140096120
nop
lea rcx, [rsp + 0xd0]
call fcn.140085cf0
nop
lea rcx, [rsp + 0xf0]
call fcn.140085cf0
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1c0]
call fcn.14009b680
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
movzx eax, al
test eax, eax
je 0x14008d2e5
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
xor r8d, r8d
lea rdx, str.selected.holosightbind
lea rcx, [rsp + 0x180]
call fcn.1400985e0
cmp rax, 0xffffffffffffffff
je 0x14008d2e0
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x160]
call fcn.1400988d0
nop
xor r8d, r8d
lea rdx, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x160]
call fcn.1400985e0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
add rax, 2
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x160]
call fcn.140098520
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x160]
call fcn.1400987d0
lea rcx, [rsp + 0x110]
call fcn.140085cf0
mov edx, 0xf8
lea rcx, [rsp + 0x2d0]
call fcn.140066ad0
mov r9d, 1
mov r8d, 3
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x2d0]
call fcn.140095ed0
nop
lea rdx, [0x140162b58]
lea rcx, [rsp + 0x2d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
nop
lea rcx, [rsp + 0x2d0]
call fcn.14008c6a0
nop
lea rcx, [rsp + 0x160]
call fcn.140085cf0
jmp 0x14008d181
lea rcx, [rsp + 0x1a0]
call fcn.140085cf0
nop
lea rcx, [rsp + 0x180]
call fcn.140085cf0
nop
lea rcx, [rsp + 0x1c0]
call fcn.140086fa0
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400ff530
add rsp, 0x428
ret