Function at 0x14015cd80
Capabilities:
Get common file path
Persist via run registry key
Query environment variable
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x878]
sub rsp, 0x950
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x840], rax
mov r15, rcx
mov qword [rbp - 0x20], rcx
mov ecx, 0x40
call fcn.1402b968c
mov qword [rsp + 0x70], rax
xor r14d, r14d
test rax, rax
je 0x14015cde7
mov rcx, rax
call fcn.140159030
jmp 0x14015cdea
mov rax, r14
mov qword [0x14042bc60], rax
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
call fcn.1400e2a30
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.14015deb0
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14015cec8
nop dword [rax + rax]
mov rcx, qword [rbx + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14015ce30
inc eax
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.1402b9c60
mov rsi, rax
mov r8, qword [rbx + 0x20]
mov rdx, rdi
mov rcx, rax
call fcn.1402b96f8
mov rcx, rsi
call fcn.1402bcb38
mov rcx, rax
lea rdx, str._profile
call fcn.14015dde0
cmp byte [rbx + 0x19], 0
jne 0x14015cebe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015ce9e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015cebe
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015ce90
jmp 0x14015cebe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015cebb
cmp rbx, qword [rax + 0x10]
jne 0x14015cebb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015cea8
mov rbx, rax
cmp rbx, qword [rbp - 0x58]
jne 0x14015ce20
mov eax, dword [0x14042c9c0]
lea r13, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14015cf00
or eax, 1
mov dword [0x14042c9c0], eax
mov qword [0x14042c9d0], r13
mov qword [0x14042c9d8], 0xffffffff80000003
lea rcx, [0x1403017a0]
call fcn.1402bb344
mov qword [rbp - 0x78], r14
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str..DEFAULTSoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov rcx, qword [0x14042c9d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r12, str._downloads
lea rdi, [0x140348ca0]
test eax, eax
jne 0x14015cff4
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rsi, rax
test rax, rax
je 0x14015cff4
mov rcx, qword [rbp - 0x78]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov edi, r14d
mov rbx, r12
lea r13, [0x140348ca0]
nop dword [rax]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r14
lea r8, [rsp + 0x60]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call fcn.1400d8b50
test al, al
je 0x14015cfb9
xor r8d, r8d
lea rdx, str._USERPROFILE_
lea rcx, [rsp + 0x60]
call fcn.1402019e0
test al, al
je 0x14015cfb9
mov r8, qword [rbx]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14015dc10
nop
cmp dword [rsp + 0x68], 0
jle 0x14015cfca
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
inc edi
add rbx, 0x10
movsxd rax, edi
cmp rax, 0x15
jb 0x14015cf70
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
lea rdi, [0x140348ca0]
lea r13, vtable.Core::Win32::RegistryKey.0
mov r8d, 0x104
lea rdx, [rbp + 0x630]
lea rcx, str.UserProfile
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14015d2f2
lea rax, [rbp + 0x630]
or r15, 0xffffffffffffffff
inc r15
cmp word [rax + r15*2], 0
jne 0x14015d021
lea r8, [0x140347f58]
mov edx, 0x104
lea rcx, [rbp + 0x630]
call fcn.1402bbbd8
mov eax, dword [0x14042c9f8]
test al, 1
jne 0x14015d075
or eax, 1
mov dword [0x14042c9f8], eax
mov qword [0x14042ca00], r13
mov qword [0x14042ca08], 0xffffffff80000001
lea rcx, [0x140301800]
call fcn.1402bb344
mov qword [rsp + 0x78], r14
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, qword [0x14042ca08]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015d2ee
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14015d2ee
mov rcx, qword [rsp + 0x78]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov r13d, r14d
mov dword [rbp - 0x78], r14d
nop word [rax + rax]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
lea r8, [rsp + 0x60]
mov rdx, qword [r12 - 8]
mov rcx, rbx
call fcn.1400d8b50
test al, al
je 0x14015d2b8
lea rcx, [rbp + 0x630]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14015d110
cmp dword [rsp + 0x6c], eax
jl 0x14015d2b8
movsxd r8, eax
lea rdx, [rbp + 0x630]
mov rcx, qword [rsp + 0x60]
call fcn.1402bba28
test eax, eax
sete al
test al, al
je 0x14015d2b8
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14015d2b3
lea r13, [0x140348ca0]
nop dword [rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x14015d172
mov edi, r14d
mov qword [rbp - 0x40], r14
jmp 0x14015d188
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14015d176
mov qword [rbp - 0x40], r14
test edi, edi
jne 0x14015d18e
mov qword [rbp - 0x48], r13
jmp 0x14015d1b0
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rbp - 0x40]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x48]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.140200570
nop
mov r8d, r15d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.1402011d0
nop
mov r8, rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call fcn.1400d2bd0
nop
cmp dword [rbp - 0x60], 0
jle 0x14015d1ef
mov rcx, qword [rbp - 0x68]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x40], 0
jle 0x14015d1fe
mov rcx, qword [rbp - 0x48]
call fcn.1402b9c20
mov eax, dword [rbp - 0x2c]
inc eax
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.1402b9c60
mov rsi, rax
mov r8, qword [rbp - 0x38]
mov rdx, rdi
mov rcx, rax
call fcn.1402b96f8
mov rcx, rsi
call fcn.1402bcb38
mov rcx, rax
mov rdx, qword [r12]
call fcn.14015dde0
test al, al
jne 0x14015d242
mov rcx, rsi
call fcn.1402b9c20
nop
cmp dword [rbp - 0x30], 0
jle 0x14015d251
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
cmp byte [rbx + 0x19], 0
jne 0x14015d29e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015d27e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015d29e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015d270
jmp 0x14015d29e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015d29b
cmp rbx, qword [rax + 0x10]
jne 0x14015d29b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015d288
mov rbx, rax
cmp rbx, qword [rbp - 0x58]
jne 0x14015d160
mov r13d, dword [rbp - 0x78]
lea rdi, [0x140348ca0]
mov rbx, qword [rsp + 0x70]
cmp dword [rsp + 0x68], 0
jle 0x14015d2c9
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
inc r13d
mov dword [rbp - 0x78], r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 0x15
jb 0x14015d0e0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov r15, qword [rbp - 0x20]
mov eax, dword [0x14042c9c0]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14015d32a
or eax, 1
mov dword [0x14042c9c0], eax
mov qword [0x14042c9d0], rsi
mov qword [0x14042c9d8], 0xffffffff80000003
lea rcx, [0x1403017a0]
call fcn.1402bb344
mov qword [rsp + 0x70], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str..DEFAULTEnvironment
mov rcx, qword [0x14042c9d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015d3fb
lea ecx, [rax + 0x10]
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x14015d3fb
mov rcx, qword [rsp + 0x70]
mov qword [rax], rsi
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r14
lea r8, [rsp + 0x60]
lea rdx, str.TEMP
mov rcx, rax
call fcn.1400d8b50
test al, al
je 0x14015d3dc
cmp dword [rsp + 0x6c], 0xd
jl 0x14015d3dc
mov r8d, 0xd
lea rdx, str._USERPROFILE_
mov rcx, qword [rsp + 0x60]
call fcn.1402bba28
test eax, eax
sete al
test al, al
je 0x14015d3dc
lea r8, str._temp
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14015dc10
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x68], 0
jle 0x14015d3fb
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
mov edi, r14d
lea rbx, str._admintools
nop word [rax + rax]
mov edx, dword [rbx - 8]
add edx, 0x4000
lea rax, [rbp + 0x420]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14015d459
lea rcx, [rbp + 0x420]
call fcn.1402bcb38
mov rcx, rax
call fcn.1402bc8c0
mov rcx, rax
mov rdx, qword [rbx]
call fcn.14015dde0
inc edi
add rbx, 0x10
movsxd rax, edi
cmp rax, 0xe
jb 0x14015d410
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call fcn.14000a340
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], r14
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1401ff260
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, str.prefs.js
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1401e8150
test eax, eax
setg bl
cmp dword [rsp + 0x68], 0
jle 0x14015d4e4
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
mov rdi, qword [rsp + 0x78]
test bl, bl
je 0x14015d59c
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14015d59c
nop dword [rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x38]
call fcn.1400d2ff0
nop
mov rcx, qword [rbp - 0x38]
call fcn.1402bc8c0
mov rcx, rax
call fcn.1402bcb38
mov rcx, rax
lea rdx, str._firefoxprofile
call fcn.14015dde0
nop
cmp dword [rbp - 0x30], 0
jle 0x14015d53e
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
cmp byte [rbx + 0x19], 0
jne 0x14015d58e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015d56e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015d58e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015d560
jmp 0x14015d58e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015d58b
cmp rbx, qword [rax + 0x10]
jne 0x14015d58b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015d578
mov rbx, rax
mov rdi, qword [rsp + 0x78]
cmp rbx, rdi
jne 0x14015d500
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14015d602
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14015d5e7
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x78]
call fcn.14000a240
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x14015d5d1
mov rcx, qword [rsi + 0x20]
call fcn.1402b9c20
mov rcx, rsi
call fcn.1402177e0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14015d5b1
mov rdi, qword [rsp + 0x78]
mov qword [rdi + 8], rdi
mov rax, qword [rsp + 0x78]
mov qword [rax], rax
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x10], rax
mov qword [rbp - 0x80], r14
jmp 0x14015d672
cmp rbx, rdi
je 0x14015d677
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14015d65e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015d63e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015d65e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015d630
jmp 0x14015d65e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015d65b
cmp rbx, qword [rax + 0x10]
jne 0x14015d65b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015d648
mov rbx, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140008e20
cmp rbx, rdi
jne 0x14015d607
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call fcn.1402177e0
mov edx, 0x104
lea rcx, [rbp + 0x420]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov word [rbp + 0x424], r14w
lea rcx, [rbp + 0x420]
call fcn.1402bcb38
mov rcx, rax
call fcn.1402bc8c0
mov rcx, rax
lea rdx, [0x140358560]
call fcn.14015dde0
lea rsi, str.hklm_softwarewow6432node
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rbx, qword [0x14042bc60]
mov rcx, rbx
call fcn.140161b00
mov rax, qword [rbx]
movabs rdi, 0x7fffffffffffffe
cmp qword [rsp + 0x78], rax
jne 0x14015d769
mov qword [rbp - 0x68], rsi
lea rax, str.hklm_software
mov qword [rbp - 0x60], rax
mov rax, qword [rbx]
mov rsi, qword [rax]
lea r9, [rbp - 0x68]
mov r8, qword [rsi + 8]
mov rdx, rsi
call fcn.140159530
mov rdx, rax
mov rax, qword [rbx + 8]
mov rcx, rdi
sub rcx, rax
cmp rcx, 1
jae 0x14015d73a
lea rcx, str.list_T__too_long
call fcn.1402b49f8
int3
inc rax
mov qword [rbx + 8], rax
mov qword [rsi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov r9, qword [rbx]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140161c20
mov rbx, qword [0x14042bc60]
lea rsi, str.hklm_softwareclasses
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140161b00
mov rax, qword [rbx]
lea r12, str.hkcr
cmp qword [rsp + 0x78], rax
jne 0x14015d802
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], r12
mov rsi, qword [rax]
lea r9, [rbp - 0x68]
mov r8, qword [rsi + 8]
mov rdx, rsi
call fcn.140159530
mov rdx, rax
mov rax, qword [rbx + 8]
mov rcx, rdi
sub rcx, rax
cmp rcx, 1
jae 0x14015d7d3
lea rcx, str.list_T__too_long
call fcn.1402b49f8
int3
inc rax
mov qword [rbx + 8], rax
mov qword [rsi + 8], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rdx
mov r9, qword [rbx]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140161c20
mov rbx, qword [0x14042bc60]
lea rsi, str.hklm_softwareclasseswow6432node
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140161b00
mov rax, qword [rbx]
cmp qword [rsp + 0x78], rax
jne 0x14015d88a
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], r12
mov rsi, qword [rax]
lea r9, [rbp - 0x68]
mov r8, qword [rsi + 8]
mov rdx, rsi
call fcn.140159530
mov rcx, rax
mov rax, qword [rbx + 8]
sub rdi, rax
cmp rdi, 1
jae 0x14015d862
lea rcx, str.list_T__too_long
call fcn.1402b49f8
int3
inc rax
mov qword [rbx + 8], rax
mov qword [rsi + 8], rcx
mov rax, qword [rcx + 8]
mov qword [rax], rcx
mov r9, qword [rbx]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.140161c20
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140357a88]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015d9a5
mov dword [rbp - 0x78], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14015d99b
mov ebx, r14d
lea r8, str.hklm_system_
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x200]
call fcn.1402b96f8
cmp dword [rbp - 0x78], ebx
jbe 0x14015d99b
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0x218]
mov edx, ebx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc ebx
test eax, eax
jne 0x14015d98f
lea r8d, [rax + 0xb]
lea rdx, str.controlset0
lea rcx, [rbp + 0x218]
call fcn.1402bba28
test eax, eax
jne 0x14015d996
lea rcx, [rbp + 0x200]
call fcn.1402bc8c0
mov rcx, rax
call fcn.1402bcb38
mov rcx, rax
lea rdx, str.hklm_systemcurrentcontrolset
call fcn.14015dde0
jmp 0x14015d996
cmp eax, 0x103
je 0x14015d99b
cmp ebx, dword [rbp - 0x78]
jb 0x14015d930
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rbp - 0x70], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14015dbaa
lea r8, str.hku_
mov edx, 0x108
lea rcx, [rbp + 0x200]
call fcn.1402b96f8
lea rbx, str._classes
cmp dword [rbp - 0x70], 0
jbe 0x14015dbaa
nop dword [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0x208]
mov edx, r14d
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc r14d
test eax, eax
jne 0x14015db99
lea rcx, [rbp + 0x200]
call fcn.1402bc8c0
mov rcx, rax
call fcn.1402bcb38
mov r8, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14015da63
cmp ecx, 8
jle 0x14015dac7
lea eax, [rcx - 8]
movsxd rcx, eax
lea rdx, [r8 + rcx*2]
or rcx, 0xffffffffffffffff
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rbx + rcx*2 + 2]
jne 0x14015dac7
add rcx, 2
cmp rcx, 9
je 0x14015daa2
movzx eax, word [rdx + rcx*2]
cmp ax, word [rbx + rcx*2]
jne 0x14015dac7
jmp 0x14015da80
mov rdx, r12
mov rcx, r8
call fcn.14015dde0
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402b96f8
jmp 0x14015db66
lea rdx, str.hkcu
mov rcx, r8
call fcn.14015dde0
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402b96f8
lea r8, str._softwarewow6432node
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bbbd8
lea rcx, [rbp - 0x10]
call fcn.1402bc8c0
mov rcx, rax
call fcn.1402bcb38
mov rcx, rax
lea rdx, str.hkcu_software
call fcn.14015dde0
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402b96f8
lea r8, str._softwareclasses
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bbbd8
lea rcx, [rbp - 0x10]
call fcn.1402bc8c0
mov rcx, rax
call fcn.1402bcb38
mov rcx, rax
mov rdx, r12
call fcn.14015dde0
lea r8, str.wow6432node
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bbbd8
lea rcx, [rbp - 0x10]
call fcn.1402bc8c0
mov rcx, rax
call fcn.1402bcb38
mov rcx, rax
mov rdx, r12
call fcn.14015dde0
jmp 0x14015dba0
cmp eax, 0x103
je 0x14015dbaa
cmp r14d, dword [rbp - 0x70]
jb 0x14015da20
test r15, r15
je 0x14015dbb8
mov rcx, r15
call fcn.140161550
nop
mov r8, qword [rbp - 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140009350
mov rcx, qword [rbp - 0x58]
call fcn.1402177e0
mov al, 1
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.1402b9610
lea r11, [rsp + 0x950]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret