Function at 0x14014f770
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 [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x840], rax
mov r15, rcx
mov qword [rbp - 0x20], rcx
mov ecx, 0x40
call fcn.14029806c
mov qword [rsp + 0x70], rax
xor r14d, r14d
test rax, rax
je 0x14014f7d7
mov rcx, rax
call fcn.14014b980
jmp 0x14014f7da
mov rax, r14
mov qword [0x1403fd8a8], rax
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
call fcn.1400df600
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.1401508a0
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14014f8b8
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 0x14014f820
inc eax
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.140298640
mov rsi, rax
mov r8, qword [rbx + 0x20]
mov rdx, rdi
mov rcx, rax
call fcn.1402980d8
mov rcx, rsi
call fcn.14029adf4
mov rcx, rax
lea rdx, str._profile
call fcn.1401507d0
cmp byte [rbx + 0x19], 0
jne 0x14014f8ae
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014f88e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14014f8ae
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014f880
jmp 0x14014f8ae
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14014f8ab
cmp rbx, qword [rax + 0x10]
jne 0x14014f8ab
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14014f898
mov rbx, rax
cmp rbx, qword [rbp - 0x58]
jne 0x14014f810
mov eax, dword [0x1403fe5f0]
lea r13, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14014f8f0
or eax, 1
mov dword [0x1403fe5f0], eax
mov qword [0x1403fe5d0], r13
mov qword [0x1403fe5d8], 0xffffffff80000003
lea rcx, [0x1402de010]
call fcn.140299c6c
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 [0x1403fe5d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r12, str._downloads
lea rdi, [0x140323de0]
test eax, eax
jne 0x14014f9e4
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rsi, rax
test rax, rax
je 0x14014f9e4
mov rcx, qword [rbp - 0x78]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov edi, r14d
mov rbx, r12
lea r13, [0x140323de0]
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.1400d5720
test al, al
je 0x14014f9a9
xor r8d, r8d
lea rdx, str._USERPROFILE_
lea rcx, [rsp + 0x60]
call fcn.1401eb700
test al, al
je 0x14014f9a9
mov r8, qword [rbx]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140150600
nop
cmp dword [rsp + 0x68], 0
jle 0x14014f9ba
mov rcx, qword [rsp + 0x60]
call fcn.140298600
inc edi
add rbx, 0x10
movsxd rax, edi
cmp rax, 0x15
jb 0x14014f960
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
lea rdi, [0x140323de0]
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 0x14014fce2
lea rax, [rbp + 0x630]
or r15, 0xffffffffffffffff
inc r15
cmp word [rax + r15*2], 0
jne 0x14014fa11
lea r8, [0x1403232c8]
mov edx, 0x104
lea rcx, [rbp + 0x630]
call fcn.14029a500
mov eax, dword [0x1403fe620]
test al, 1
jne 0x14014fa65
or eax, 1
mov dword [0x1403fe620], eax
mov qword [0x1403fe5f8], r13
mov qword [0x1403fe600], 0xffffffff80000001
lea rcx, [0x1402de070]
call fcn.140299c6c
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 [0x1403fe600]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14014fcde
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14014fcde
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.1400d5720
test al, al
je 0x14014fca8
lea rcx, [rbp + 0x630]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14014fb00
cmp dword [rsp + 0x6c], eax
jl 0x14014fca8
movsxd r8, eax
lea rdx, [rbp + 0x630]
mov rcx, qword [rsp + 0x60]
call fcn.14029a350
test eax, eax
sete al
test al, al
je 0x14014fca8
mov rax, qword [rbp - 0x58]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14014fca3
lea r13, [0x140323de0]
nop dword [rax]
mov rsi, qword [rbx + 0x20]
test rsi, rsi
jne 0x14014fb62
mov edi, r14d
mov qword [rbp - 0x40], r14
jmp 0x14014fb78
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14014fb66
mov qword [rbp - 0x40], r14
test edi, edi
jne 0x14014fb7e
mov qword [rbp - 0x48], r13
jmp 0x14014fba0
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rbp - 0x40]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x48]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rbp - 0x48]
call fcn.1401ea290
nop
mov r8d, r15d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x60]
call fcn.1401eaef0
nop
mov r8, rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
call fcn.1400d1690
nop
cmp dword [rbp - 0x60], 0
jle 0x14014fbdf
mov rcx, qword [rbp - 0x68]
call fcn.140298600
nop
cmp dword [rbp - 0x40], 0
jle 0x14014fbee
mov rcx, qword [rbp - 0x48]
call fcn.140298600
mov eax, dword [rbp - 0x2c]
inc eax
movsxd rdi, eax
lea rcx, [rdi + rdi]
call fcn.140298640
mov rsi, rax
mov r8, qword [rbp - 0x38]
mov rdx, rdi
mov rcx, rax
call fcn.1402980d8
mov rcx, rsi
call fcn.14029adf4
mov rcx, rax
mov rdx, qword [r12]
call fcn.1401507d0
test al, al
jne 0x14014fc32
mov rcx, rsi
call fcn.140298600
nop
cmp dword [rbp - 0x30], 0
jle 0x14014fc41
mov rcx, qword [rbp - 0x38]
call fcn.140298600
cmp byte [rbx + 0x19], 0
jne 0x14014fc8e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014fc6e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14014fc8e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014fc60
jmp 0x14014fc8e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14014fc8b
cmp rbx, qword [rax + 0x10]
jne 0x14014fc8b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14014fc78
mov rbx, rax
cmp rbx, qword [rbp - 0x58]
jne 0x14014fb50
mov r13d, dword [rbp - 0x78]
lea rdi, [0x140323de0]
mov rbx, qword [rsp + 0x70]
cmp dword [rsp + 0x68], 0
jle 0x14014fcb9
mov rcx, qword [rsp + 0x60]
call fcn.140298600
inc r13d
mov dword [rbp - 0x78], r13d
add r12, 0x10
movsxd rax, r13d
cmp rax, 0x15
jb 0x14014fad0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov r15, qword [rbp - 0x20]
mov eax, dword [0x1403fe5f0]
lea rsi, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x14014fd1a
or eax, 1
mov dword [0x1403fe5f0], eax
mov qword [0x1403fe5d0], rsi
mov qword [0x1403fe5d8], 0xffffffff80000003
lea rcx, [0x1402de010]
call fcn.140299c6c
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 [0x1403fe5d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14014fdeb
lea ecx, [rax + 0x10]
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x14014fdeb
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.1400d5720
test al, al
je 0x14014fdcc
cmp dword [rsp + 0x6c], 0xd
jl 0x14014fdcc
mov r8d, 0xd
lea rdx, str._USERPROFILE_
mov rcx, qword [rsp + 0x60]
call fcn.14029a350
test eax, eax
sete al
test al, al
je 0x14014fdcc
lea r8, str._temp
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140150600
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp dword [rsp + 0x68], 0
jle 0x14014fdeb
mov rcx, qword [rsp + 0x60]
call fcn.140298600
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 0x14014fe49
lea rcx, [rbp + 0x420]
call fcn.14029adf4
mov rcx, rax
call fcn.14029ab7c
mov rcx, rax
mov rdx, qword [rbx]
call fcn.1401507d0
inc edi
add rbx, 0x10
movsxd rax, edi
cmp rax, 0xe
jb 0x14014fe00
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
call fcn.14000a210
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], r14
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1401e9030
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r9d, 8
lea r8, [0x140331640]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1401d2da0
test eax, eax
setg bl
cmp dword [rsp + 0x68], 0
jle 0x14014fed4
mov rcx, qword [rsp + 0x60]
call fcn.140298600
mov rdi, qword [rsp + 0x78]
test bl, bl
je 0x14014ff8c
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14014ff8c
nop dword [rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x38]
call fcn.1400d1ab0
nop
mov rcx, qword [rbp - 0x38]
call fcn.14029ab7c
mov rcx, rax
call fcn.14029adf4
mov rcx, rax
lea rdx, str._firefoxprofile
call fcn.1401507d0
nop
cmp dword [rbp - 0x30], 0
jle 0x14014ff2e
mov rcx, qword [rbp - 0x38]
call fcn.140298600
cmp byte [rbx + 0x19], 0
jne 0x14014ff7e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14014ff5e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14014ff7e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14014ff50
jmp 0x14014ff7e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14014ff7b
cmp rbx, qword [rax + 0x10]
jne 0x14014ff7b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14014ff68
mov rbx, rax
mov rdi, qword [rsp + 0x78]
cmp rbx, rdi
jne 0x14014fef0
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14014fff2
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14014ffd7
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x78]
call fcn.14000a110
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x14014ffc1
mov rcx, qword [rsi + 0x20]
call fcn.140298600
mov rcx, rsi
call fcn.1402012c0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14014ffa1
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 0x140150062
cmp rbx, rdi
je 0x140150067
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14015004e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015002e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015004e
nop word [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140150020
jmp 0x14015004e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015004b
cmp rbx, qword [rax + 0x10]
jne 0x14015004b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140150038
mov rbx, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.140008cf0
cmp rbx, rdi
jne 0x14014fff7
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call fcn.1402012c0
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.14029adf4
mov rcx, rax
call fcn.14029ab7c
mov rcx, rax
lea rdx, [0x1403324e0]
call fcn.1401507d0
lea rsi, str.hklm_softwarewow6432node
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rbx, qword [0x1403fd8a8]
mov rcx, rbx
call fcn.140154410
mov rax, qword [rbx]
movabs rdi, 0x7fffffffffffffe
cmp qword [rsp + 0x78], rax
jne 0x140150159
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.14014be80
mov rdx, rax
mov rax, qword [rbx + 8]
mov rcx, rdi
sub rcx, rax
cmp rcx, 1
jae 0x14015012a
lea rcx, str.list_T__too_long
call fcn.140296fec
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.140154530
mov rbx, qword [0x1403fd8a8]
lea rsi, str.hklm_softwareclasses
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140154410
mov rax, qword [rbx]
lea r12, str.hkcr
cmp qword [rsp + 0x78], rax
jne 0x1401501f2
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.14014be80
mov rdx, rax
mov rax, qword [rbx + 8]
mov rcx, rdi
sub rcx, rax
cmp rcx, 1
jae 0x1401501c3
lea rcx, str.list_T__too_long
call fcn.140296fec
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.140154530
mov rbx, qword [0x1403fd8a8]
lea rsi, str.hklm_softwareclasseswow6432node
mov qword [rsp + 0x70], rsi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140154410
mov rax, qword [rbx]
cmp qword [rsp + 0x78], rax
jne 0x14015027a
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.14014be80
mov rcx, rax
mov rax, qword [rbx + 8]
sub rdi, rax
cmp rdi, 1
jae 0x140150252
lea rcx, str.list_T__too_long
call fcn.140296fec
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.140154530
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140332a70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140150395
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 0x14015038b
mov ebx, r14d
lea r8, str.hklm_system_
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x200]
call fcn.1402980d8
cmp dword [rbp - 0x78], ebx
jbe 0x14015038b
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 0x14015037f
lea r8d, [rax + 0xb]
lea rdx, str.controlset0
lea rcx, [rbp + 0x218]
call fcn.14029a350
test eax, eax
jne 0x140150386
lea rcx, [rbp + 0x200]
call fcn.14029ab7c
mov rcx, rax
call fcn.14029adf4
mov rcx, rax
lea rdx, str.hklm_systemcurrentcontrolset
call fcn.1401507d0
jmp 0x140150386
cmp eax, 0x103
je 0x14015038b
cmp ebx, dword [rbp - 0x78]
jb 0x140150320
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 0x14015059a
lea r8, str.hku_
mov edx, 0x108
lea rcx, [rbp + 0x200]
call fcn.1402980d8
lea rbx, str._classes
cmp dword [rbp - 0x70], 0
jbe 0x14015059a
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 0x140150589
lea rcx, [rbp + 0x200]
call fcn.14029ab7c
mov rcx, rax
call fcn.14029adf4
mov r8, rax
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140150453
cmp ecx, 8
jle 0x1401504b7
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 0x1401504b7
add rcx, 2
cmp rcx, 9
je 0x140150492
movzx eax, word [rdx + rcx*2]
cmp ax, word [rbx + rcx*2]
jne 0x1401504b7
jmp 0x140150470
mov rdx, r12
mov rcx, r8
call fcn.1401507d0
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402980d8
jmp 0x140150556
lea rdx, str.hkcu
mov rcx, r8
call fcn.1401507d0
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402980d8
lea r8, str._softwarewow6432node
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.14029a500
lea rcx, [rbp - 0x10]
call fcn.14029ab7c
mov rcx, rax
call fcn.14029adf4
mov rcx, rax
lea rdx, str.hkcu_software
call fcn.1401507d0
lea r8, [rbp + 0x200]
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.1402980d8
lea r8, str._softwareclasses
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.14029a500
lea rcx, [rbp - 0x10]
call fcn.14029ab7c
mov rcx, rax
call fcn.14029adf4
mov rcx, rax
mov rdx, r12
call fcn.1401507d0
lea r8, str.wow6432node
mov edx, 0x108
lea rcx, [rbp - 0x10]
call fcn.14029a500
lea rcx, [rbp - 0x10]
call fcn.14029ab7c
mov rcx, rax
call fcn.14029adf4
mov rcx, rax
mov rdx, r12
call fcn.1401507d0
jmp 0x140150590
cmp eax, 0x103
je 0x14015059a
cmp r14d, dword [rbp - 0x70]
jb 0x140150410
test r15, r15
je 0x1401505a8
mov rcx, r15
call fcn.140153e60
nop
mov r8, qword [rbp - 0x58]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140009220
mov rcx, qword [rbp - 0x58]
call fcn.1402012c0
mov al, 1
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.140297ff0
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