Function at 0x140009c28
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 [0x140163470]
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 0x140009cdc
lea rcx, str.XrevealWndClass
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140009cdc
mov edx, 0x5d0ef88e
mov ecx, 0x30b2ae86
mov r8d, 0x83579cbb
call fcn.140001390
lea r9d, [rdi + 0x14]
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x14000a018
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, 0x1c109ae6
movsxd rcx, eax
mov r8d, 0xc249fef3
lea rbx, [rbx + rcx*2]
mov ecx, 0x71accf02
call fcn.140001390
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140009d27
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, 0x1626907b
movsxd rcx, eax
mov r8d, 0xc87ff46e
lea rbx, [rbx + rcx*2]
mov ecx, 0x7b9ac5fb
call fcn.140001390
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140009d90
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.1400e9f08
mov rbx, rax
test rax, rax
je 0x140009f0b
mov edx, 0x854d4634
mov ecx, 0xe8f113a8
mov r8d, 0x5b142220
add rbx, 2
call fcn.140001390
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140009dfe
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0xfc433e57
mov ecx, 0x91ff6bed
mov r8d, 0x221a5a43
call fcn.140001390
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140009e36
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0xe94cab06
mov ecx, 0x84f0fe56
mov r8d, 0x3715cf11
call fcn.140001390
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140009e6e
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x40], r14d
call fcn.1400ebf40
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140009f0b
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 0x140009ec1
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 0x140009ebc
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.14000d96c
mov edx, 0x24fdae3c
mov ecx, 0x4941fb4c
mov r8d, 0xfaa4ca2c
mov rbx, rax
call fcn.140001390
mov rdx, rbx
sub rdx, rax
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x140009f35
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.1400e9c20
lea rbx, [rbp + 0x190]
mov edx, 0x107668fa
movsxd rcx, eax
mov r8d, 0xa
add rbx, rcx
lea rcx, [0x140165a74]
call fcn.140001318
sub rbx, rax
mov cl, byte [rax]
mov byte [rbx + rax], cl
inc rax
test cl, cl
jne 0x140009f9d
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 0x140009ff1
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140129d88]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call fcn.14000d020
mov rdx, qword [0x140175b50]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ecx, ecx
call fcn.1400087d0
call fcn.14000994c
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400e8bc0
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