Function at 0x140096a40
Capabilities:
Copy file
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.1401e33b0
sub rsp, rax
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x1030], rax
mov r12, r9
mov rsi, r8
mov r14, rdx
lea rdx, str.OperateFile::FileCopyAndDelete
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea r13, [0x1402a8360]
lea r15, [0x1402bbdb0]
mov rbx, qword [0x1402a8360]
cmp rbx, r13
je 0x140096b29
test byte [rbx + 0x1c], 1
je 0x140096ae0
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x63
lea r8, str.eXK3
mov rcx, qword [rbx + 0x10]
call fcn.140001ad0
mov rbx, qword [0x1402a8360]
cmp rbx, r13
je 0x140096b29
test byte [rbx + 0x1c], 1
je 0x140096b29
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x64
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
lea r8, str.eXK3
mov rcx, qword [rbx + 0x10]
call fcn.14001d060
mov rbx, qword [0x1402a8360]
xor edx, edx
mov r8d, 0x618
lea rcx, [rbp + 0x1f0]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x810]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0xc20]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x60]
call fcn.1401e7e40
xor edi, edi
test r14, r14
je 0x140096f74
test rsi, rsi
je 0x140096f74
lea rdx, [0x140251dfc]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140096f6d
lea rdx, [0x140251dfc]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140096f6d
mov rdx, r14
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rdx, r14
lea rcx, [rbp + 0x3f8]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [r14 + rcx*2 - 2], 0x5c
jne 0x140096bf8
lea rdx, [0x1402557a0]
jmp 0x140096c13
lea rdx, [0x140251df8]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, str..
lea rcx, [rbp + 0x3f8]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, rsi
lea rcx, [rbp + 0x810]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rsi + rcx*2 - 2], 0x5c
je 0x140096c58
lea rdx, [0x140251df8]
lea rcx, [rbp + 0x810]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rsi, rdi
mov r14d, 1
test r12, r12
je 0x140096ca2
mov rdx, r12
lea rcx, [rbp + 0xc20]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [r12 + rcx*2 - 2], 0x5c
je 0x140096c9f
lea rdx, [0x140251df8]
lea rcx, [rbp + 0xc20]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rsi, r14
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140096ce8
test byte [rcx + 0x1c], 4
je 0x140096ce8
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x66
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x40]
call fcn.140091e00
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x3f8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140096ec3
test byte [rbp - 0x60], 0x10
jne 0x140096ea5
lea rax, [rbp - 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f0]
lea r8, [0x1402528f8]
mov edx, 0x104
lea rcx, [rbp + 0x600]
call fcn.14002fb20
lea rax, [rbp - 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x810]
lea r8, [0x1402528f8]
mov edx, 0x104
lea rcx, [rbp + 0xa18]
call fcn.14002fb20
mov r9d, r14d
lea r8, [rbp + 0xa18]
lea rdx, [rbp + 0x600]
lea rcx, [rsp + 0x40]
call fcn.1400948e0
test eax, eax
jle 0x140096e09
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140096ddc
test byte [rcx + 0x1c], 4
je 0x140096ddc
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x67
lea rax, [rbp + 0xa18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x600]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.14002fbe0
xor r8d, r8d
lea rdx, [rbp + 0xa18]
lea rcx, [rbp + 0x600]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140096e06
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
je 0x140096f16
mov edi, r14d
test rsi, rsi
je 0x140096ea5
lea rax, [rbp - 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc20]
lea r8, [0x1402528f8]
mov edx, 0x104
lea rcx, [rbp + 0xe28]
call fcn.14002fb20
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140096e80
test byte [rcx + 0x1c], 4
je 0x140096e80
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x69
lea rax, [rbp + 0xe28]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov edx, 0x20
lea rcx, [rbp + 0xe28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0xe28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmovne edi, r14d
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140096d11
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x58], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140096f07
test byte [rcx + 0x1c], 1
je 0x140096f07
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x6a
mov dword [rsp + 0x20], edi
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x40]
call fcn.140091f70
jmp 0x140096fb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov byte [rsp + 0x58], 1
mov rcx, qword [0x1402a8360]
cmp rcx, r13
je 0x140096f66
test byte [rcx + 0x1c], 1
je 0x140096f66
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x68
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
mov edi, 0xffffffff
jmp 0x140096f07
mov rbx, qword [0x1402a8360]
mov byte [rsp + 0x58], 1
cmp rbx, r13
je 0x140096fb7
test byte [rbx + 0x1c], 1
je 0x140096fb7
mov r9, r15
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x65
mov dword [rsp + 0x20], edi
lea r8, str.eXK3
mov rcx, qword [rbx + 0x10]
call fcn.140001b40
mov rbx, qword [0x1402a8360]
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x50], rax
cmp byte [rsp + 0x58], 0
jne 0x140097013
cmp rbx, r13
je 0x140097013
test byte [rbx + 0x1c], 1
je 0x140097013
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
cmp qword [0x1402bbdc8], 8
cmovae r15, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, r15
lea r8, [0x140252818]
mov rcx, qword [rbx + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x1180]
add rsp, 0x1140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret