Function at 0x140007b0c
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xe8
xor eax, eax
mov rdi, rcx
mov r15d, 1
mov qword [rbp - 9], rax
mov ecx, 0x800
mov qword [rbp - 1], rax
mov esi, r15d
mov rbx, rdx
call fcn.140037e70
mov r14, rax
mov qword [rbp + 7], rax
mov eax, dword [str..lnk]
mov rcx, rdi
mov dword [rsp + 0x40], eax
mov al, byte [0x14009d98c]
mov byte [rsp + 0x44], al
call fcn.140004e8c
mov rax, qword [rbx]
mov r12d, 0x104
mov ecx, r12d
mov qword [rbx + 8], rax
call fcn.140037e70
mov r8d, r12d
mov qword [rbp - 0x11], rax
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14003a5c0
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor r13d, r13d
test eax, eax
jne 0x140007bcd
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CheckTargetLnk:_SHGetSpecialFolderPath_failed_error_d__r_n
mov ecx, r15d
mov r8d, eax
call fcn.1400191e0
mov rcx, r12
call fcn.140037e70
mov r8, r12
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.14003a5c0
mov dword [rsp + 0x38], r13d
lea r8, str.Desktop
mov qword [rsp + 0x30], r13
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov dword [rsp + 0x28], 0x103
mov r9d, r15d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rbx
call fcn.140018520
test eax, eax
je 0x140007c35
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CheckTargetLnk:_Reg_QueryValue_failed_error_d__r_n
mov ecx, r15d
mov r8d, eax
call fcn.1400191e0
mov rdx, rdi
mov rcx, rbx
call fcn.14007f078
test eax, eax
mov rcx, r12
cmove rbx, r13
mov qword [rbp - 9], rbx
call fcn.140037e70
lea rdx, str.C:UsersPublicDesktop
mov qword [rbp - 1], rax
mov rcx, rax
call fcn.140060710
lea r15, [rbp - 0x11]
mov dword [rbp + 0x7f], r13d
mov qword [rbp - 0x59], r15
mov r12d, r13d
cmp qword [r15], r13
je 0x140007f28
xor edx, edx
mov rcx, r14
lea r8d, [rdx + 8]
call fcn.14003a5c0
mov rcx, qword [r15]
lea rdx, [rsp + 0x40]
mov r9d, 0x100
mov dword [rsp + 0x20], 1
mov r8, r14
call fcn.14001ea60
mov r12, qword [rbp + 0x67]
neg eax
mov rdi, r14
mov r13d, 0x100
mov r14, qword [rbp + 0x6f]
sbb ecx, ecx
and ecx, esi
movabs r15, 0x6666666666666667
mov dword [rsp + 0x48], ecx
xor esi, esi
mov rbx, qword [rdi]
test rbx, rbx
je 0x140007f0a
mov eax, reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x79], sil
mov qword [rbp - 0x21], rsi
mov byte [rbp - 0x31], sil
cmp byte [rbx], sil
jne 0x140007d03
mov rax, rsi
jmp 0x140007d0b
mov rcx, rbx
call fcn.140045e50
mov r8, rax
lea rcx, [rbp - 0x31]
mov rdx, rbx
call fcn.140004d8c
lea r9, [rbp - 0x79]
mov r8d, 1
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140007f90
cmp qword [rbp - 0x39], 0x10
lea rcx, [rbp - 0x51]
cmovae rcx, qword [rbp - 0x51]
call fcn.14007ef6c
cmp qword [rbp - 0x61], 0x10
lea rcx, [rbp - 0x79]
cmovae rcx, qword [rbp - 0x79]
call fcn.14007ef6c
mov rax, qword [0x1400c50f0]
mov dword [rbp + 0x77], esi
mov r8, qword [rax]
mov rcx, qword [rax + 8]
mov rax, r15
sub rcx, r8
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140007eb2
movsxd rax, esi
lea rbx, [rax + rax*4]
shl rbx, 5
lea rdx, [rbx + r8]
cmp qword [rdx + 0x18], 0x10
jb 0x140007d9e
mov rdx, qword [rdx]
cmp qword [rbp - 0x39], 0x10
lea rcx, [rbp - 0x51]
cmovae rcx, qword [rbp - 0x51]
call fcn.14003a760
mov rcx, qword [0x1400c50f0]
test rax, rax
je 0x140007e83
mov rax, qword [rcx]
cmp qword [rax + rbx + 0x30], 0
jbe 0x140007dfc
lea rdx, [rax + 0x20]
add rdx, rbx
cmp qword [rdx + 0x18], 0x10
jb 0x140007ddd
mov rdx, qword [rdx]
cmp qword [rbp - 0x61], 0x10
lea rcx, [rbp - 0x79]
cmovae rcx, qword [rbp - 0x79]
call fcn.14003a760
test rax, rax
jne 0x140007e0e
mov rcx, qword [0x1400c50f0]
mov rax, qword [rcx]
cmp qword [rax + rbx + 0x30], 0
jne 0x140007e83
cmp qword [rbp - 0x69], 0
jne 0x140007e83
mov rcx, qword [rdi]
call fcn.14007ef6c
mov rbx, qword [rdi]
xor eax, eax
mov qword [rbp - 0x19], reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x21], rax
mov byte [rbp - 0x31], al
cmp byte [rbx], al
je 0x140007e36
mov rcx, rbx
call fcn.140045e50
mov r8, rax
lea rcx, [rbp - 0x31]
mov rdx, rbx
call fcn.140004d8c
lea rdx, [rbp - 0x31]
mov rcx, r12
call fcn.140009638
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x140007e6d
mov rcx, qword [rbp - 0x31]
inc rdx
mov r8d, 1
call fcn.140004554
lea rdx, [rbp + 0x77]
mov rcx, r14
call fcn.140009520
mov rcx, qword [0x1400c50f0]
mov esi, dword [rbp + 0x77]
mov r8, qword [rcx]
inc esi
mov rcx, qword [rcx + 8]
mov rax, r15
sub rcx, r8
mov dword [rbp + 0x77], esi
imul rcx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, esi
cmp rax, rdx
jb 0x140007d85
mov rcx, qword [rdi]
mov edx, 1
call fcn.140037e68
mov rdx, qword [rbp - 0x39]
xor esi, esi
mov qword [rdi], rsi
cmp rdx, 0x10
jb 0x140007ede
mov rcx, qword [rbp - 0x51]
lea r8d, [rsi + 1]
inc rdx
call fcn.140004554
mov rdx, qword [rbp - 0x61]
mov qword [rbp - 0x39], reloc.WSOCK32.dll_ntohs
mov qword [rbp - 0x41], rsi
mov byte [rbp - 0x51], sil
cmp rdx, 0x10
jb 0x140007f0a
mov rcx, qword [rbp - 0x79]
inc rdx
mov r8d, 1
call fcn.140004554
add rdi, 8
sub r13, 1
jne 0x140007cd0
mov r14, qword [rbp + 7]
mov r15, qword [rbp - 0x59]
mov r12d, dword [rbp + 0x7f]
mov esi, dword [rsp + 0x48]
inc r12d
add r15, 8
mov dword [rbp + 0x7f], r12d
mov qword [rbp - 0x59], r15
cmp r12d, 3
jb 0x140007c74
test r14, r14
je 0x140007f53
mov edx, 8
mov rcx, r14
call fcn.140037e68
mov edi, r13d
lea rbx, [rbp - 0x11]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007f6c
mov edx, 1
call fcn.140037e68
inc edi
add rbx, 8
cmp edi, 3
jb 0x140007f5a
mov eax, esi
add rsp, 0xe8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret