Function at 0x140015f40
Capabilities:
Delete file
Get file attributes
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x2f0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14002a6d8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, r9
mov r15, r8
mov rdi, rdx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 3
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea r8, str.SOFTWAREMicrosoftWindows_NTCurrentVersionAccessibility
mov r14, 0xffffffff80000001
mov rdx, r14
mov rcx, r9
call fcn.14000c204
mov ebx, eax
test eax, eax
je 0x140015ffd
lea rdi, [0x14002a0c8]
mov rcx, qword [0x14002a0c8]
cmp rcx, rdi
je 0x140015feb
test byte [rcx + 0x1c], 8
je 0x140015feb
lea edx, [r12 + 0x29]
mov r9d, eax
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001e04
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
jmp 0x140016492
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov dword [rbp - 0x48], 0xa
mov rbx, qword [rdi]
jmp 0x14001603f
mov rdi, rbx
mov rbx, qword [rbx]
mov rcx, qword [rdi + 0x10]
call fcn.140016d00
cmp dword [rax + 0x50], 1
je 0x14001603f
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1400166f0
test rbx, rbx
jne 0x14001601d
mov rax, qword [0x14002a5b8]
lea rcx, [0x14002a5b8]
mov rax, qword [rax + 0x18]
call qword [0x140020080]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.140014f28
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400164bd
or r13, 0xffffffffffffffff
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x140016088
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.Configuration
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14001610b
lea rdi, [0x14002a0c8]
mov rcx, qword [0x14002a0c8]
cmp rcx, rdi
je 0x1400160f8
test byte [rcx + 0x1c], 8
je 0x1400160f8
mov edx, 0x2a
mov r9d, eax
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001e04
movzx edi, si
or edi, 0x80070000
test esi, esi
cmovle edi, esi
jmp 0x140016463
mov rsi, r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jne 0x14001615e
mov r14d, r12d
mov rsi, qword [rsp + 0x68]
mov qword [rsp + 0x70], rsi
test r14d, r14d
je 0x1400161aa
lea rdi, [0x14002a0c8]
mov rcx, qword [0x14002a0c8]
cmp rcx, rdi
je 0x140016194
test byte [rcx + 0x1c], 8
je 0x140016194
mov edx, 0x2b
mov r9d, r14d
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001e04
movzx edi, r14w
or edi, 0x80070000
test r14d, r14d
cmovle edi, r14d
jmp 0x14001644e
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], 0x104
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x30]
lea rdx, str.Startup
lea rcx, [rsp + 0x70]
call fcn.140011564
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.140003734
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140003734
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x48]
call fcn.140003734
nop
lea rdx, str.On_Screen_Keyboard.lnk
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140016214
mov r8d, eax
lea rcx, [rsp + 0x58]
call fcn.140012aa4
lea rdx, str.Narrator.lnk
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140016235
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140012aa4
lea rdx, str.Magnifier.lnk
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140016256
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.140012aa4
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140003674
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov bl, 0x10
lea rdi, [0x14002a0c8]
or esi, 0xffffffff
cmp eax, esi
je 0x1400162f1
lea rdx, str._osk
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x1400162a5
mov r8d, eax
mov rcx, r15
call fcn.140012aa4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, qword [0x14002a0c8]
cmp rcx, rdi
je 0x1400162f1
test byte [rcx + 0x1c], bl
je 0x1400162f1
mov edx, 0x2c
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001dd8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, esi
je 0x14001635c
lea rdx, str._Narrator
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x140016310
mov r8d, eax
mov rcx, r15
call fcn.140012aa4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, qword [0x14002a0c8]
cmp rcx, rdi
je 0x14001635c
test byte [rcx + 0x1c], bl
je 0x14001635c
mov edx, 0x2d
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001dd8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, esi
je 0x1400163c7
lea rdx, str._magnifierpane
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14001637b
mov r8d, eax
mov rcx, r15
call fcn.140012aa4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
mov rcx, qword [0x14002a0c8]
cmp rcx, rdi
je 0x1400163c7
test byte [rcx + 0x1c], bl
je 0x1400163c7
mov edx, 0x2e
lea r8, [0x140021e88]
mov rcx, qword [rcx + 0x10]
call fcn.140001dd8
mov edi, r12d
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400163f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140020080]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14001641c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140020080]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140016444
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140020080]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x40]
test rsi, rsi
je 0x140016463
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140016487
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [0x140020080]
nop
lea rcx, [rbp - 0x70]
call fcn.140016814
mov eax, edi
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14001c9c0
mov rbx, qword [rsp + 0x330]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001b40
int3