Function at 0x14000cea0
Capabilities:
Persist via default file association registry key
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x19e0]
mov eax, 0x1ae0
call fcn.14001d860
sub rsp, rax
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1b18], rbx
mov qword [rsp + 0x1b20], rsi
mov rax, qword [0x1400623d0]
xor rax, rsp
mov qword [rbp + 0x19d0], rax
mov r14, rcx
xor r12d, r12d
mov esi, r12d
mov qword [rbp - 0x60], r12
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x50], r12
mov edi, r12d
mov qword [rbp - 0x80], r12
mov dword [rbp - 0x78], r12d
mov qword [rbp - 0x70], r12
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x3d0]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x7d0]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x17d0]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x13d0]
call fcn.14001a650
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x11d0]
call fcn.14001a650
mov rcx, r14
call fcn.140005bd0
test eax, eax
je 0x14000d931
mov dword [rsp + 0x30], r12d
lea r15, [0x140065980]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x3d0]
lea r8, [0x1400476d0]
lea rdx, str.ShortCutLabel
mov rcx, r14
call fcn.14000e830
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x7d0]
lea r8, [0x1400476d0]
lea rdx, str.ExecutablePath
mov rcx, r14
call fcn.14000e830
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x17d0]
lea r8, [0x1400476d0]
lea rdx, str.Arguments
mov rcx, r14
call fcn.14000e830
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x13d0]
lea r8, [0x1400476d0]
lea rdx, str.IconFilePath
mov rcx, r14
call fcn.14000e830
mov r9, r15
xor r8d, r8d
lea rdx, str.IconIndex
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x100
lea r9, [rbp + 0x11d0]
lea r8, [0x1400476d0]
lea rdx, str.IconDescription
mov rcx, r14
call fcn.14000e830
lea rdx, [rbp + 0x3d0]
lea rcx, str._nDropping__s_Shell_Icon_on_Desktop
call fcn.14000b8c0
mov r9d, ebx
lea r8, [rbp + 0x13d0]
lea rdx, str._s__u
lea rcx, [rbp + 0x15d0]
call fcn.14001c9d4
mov r14d, r12d
mov ecx, 0x200
call fcn.140017d00
mov rbx, rax
mov dword [rsp + 0x58], 0x200
lea rcx, [rbp - 0x48]
call qword [sym.imp.ole32.dll_CoCreateGuid]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ole32.dll_StringFromCLSID]
mov rcx, qword [rsp + 0x70]
lea rdx, [rbp + 0x5d0]
sub rdx, rcx
nop
movzx eax, word [rcx]
mov word [rcx + rdx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14000d100
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
cmove rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
mov r8, rbx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea r15, str.Rubik
test eax, eax
jne 0x14000d410
inc r14d
mov dword [rsp + 0x58], 0x200
mov r8, rbx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_s
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d1f6
test rdi, rdi
je 0x14000d1f1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14000d271
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x14000d271
cmp ecx, 2
jbe 0x14000d262
cmp ecx, 7
jne 0x14000d271
test al, 1
jne 0x14000d271
mov ecx, eax
shr ecx, 1
cmp ecx, 1
jb 0x14000d271
mov edx, eax
shr rdx, 1
cmp word [rbp + rdx*2 - 0x32], 0
jne 0x14000d271
cmp ecx, 1
jbe 0x14000d276
cmp word [rbp + rdx*2 - 0x34], 0
jmp 0x14000d26f
test al, 1
jne 0x14000d271
shr rax, 1
cmp word [rbp + rax*2 - 0x32], 0
je 0x14000d276
mov word [rbp - 0x30], r12w
test rdi, rdi
je 0x14000d287
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov dword [rsp + 0x58], 0x200
mov r8, rbx
lea rdx, str.CLSID_sShellFolder
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d2e8
test rdi, rdi
je 0x14000d2e3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x50]
mov dword [rsp + 0x50], r12d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Owner
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14000d374
mov ecx, dword [rsp + 0x50]
test ecx, ecx
je 0x14000d374
cmp ecx, 2
jbe 0x14000d362
cmp ecx, 7
jne 0x14000d374
test al, 1
jne 0x14000d374
mov ecx, eax
shr ecx, 1
cmp ecx, 1
jb 0x14000d374
mov edx, eax
shr rdx, 1
cmp word [rbp + rdx*2 + 0x1ce], 0
jne 0x14000d374
cmp ecx, 1
jbe 0x14000d37c
cmp word [rbp + rdx*2 + 0x1cc], 0
jmp 0x14000d372
test al, 1
jne 0x14000d374
shr rax, 1
cmp word [rbp + rax*2 + 0x1ce], 0
je 0x14000d37c
mov word [rbp + 0x1d0], r12w
test rdi, rdi
je 0x14000d38d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov dword [rsp + 0x58], 0x200
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp - 0x30]
call fcn.14001b25c
test eax, eax
jne 0x14000d3bc
mov rdx, r15
lea rcx, [rbp + 0x1d0]
call fcn.14001b25c
test eax, eax
je 0x14000d3ee
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
mov r8, rbx
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x14000d18a
lea rcx, [rbp + 0x5d0]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rcx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x14000d400
test rsi, rsi
je 0x14000d421
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
lea r8, [rbp + 0x5d0]
lea rdx, str.CLSID_s
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d497
test rsi, rsi
je 0x14000d492
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
lea rcx, [rbp + 0x3d0]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d4a5
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rbp + 0x11d0]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d4e1
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x11d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.InfoTip
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x14000d529
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
lea r8, [rbp + 0x5d0]
lea rdx, str.CLSID_sDefaultIcon
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d59f
test rsi, rsi
je 0x14000d59a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
lea rcx, [rbp + 0x15d0]
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d5b0
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x15d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x14000d5f3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
lea r8, [rbp + 0x5d0]
lea rdx, str.CLSID_sShellOpenCommand
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d669
test rsi, rsi
je 0x14000d664
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
lea rcx, [rbp + 0x7d0]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d673
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x14000d6b6
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
lea r8, [rbp + 0x5d0]
lea rdx, str.CLSID_sShellExploreCommand
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d72c
test rsi, rsi
je 0x14000d727
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
lea rcx, [rbp + 0x7d0]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000d736
inc eax
add eax, eax
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x7d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x14000d779
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
mov dword [rsp + 0x68], 0x28050030
lea r8, [rbp + 0x5d0]
lea rdx, str.CLSID_sShellFolder
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d7f7
test rsi, rsi
je 0x14000d7f2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Attributes
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], r15
mov r9d, 1
xor r8d, r8d
lea rdx, str.Owner
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x14000d859
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
lea r8, [rbp + 0x5d0]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerDesktopNameSpace_s
lea rcx, [rbp + 0x9d0]
call fcn.14001c9d4
mov qword [rsp + 0x60], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x9d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000d8cf
test rsi, rsi
je 0x14000d8ca
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x60]
lea rax, [rbp + 0x3d0]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000d8d6
inc ebx
lea eax, [rbx + rbx]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x3d0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rsi, rsi
je 0x14000d91a
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, r12
xor r9d, r9d
xor r8d, r8d
mov edx, 0x3000
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop
test rdi, rdi
je 0x14000d940
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x14000d94e
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x19d0]
xor rcx, rsp
call fcn.14001a120
lea r11, [rsp + 0x1ae0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret