Function at 0x140048bc0
Capabilities:
Get installed programs
Get session user name
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x67f0]
mov eax, 0x68f0
call fcn.1400e2af0
sub rsp, rax
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x6930], rbx
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x67e0], rax
mov r15, r8
mov r14, rdx
movzx r13d, cl
lea rbx, [fcn.1400478f0]
mov qword [rsp + 0x20], rbx
lea r9, [fcn.140047320]
mov edx, 0x18
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call fcn.1400d9ab0
nop
test r14, r14
jne 0x140048c3e
jmp 0x140048f1c
xor edi, edi
mov r12d, edi
mov word [rbp + 0x63c0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x63c2]
call fcn.1400dd9f0
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140048cb2
mov r9, rbx
lea edx, [rdi + 0x18]
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call fcn.1400d9874
lea eax, [rdi + 1]
jmp 0x140048f35
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x63c0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x140048f09
test r13b, r13b
je 0x140048d36
lea rcx, str._nNumber_of_applications:__d
call fcn.1400d8d08
mov edx, dword [rsp + 0x60]
mov esi, edi
test edx, edx
je 0x140048f09
movsxd rax, r12d
lea rcx, [rax + rax*2]
lea rbx, [r14 + rcx*8]
test rbx, rbx
jne 0x140048d6d
lea ecx, [rbx + 0x18]
call fcn.1400d5224
test rax, rax
je 0x140048d6a
mov rcx, rax
call fcn.140047320
mov rbx, rax
jmp 0x140048d6d
mov rbx, rdi
mov dword [rbx + 0x10], edi
mov dword [rsp + 0x7c], 0xff
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x61c0]
mov edx, esi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140048ef3
test r13b, r13b
je 0x140048dcc
lea edx, [rsi + 1]
lea r8, [rbp + 0x61c0]
lea rcx, str._n__d___s
call fcn.1400d9d84
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x61c0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140048ef6
mov word [rbp + 0x5fc0], di
mov dword [rsp + 0x70], 0x1fe
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5fc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140048e51
test r13b, r13b
je 0x140048e51
lea rdx, [rbp + 0x5fc0]
lea rcx, str.dn:__s
call fcn.1400d9d84
mov dword [rsp + 0x74], 0x104
lea rdx, [rsp + 0x74]
lea rcx, [rbp + 0x65d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rcx, [rbx + 8]
test eax, eax
jne 0x140048e85
lea r8d, [rax + 7]
lea rdx, str.no_name
call fcn.140002120
jmp 0x140048e98
lea r8, [rbp + 0x65d0]
lea rdx, [0x14012f6a8]
call fcn.140016060
cmp word [rbp + 0x61c0], 0x7b
jne 0x140048ecc
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x5fc0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rbp + 0x5fc0]
mov rcx, rbx
call fcn.140002120
xor edi, edi
jmp 0x140048ee9
lea r9, [rbp + 0x5fc0]
lea r8, [rbp + 0x61c0]
lea rdx, str._s__s_
mov rcx, rbx
call fcn.140016060
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r12d
inc esi
cmp esi, dword [rsp + 0x60]
jb 0x140048d40
lea rbx, [fcn.1400478f0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15, r15
je 0x140048f1c
mov dword [r15], r12d
mov r9, rbx
mov r8d, 0x400
mov edx, 0x18
lea rcx, [rbp - 0x40]
call fcn.1400d9874
xor eax, eax
mov rcx, qword [rbp + 0x67e0]
xor rcx, rsp
call fcn.1400d4d90
mov rbx, qword [rsp + 0x6930]
add rsp, 0x68f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret