Function at 0x140010b50
Capabilities:
Delete file
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
push rbp
push r14
push r15
lea rbp, [rax - 0x1208]
mov eax, 0x12f0
call fcn.14006fd20
sub rsp, rax
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
mov rcx, qword [str._b0_n_]
lea rsi, str._b0_n_
lea r15, [0x140084e28]
mov dil, 2
cmp rcx, rsi
je 0x140010bc3
test byte [rcx + 0x1c], dil
je 0x140010bc3
cmp byte [rcx + 0x19], 5
jb 0x140010bc3
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r8, r15
call fcn.1400043e4
lea rdx, [rbp + 0x190]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
xor r14d, r14d
test eax, eax
jne 0x140010c31
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x140010e92
test byte [rax + 0x1c], dil
je 0x140010e92
cmp byte [rax + 0x19], dil
jb 0x140010e92
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea edx, [r14 + 0xb]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140004410
jmp 0x140010e92
mov edx, 0x5c
lea rcx, [rbp + 0x190]
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140010c6a
cmp word [rax + 2], r14w
jne 0x140010c6a
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.msvcrt.dll__wcsnset]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [rax + rax]
lea rcx, [0x140084d60]
mov edx, 0x30c
mov qword [rsp + 0x30], rcx
lea r9, [rbp + 0x190]
mov dword [rsp + 0x28], eax
lea r8, str._s_s_08x._s
lea rax, str.MSFaxConsoleTempPreview_
lea rcx, [rbp + 0xbc0]
mov qword [rsp + 0x20], rax
call fcn.140006aa0
test eax, eax
jns 0x140010ce7
mov rcx, qword [str._b0_n_]
cmp rcx, rsi
je 0x140010e92
test byte [rcx + 0x1c], dil
je 0x140010e92
cmp byte [rcx + 0x19], dil
jb 0x140010e92
movzx r9d, ax
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
jmp 0x140010c20
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xbc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140010d56
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x140010e92
test byte [rax + 0x1c], dil
je 0x140010e92
cmp byte [rax + 0x19], dil
jb 0x140010e92
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea edx, [rbx + 0xe]
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140004410
jmp 0x140010e92
lea rax, [rsp + 0x6c]
mov edx, 0x30c
lea r9, [rbp + 0x190]
mov qword [rsp + 0x20], rax
lea r8, [0x140084dc0]
lea rcx, [rbp + 0x5a0]
call fcn.140006aa0
test eax, eax
js 0x140010e17
lea rcx, [rbp + 0x5a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140010de7
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x140010e17
test byte [rax + 0x1c], dil
je 0x140010e17
cmp byte [rax + 0x19], dil
jb 0x140010e17
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
lea r9, [rbp + 0x5a0]
mov edx, InitCommonControls
mov dword [rsp + 0x20], eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140004454
jmp 0x140010e17
mov rcx, qword [str._b0_n_]
cmp rcx, rsi
je 0x140010e17
test byte [rcx + 0x1c], dil
je 0x140010e17
cmp byte [rcx + 0x19], 5
jb 0x140010e17
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0x5a0]
mov edx, InitCommonControls
mov r8, r15
call fcn.14000faac
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140010d56
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x140010e83
mov rax, qword [str._b0_n_]
cmp rax, rsi
je 0x140010e83
test byte [rax + 0x1c], dil
je 0x140010e83
cmp byte [rax + 0x19], dil
jb 0x140010e83
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [str._b0_n_]
mov edx, InitCommonControls
mov r9d, eax
mov r8, r15
mov rcx, qword [rcx + 0x10]
call fcn.140004410
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + 0x12f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret