Function at 0x14001a40c
Capabilities:
Check mutex on windows
Delete directory
Delete file
Delete registry key
Enumerate files on windows
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x3b8]
sub rsp, 0x4b0
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
lea r8, str.MUTEX_XREVEAL
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
mov edi, InitCommonControls
cmp eax, 0xb7
jne 0x14001a4c0
lea rcx, str.XrevealWndClass
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x14001a4c0
mov edx, 0xda498586
mov ecx, 0x584cf7c7
mov r8d, 0xaf258e4a
call fcn.1400015d0
lea r9d, [rdi + 0x14]
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14001a7fc
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rbp + 0x190]
mov r9d, 1
mov r8d, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rbx, [rbp + 0x190]
mov edx, 0xa90b2f3c
movsxd rcx, eax
mov r8d, 0xdc6724d0
lea rbx, [rbx + rcx*2]
mov ecx, 0x2b0e5ed1
call fcn.1400015d0
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a50b
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r9d, 1
lea rdx, [rbp + 0x190]
lea r8d, [r9 + 0x16]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rbx, [rbp + 0x190]
mov edx, 0x1545a169
movsxd rcx, eax
mov r8d, 0x6029aa85
lea rbx, [rbx + rcx*2]
mov ecx, 0x9740d0a0
call fcn.1400015d0
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a574
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp + 0x190]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp + 0x190]
mov edx, 0x5c
call fcn.1400e875c
mov rbx, rax
test rax, rax
je 0x14001a6ef
mov edx, 0xacd64ed3
mov ecx, 0x2ed33f06
mov r8d, 0xd9ba453e
add rbx, 2
call fcn.1400015d0
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a5e2
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0xde3e0d03
mov ecx, 0x5c3b7cbc
mov r8d, 0xab5206ee
call fcn.1400015d0
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a61a
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0xae321061
mov ecx, 0x2c3761f8
mov r8d, 0xdb5e1b8f
call fcn.1400015d0
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a652
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x40], r14d
call fcn.1400ea570
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a6ef
lea rax, [rsp + 0x6c]
lea rdi, [rbx + 0x12]
sub rdi, rax
lea rcx, [rsp + 0x6c]
movzx eax, word [rcx]
mov word [rdi + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001a6a5
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001a6a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x190]
mov word [rbx + 0x12], r14w
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rbp + 0x190]
call fcn.14000ae40
mov edx, 0xf38cf65a
mov ecx, 0x71898723
mov r8d, 0x86e0fdb3
mov rbx, rax
call fcn.1400015d0
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a719
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x190]
mov word [rbx], r14w
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion_
lea rcx, [rbp + 0x190]
call fcn.1400e9240
lea rbx, [rbp + 0x190]
mov edx, 0xbe292b76
movsxd rcx, eax
mov r8d, 0xa
add rbx, rcx
lea rcx, [0x1401685e2]
call fcn.140001558
sub rbx, rax
mov cl, byte [rax]
mov byte [rbx + rax], cl
inc rax
test cl, cl
jne 0x14001a781
lea rax, [rsp + 0x30]
lea rdx, [rbp + 0x190]
mov r9d, 0x2010e
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001a7d5
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140128d38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call fcn.14000a4f4
mov rdx, qword [0x140174718]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ecx, ecx
call fcn.140018fe8
call fcn.14001a130
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400e7da0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret