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, 0x981b7a38
mov ecx, 0xb04fe63f
mov r8d, 0xd24e280
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, 0x19515f80
movsxd rcx, eax
mov r8d, 0x8c6ec718
lea rbx, [rbx + rcx*2]
mov ecx, 0x3105c06b
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, 0xe56d582
movsxd rcx, eax
mov r8d, 0x9b694d1a
lea rbx, [rbx + rcx*2]
mov ecx, 0x26024a0d
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, 0xedd504a1
mov ecx, 0xc5819b32
mov r8d, 0x78ea9c38
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, 0x6020bb3c
mov ecx, 0x48742489
mov r8d, 0xf51f23a5
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, 0xe626ee64
mov ecx, 0xce72713b
mov r8d, 0x731976fe
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, 0x42db5de7
mov ecx, 0x6a8fc298
mov r8d, 0xd7e4c57a
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, 0xfcb6cf53
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