Function at 0x140097470
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rbx, r9
mov r14, r8
mov rsi, rdx
lea rdx, str.OperateFile::MoveFileW
lea rcx, [rsp + 0x40]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140097548
test byte [rcx + 0x1c], 1
je 0x140097506
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_WSAGetLastError
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140097548
test byte [rcx + 0x1c], 1
je 0x140097548
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.14001d060
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.1401e7e40
mov r9, rbx
mov r8, rsi
lea rdx, [0x140252608]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9, rbx
mov r8, r14
lea rdx, [0x140252608]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140097627
test byte [rcx + 0x1c], 4
je 0x1400975e8
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x140097627
test byte [rcx + 0x1c], 4
je 0x140097627
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAStartup
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
lea r8, str.eXK3
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov edx, 0x20
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
test eax, eax
jne 0x1400976b6
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x140097694
test byte [rax + 0x1c], 2
je 0x140097694
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x40]
call fcn.14001b0b0
lea edx, [rsi + 0x73]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.eXK3
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rsp + 0x48], 1
cmp rax, r15
je 0x1400978b4
test byte [rax + 0x1c], 1
je 0x1400978b4
mov edx, reloc.WSOCK32.dll_WSACleanup
jmp 0x140097886
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140097817
mov edx, 0x20
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140097764
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x140097742
test byte [rax + 0x1c], 2
je 0x140097742
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x40]
call fcn.14001b0b0
mov edx, 0x75
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.eXK3
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rsp + 0x48], 1
cmp rax, r15
je 0x1400978b4
test byte [rax + 0x1c], 1
je 0x1400978b4
mov edx, 0x76
jmp 0x140097886
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400977ee
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x1400977cc
test byte [rax + 0x1c], 2
je 0x1400977cc
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x40]
call fcn.14001b0b0
mov edx, 0x77
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.eXK3
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rsp + 0x48], 1
cmp rax, r15
je 0x1400978b4
test byte [rax + 0x1c], 1
je 0x1400978b4
mov edx, 0x78
jmp 0x140097886
mov byte [rsp + 0x48], 1
mov esi, 1
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x1400978b4
test byte [rax + 0x1c], sil
je 0x1400978b4
lea edx, [rsi + 0x7a]
jmp 0x140097886
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x140097871
test byte [rax + 0x1c], 2
je 0x140097871
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x40]
call fcn.14001b0b0
mov edx, 0x79
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str.eXK3
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rsp + 0x48], 1
cmp rax, r15
je 0x1400978b4
test byte [rax + 0x1c], 1
je 0x1400978b4
mov edx, 0x7a
mov r9, rdi
cmp qword [0x1402bbdc8], 8
mov dword [rsp + 0x20], esi
cmovae r9, qword [0x1402bbdb0]
lea r8, str.eXK3
mov rcx, qword [rax + 0x10]
call fcn.140001b40
mov rax, qword [0x1402a8360]
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x40], rcx
cmp byte [rsp + 0x48], 0
jne 0x140097910
cmp rax, r15
je 0x140097910
test byte [rax + 0x1c], 1
je 0x140097910
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rax + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x50]
call fcn.1400048a0
mov eax, esi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret