Function at 0x140097c90
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
mov rdi, rdx
lea rcx, [rsp + 0x30]
lea rdx, str.OperateFile::DeleteFileW
mov rsi, r8
call fcn.14001abe0
mov rbx, qword [0x1402a8360]
lea r15, [0x1402a8360]
lea r14, [0x1402bbdb0]
cmp rbx, r15
je 0x140097d66
test byte [rbx + 0x1c], 1
je 0x140097d22
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rbx + 0x10]
mov r9, r14
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x80
call fcn.140001ad0
mov rbx, qword [0x1402a8360]
cmp rbx, r15
je 0x140097d66
test byte [rbx + 0x1c], 1
je 0x140097d66
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rbx + 0x10]
mov r9, r14
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x81
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call fcn.14002fbe0
mov rbx, qword [0x1402a8360]
xor edx, edx
lea rcx, [rbp + 0x3e0]
mov r8d, 0x208
call fcn.1401e7e40
xor edx, edx
lea rcx, [rbp + 0x1d0]
mov r8d, 0x208
call fcn.1401e7e40
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x250
call fcn.1401e7e40
test rdi, rdi
je 0x140097ee0
test rsi, rsi
je 0x140097ee0
lea rdx, [0x140251dfc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140097ed9
mov rdx, rdi
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x1ce], 0x5c
je 0x140097e08
lea rdx, [0x140251df8]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov r9, rsi
lea r8, [rbp + 0x1d0]
lea rdx, [0x1402528f8]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140097eb6
test byte [rbp - 0x80], 0x10
jne 0x140097e9c
lea rdx, [0x140252314]
lea rcx, [rbp - 0x54]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140097e9c
lea rdx, [0x140255880]
lea rcx, [rbp - 0x54]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140097e9c
lea r9, [rbp - 0x54]
lea r8, [rbp + 0x1d0]
lea rdx, [0x1402528f8]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140097e40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x38], 1
mov rbx, qword [0x1402a8360]
mov edi, 1
cmp rbx, r15
je 0x140097f25
test byte [rbx + 0x1c], dil
je 0x140097f25
mov edx, 0x83
jmp 0x140097ef7
mov rbx, qword [0x1402a8360]
mov byte [rsp + 0x38], 1
xor edi, edi
cmp rbx, r15
je 0x140097f25
test byte [rbx + 0x1c], 1
je 0x140097f25
mov edx, 0x82
cmp qword [0x1402bbdc8], 8
lea r8, str.eXK3
mov rcx, qword [rbx + 0x10]
mov r9, r14
cmovae r9, qword [0x1402bbdb0]
mov dword [rsp + 0x20], edi
call fcn.140001b40
mov rbx, qword [0x1402a8360]
cmp byte [rsp + 0x38], 0
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x30], rax
jne 0x140097f81
cmp rbx, r15
je 0x140097f81
test byte [rbx + 0x1c], 1
je 0x140097f81
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
mov edx, 0xa
lea r8, [0x140252818]
cmovae rcx, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
mov qword [rsp + 0x20], rcx
cmovae r14, qword [0x1402bbdb0]
mov rcx, qword [rbx + 0x10]
mov r9, r14
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x730]
add rsp, 0x700
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret