Function at 0x14001a11c
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 0x14001a1d0
lea rcx, str.XrevealWndClass
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x14001a1d0
mov edx, 0xdf9fe274
mov ecx, 0x3e7fb68f
mov r8d, 0x256014dd
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 0x14001a50c
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, 0x960f809d
movsxd rcx, eax
mov r8d, 0x6cf07614
lea rbx, [rbx + rcx*2]
mov ecx, 0x77efd7ca
call fcn.1400015d0
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a21b
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, 0xdcf2ca5a
movsxd rcx, eax
mov r8d, 0x260d3cd3
lea rbx, [rbx + rcx*2]
mov ecx, 0x3d129d29
call fcn.1400015d0
sub rbx, rax
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x14001a284
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.1400e839c
mov rbx, rax
test rax, rax
je 0x14001a3ff
mov edx, 0xc0968ed9
mov ecx, 0x2176d9b6
mov r8d, 0x3a697851
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 0x14001a2f2
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0xff0e070d
mov ecx, 0x1eee5008
mov r8d, 0x5f1f185
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 0x14001a32a
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x530243c7
mov ecx, 0xb2e214e4
mov r8d, 0xa9fdb54c
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 0x14001a362
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x40], r14d
call fcn.1400ea1b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a3ff
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 0x14001a3b5
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 0x14001a3b0
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, 0x75852e1e
mov ecx, 0x946579dd
mov r8d, 0x8f7ad892
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 0x14001a429
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.1400e8e80
lea rbx, [rbp + 0x190]
mov edx, 0xe143fe64
movsxd rcx, eax
mov r8d, 0xa
add rbx, rcx
lea rcx, [0x140168552]
call fcn.140001558
sub rbx, rax
mov cl, byte [rax]
mov byte [rbx + rax], cl
inc rax
test cl, cl
jne 0x14001a491
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 0x14001a4e5
mov rcx, qword [rsp + 0x30]
lea rdx, [0x140128df8]
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 [0x140174678]
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
xor ecx, ecx
call fcn.140018cf8
call fcn.140019e40
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400e79e0
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