Function at 0x14015e7d0
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 [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x840], rax
mov r15, rcx
mov qword [rbp - 0x20], rcx
mov ecx, 0x40
call fcn.1402bcb4c
mov qword [rsp + 0x70], rax
xor r14d, r14d
test rax, rax
je 0x14015e837
mov rcx, rax
call fcn.14015aa80
jmp 0x14015e83a
mov rax, r14
mov qword [0x140430d40], rax
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
call fcn.1400e3eb0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.14015f900
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14015e918
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 0x14015e880
inc eax
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.1402bd120
mov rsi, rax
mov r8, qword [rbx + 0x20]
mov rdx, rdi
mov rcx, rax
call fcn.1402bcbb8
mov rcx, rsi
call fcn.1402bfff8
mov rcx, rax
lea rdx, str._profile
call fcn.14015f830
cmp byte [rbx + 0x19], 0
jne 0x14015e90e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015e8ee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015e90e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015e8e0
jmp 0x14015e90e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015e90b
cmp rbx, qword [rax + 0x10]
jne 0x14015e90b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015e8f8
mov rbx, rax
cmp rbx, qword [rbp - 0x58]
jne 0x14015e870
mov eax, dword [0x140431aa0]
lea r13, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14015e950
or eax, 1
mov dword [0x140431aa0], eax
mov qword [0x140431ab0], r13
mov qword [0x140431ab8], 0xffffffff80000003
lea rcx, [0x140305080]
call fcn.1402be804
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 [0x140431ab8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r12, str._downloads
lea rdi, [0x14034d1a0]
test eax, eax
jne 0x14015ea44
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rsi, rax
test rax, rax
je 0x14015ea44
mov rcx, qword [rbp - 0x78]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov edi, r14d
mov rbx, r12
lea r13, [0x14034d1a0]
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.1400d9fd0
test al, al
je 0x14015ea09
xor r8d, r8d
lea rdx, str._USERPROFILE_
lea rcx, [rsp + 0x60]
call fcn.140205020
test al, al
je 0x14015ea09
mov r8, qword [rbx]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14015f660
nop
cmp dword [rsp + 0x68], 0
jle 0x14015ea1a
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
inc edi
add rbx, 0x10
movsxd rax, edi
cmp rax, 0x15
jb 0x14015e9c0
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
lea rdi, [0x14034d1a0]
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 0x14015ed42
lea rax, [rbp + 0x630]
or r15, 0xffffffffffffffff
inc r15
cmp word [rax + r15*2], 0
jne 0x14015ea71
lea r8, [0x14034c088]
mov edx, 0x104
lea rcx, [rbp + 0x630]
call fcn.1402bf098
mov eax, dword [0x140431ad8]
test al, 1
jne 0x14015eac5
or eax, 1
mov dword [0x140431ad8], eax
mov qword [0x140431ae0], r13
mov qword [0x140431ae8], 0xffffffff80000001
lea rcx, [0x1403050e0]
call fcn.1402be804
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 [0x140431ae8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015ed3e
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14015ed3e
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.1400d9fd0
test al, al
je 0x14015ed08
lea rcx, [rbp + 0x630]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14015eb60
cmp dword [rsp + 0x6c], eax
jl 0x14015ed08
movsxd r8, eax
lea rdx, [rbp + 0x630]
mov rcx, qword [rsp + 0x60]
call fcn.1402beee8
test eax, eax
sete al
test al, al
je 0x14015ed08
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14015ed03
lea r13, [0x14034d1a0]
nop dword [rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x14015ebc2
mov edi, r14d
mov qword [rbp - 0x40], r14
jmp 0x14015ebd8
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14015ebc6
mov qword [rbp - 0x40], r14
test edi, edi
jne 0x14015ebde
mov qword [rbp - 0x48], r13
jmp 0x14015ec00
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rbp - 0x40]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x48]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.140203bb0
nop
mov r8d, r15d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.140204810
nop
mov r8, rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call fcn.1400d4050
nop
cmp dword [rbp - 0x60], 0
jle 0x14015ec3f
mov rcx, qword [rbp - 0x68]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x40], 0
jle 0x14015ec4e
mov rcx, qword [rbp - 0x48]
call fcn.1402bd0e0
mov eax, dword [rbp - 0x2c]
inc eax
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.1402bd120
mov rsi, rax
mov r8, qword [rbp - 0x38]
mov rdx, rdi
mov rcx, rax
call fcn.1402bcbb8
mov rcx, rsi
call fcn.1402bfff8
mov rcx, rax
mov rdx, qword [r12]
call fcn.14015f830
test al, al
jne 0x14015ec92
mov rcx, rsi
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x30], 0
jle 0x14015eca1
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x14015ecee
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015ecce
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015ecee
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015ecc0
jmp 0x14015ecee
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015eceb
cmp rbx, qword [rax + 0x10]
jne 0x14015eceb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015ecd8
mov rbx, rax
cmp rbx, qword [rbp - 0x58]
jne 0x14015ebb0
mov r13d, dword [rbp - 0x78]
lea rdi, [0x14034d1a0]
mov rbx, qword [rsp + 0x70]
cmp dword [rsp + 0x68], 0
jle 0x14015ed19
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
inc r13d
mov dword [rbp - 0x78], r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 0x15
jb 0x14015eb30
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov r15, qword [rbp - 0x20]
mov eax, dword [0x140431aa0]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14015ed7a
or eax, 1
mov dword [0x140431aa0], eax
mov qword [0x140431ab0], rsi
mov qword [0x140431ab8], 0xffffffff80000003
lea rcx, [0x140305080]
call fcn.1402be804
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 [0x140431ab8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015ee4b
lea ecx, [rax + 0x10]
call fcn.1402bcb4c
mov rbx, rax
test rax, rax
je 0x14015ee4b
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.1400d9fd0
test al, al
je 0x14015ee2c
cmp dword [rsp + 0x6c], 0xd
jl 0x14015ee2c
mov r8d, 0xd
lea rdx, str._USERPROFILE_
mov rcx, qword [rsp + 0x60]
call fcn.1402beee8
test eax, eax
sete al
test al, al
je 0x14015ee2c
lea r8, str._temp
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.14015f660
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x68], 0
jle 0x14015ee4b
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
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 0x14015eea9
lea rcx, [rbp + 0x420]
call fcn.1402bfff8
mov rcx, rax
call fcn.1402bfd80
mov rcx, rax
mov rdx, qword [rbx]
call fcn.14015f830
inc edi
add rbx, 0x10
movsxd rax, edi
cmp rax, 0xe
jb 0x14015ee60
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.1402028a0
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, [0x14035b7a0]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1401ea950
test eax, eax
setg bl
cmp dword [rsp + 0x68], 0
jle 0x14015ef34
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov rdi, qword [rsp + 0x78]
test bl, bl
je 0x14015efec
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14015efec
nop dword [rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x38]
call fcn.1400d4470
nop
mov rcx, qword [rbp - 0x38]
call fcn.1402bfd80
mov rcx, rax
call fcn.1402bfff8
mov rcx, rax
lea rdx, str._firefoxprofile
call fcn.14015f830
nop
cmp dword [rbp - 0x30], 0
jle 0x14015ef8e
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x14015efde
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015efbe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015efde
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015efb0
jmp 0x14015efde
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015efdb
cmp rbx, qword [rax + 0x10]
jne 0x14015efdb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015efc8
mov rbx, rax
mov rdi, qword [rsp + 0x78]
cmp rbx, rdi
jne 0x14015ef50
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14015f052
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14015f037
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x78]
call fcn.14000a240
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x14015f021
mov rcx, qword [rsi + 0x20]
call fcn.1402bd0e0
mov rcx, rsi
call fcn.14021ae20
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14015f001
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 0x14015f0c2
cmp rbx, rdi
je 0x14015f0c7
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14015f0ae
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015f08e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015f0ae
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015f080
jmp 0x14015f0ae
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015f0ab
cmp rbx, qword [rax + 0x10]
jne 0x14015f0ab
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015f098
mov rbx, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140008e20
cmp rbx, rdi
jne 0x14015f057
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14021ae20
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.1402bfff8
mov rcx, rax
call fcn.1402bfd80
mov rcx, rax
lea rdx, [0x14035c6ec]
call fcn.14015f830
lea rsi, str.hklm_softwarewow6432node
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rbx, qword [0x140430d40]
mov rcx, rbx
call fcn.140163550
mov rax, qword [rbx]
movabs rdi, 0x7fffffffffffffe
cmp qword [rsp + 0x78], rax
jne 0x14015f1b9
mov qword [rbp - 0x68], rsi
lea rax, [0x14035c6f0]
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.14015af80
mov rdx, rax
mov rax, qword [rbx + 8]
mov rcx, rdi
sub rcx, rax
cmp rcx, 1
jae 0x14015f18a
lea rcx, str.list_T__too_long
call fcn.1402b8038
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.140163670
mov rbx, qword [0x140430d40]
lea rsi, str.hklm_softwareclasses
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140163550
mov rax, qword [rbx]
lea r12, str.hkcr
cmp qword [rsp + 0x78], rax
jne 0x14015f252
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.14015af80
mov rdx, rax
mov rax, qword [rbx + 8]
mov rcx, rdi
sub rcx, rax
cmp rcx, 1
jae 0x14015f223
lea rcx, str.list_T__too_long
call fcn.1402b8038
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.140163670
mov rbx, qword [0x140430d40]
lea rsi, str.hklm_softwareclasseswow6432node
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140163550
mov rax, qword [rbx]
cmp qword [rsp + 0x78], rax
jne 0x14015f2da
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.14015af80
mov rcx, rax
mov rax, qword [rbx + 8]
sub rdi, rax
cmp rdi, 1
jae 0x14015f2b2
lea rcx, str.list_T__too_long
call fcn.1402b8038
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.140163670
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x14035cc90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14015f3f5
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 0x14015f3eb
mov ebx, r14d
lea r8, str.hklm_system_
mov edx, 0x110
lea rcx, [rbp + 0x200]
call fcn.1402bcbb8
cmp dword [rbp - 0x78], ebx
jbe 0x14015f3eb
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 0x14015f3df
lea r8d, [rax + 0xb]
lea rdx, str.controlset0
lea rcx, [rbp + 0x218]
call fcn.1402beee8
test eax, eax
jne 0x14015f3e6
lea rcx, [rbp + 0x200]
call fcn.1402bfd80
mov rcx, rax
call fcn.1402bfff8
mov rcx, rax
lea rdx, str.hklm_systemcurrentcontrolset
call fcn.14015f830
jmp 0x14015f3e6
cmp eax, 0x103
je 0x14015f3eb
cmp ebx, dword [rbp - 0x78]
jb 0x14015f380
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 0x14015f5fa
lea r8, str.hku_
mov edx, 0x108
lea rcx, [rbp + 0x200]
call fcn.1402bcbb8
lea rbx, str._classes
cmp dword [rbp - 0x70], 0
jbe 0x14015f5fa
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 0x14015f5e9
lea rcx, [rbp + 0x200]
call fcn.1402bfd80
mov rcx, rax
call fcn.1402bfff8
mov r8, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14015f4b3
cmp ecx, 8
jle 0x14015f517
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 0x14015f517
add rcx, 2
cmp rcx, 9
je 0x14015f4f2
movzx eax, word [rdx + rcx*2]
cmp ax, word [rbx + rcx*2]
jne 0x14015f517
jmp 0x14015f4d0
mov rdx, r12
mov rcx, r8
call fcn.14015f830
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bcbb8
jmp 0x14015f5b6
lea rdx, str.hkcu
mov rcx, r8
call fcn.14015f830
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bcbb8
lea r8, str._softwarewow6432node
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bf098
lea rcx, [rbp - 0x10]
call fcn.1402bfd80
mov rcx, rax
call fcn.1402bfff8
mov rcx, rax
lea rdx, str.hkcu_software
call fcn.14015f830
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bcbb8
lea r8, str._softwareclasses
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bf098
lea rcx, [rbp - 0x10]
call fcn.1402bfd80
mov rcx, rax
call fcn.1402bfff8
mov rcx, rax
mov rdx, r12
call fcn.14015f830
lea r8, str.wow6432node
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402bf098
lea rcx, [rbp - 0x10]
call fcn.1402bfd80
mov rcx, rax
call fcn.1402bfff8
mov rcx, rax
mov rdx, r12
call fcn.14015f830
jmp 0x14015f5f0
cmp eax, 0x103
je 0x14015f5fa
cmp r14d, dword [rbp - 0x70]
jb 0x14015f470
test r15, r15
je 0x14015f608
mov rcx, r15
call fcn.140162fa0
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.14021ae20
mov al, 1
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.1402bcad0
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