Function at 0x14001b390
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
xor edi, edi
cmp word [rcx], 0x2d
mov esi, 4
lea ebp, [rsi - 3]
lea r13d, [rsi + 5]
mov r14b, dil
mov byte [rsp + 0xf0], dil
mov r15b, dil
mov byte [rsp + 0xf8], dil
mov bl, dil
jne 0x14001b582
lea r12d, [rsi + 2]
lea rax, [rcx + 2]
lea rdx, [rsp + 0xe0]
mov r8d, ebp
cmp word [rax], 0x2d
cmove rcx, rax
mov qword [rsp + 0xe0], rcx
lea rcx, [0x1400d7440]
call fcn.14004e558
cmp al, dil
jne 0x14001b57a
lea rdx, [rsp + 0xe0]
lea rcx, str._simpleprogress
mov r8d, 0xf
call fcn.14004e558
cmp al, dil
je 0x14001b43e
mov esi, pe_nt_image_headers64
jmp 0x14001b568
lea rdx, [rsp + 0xe0]
lea rcx, str._progress
mov r8d, r13d
call fcn.14004e558
cmp al, dil
je 0x14001b462
mov si, di
jmp 0x14001b568
lea rdx, [rsp + 0xe0]
lea rcx, str._file
mov r8d, 5
call fcn.14004e558
cmp al, dil
je 0x14001b489
mov r14b, bpl
jmp 0x14001b568
lea rdx, [rsp + 0xe0]
lea rcx, [0x1400d9174]
mov r8d, 2
call fcn.14004e558
cmp al, dil
je 0x14001b4b5
mov byte [rsp + 0xf0], bpl
jmp 0x14001b568
lea rdx, [rsp + 0xe0]
lea rcx, [0x1400d916c]
mov r8d, r12d
call fcn.14004e558
cmp al, dil
je 0x14001b4dd
mov dword [rsp + 0xe8], ebp
jmp 0x14001b568
lea rdx, [rsp + 0xe0]
lea rcx, [0x1400d9168]
mov r8d, 2
call fcn.14004e558
cmp al, dil
je 0x14001b501
mov r15b, 0x10
jmp 0x14001b568
lea rdx, [rsp + 0xe0]
lea rcx, str._delme
mov r8d, r12d
call fcn.14004e558
cmp al, dil
je 0x14001b521
mov bl, 0x10
jmp 0x14001b568
mov rcx, qword [rsp + 0xe0]
movzx eax, word [rcx]
cmp ax, di
je 0x14001b55b
mov edx, 0x20
cmp r13w, ax
ja 0x14001b542
cmp ax, 0xd
jbe 0x14001b55b
cmp dx, ax
je 0x14001b55b
add rcx, 2
mov qword [rsp + 0xe0], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x14001b536
lea rcx, [rsp + 0xe0]
call fcn.140011910
mov rcx, qword [rsp + 0xe0]
cmp word [rcx], 0x2d
je 0x14001b3e1
mov byte [rsp + 0xf8], r15b
lea rcx, [rsp + 0xe0]
call fcn.140011910
cmp bl, dil
je 0x14001b5e0
lea rdx, str.23:INDATA
lea rcx, [rsp + 0xf0]
call fcn.140058920
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0xf0]
call fcn.14004bfa8
mov rdx, qword [rsp + 0xf0]
lea rcx, [0x1400f1e30]
call fcn.140039598
lea rcx, [rsp + 0xf0]
mov ebx, eax
jmp 0x14001b9d5
mov rcx, qword [rsp + 0xe0]
cmp word [rcx], di
jne 0x14001b5f7
mov eax, 0x80070057
jmp 0x14001b9dc
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x28]
lea ebx, [rbp + rax]
lea edx, [rbx + rbx + 4]
call fcn.14004bedc
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x28]
movsxd r11, ebx
add r11, r11
mov r8, r11
call fcn.1400177f8
mov rcx, qword [rsp + 0x28]
xor edx, edx
mov qword [rsp + 0xe0], rcx
mov word [r11 + rcx], di
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x30]
mov qword [rsp + 0x50], rdi
call fcn.1400b93b0
lea rcx, [rsp + 0xe0]
call fcn.140011910
mov rbx, qword [rsp + 0xe0]
mov eax, 0x610
or si, ax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x58], 3
mov word [rsp + 0x70], si
mov qword [rsp + 0x60], rbx
mov ebp, edi
mov rsi, rbx
mov r12b, dil
call fcn.14004be6c
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], edi
call fcn.14004be6c
lea rcx, [rsp + 0x30]
mov edx, 0xa
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x4c], edi
lea r13, [rsp + 0x30]
call fcn.14004bf70
lea rcx, [rsp + 0x40]
mov edx, 0xa
call fcn.14004bf70
movzx r11d, word [rbx]
cmp r11w, di
je 0x14001b819
mov al, byte [rsp + 0xf0]
mov r15d, 0x20
cmp al, dil
je 0x14001b74b
cmp r11w, 0x3b
jne 0x14001b74b
mov word [rbx], di
add rbx, 2
mov qword [rsp + 0x20], rbx
cmp word [rsi], di
je 0x14001b722
cmp r12b, dil
jne 0x14001b714
mov r8b, 1
cmp r14b, dil
jne 0x14001b717
mov r8b, dil
mov rdx, rsi
mov rcx, r13
call fcn.14001b01c
lea rcx, [rsp + 0x20]
call fcn.140011910
mov rbx, qword [rsp + 0x20]
mov al, byte [rsp + 0xf0]
mov rsi, rbx
cmp r12b, dil
je 0x14001b7ff
inc ebp
jmp 0x14001b7ff
cmp r11w, 0x3e
jne 0x14001b7ff
cmp word [rbx - 2], 0x3d
jne 0x14001b767
mov dword [rsp + 0x58], 2
jmp 0x14001b78b
cmp word [rbx - 2], 0x2d
jne 0x14001b778
mov dword [rsp + 0x58], 1
jmp 0x14001b78b
cmp word [rbx + 2], 0x3e
jne 0x14001b78b
add rbx, 2
mov dword [rsp + 0x58], 4
lea rax, [rbx - 4]
cmp rax, rsi
jb 0x14001b7b6
mov ecx, 9
cmp cx, word [rax]
ja 0x14001b7a4
cmp word [rax], 0xd
jbe 0x14001b7aa
cmp r15w, word [rax]
jne 0x14001b7b6
mov word [rax], di
sub rax, 2
cmp rax, rsi
jae 0x14001b799
mov word [rbx - 2], di
mov word [rbx], di
lea rcx, [rsp + 0x20]
add rbx, 2
mov qword [rsp + 0x20], rbx
call fcn.140011910
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x68], rbx
cmp word [rsi], di
je 0x14001b7ed
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.14001b01c
mov al, byte [rsp + 0xf0]
mov rsi, rbx
mov r12b, 1
lea r13, [rsp + 0x40]
add rbx, 2
mov r11w, word [rbx]
cmp r11w, di
jne 0x14001b6ea
mov r15b, byte [rsp + 0xf8]
cmp word [rsi], di
je 0x14001b83a
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.14001b01c
mov ebx, 1
cmp r12b, dil
je 0x14001b83f
add ebp, ebx
jmp 0x14001b83f
mov ebx, 1
movsxd rcx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
cmp ebp, edi
mov word [rax + rcx*2], di
movsxd rcx, dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2], di
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
cmovg rax, qword [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11d, dword [rsp + 0x58]
cmp dword [rsp + 0xe8], edi
je 0x14001b8a6
cmp r11d, 3
jne 0x14001b8a6
mov rcx, qword [rsp + 0x30]
movsx edx, r15b
call fcn.14001b110
jmp 0x14001b9ba
cmp r14b, dil
je 0x14001b906
cmp r11d, 3
jne 0x14001b8d4
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
je 0x14001b8cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, ebx
mov edi, eax
mov ebx, edi
jmp 0x14001b9bc
cmp r11d, 2
jne 0x14001b8ef
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x14001b8bc
cmp r11d, ebx
jne 0x14001b906
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14001b8bc
cmp r11d, 4
jne 0x14001b9a5
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xf0]
call fcn.140058920
mov rcx, qword [rsp + 0xf0]
call fcn.140049814
cmp rax, rdi
jne 0x14001b93e
mov rax, qword [rsp + 0xf0]
jmp 0x14001b942
add rax, 2
mov word [rax], di
mov rcx, qword [rsp + 0x68]
call fcn.140049814
cmp rax, rdi
jne 0x14001b95b
mov rax, qword [rsp + 0x68]
jmp 0x14001b95f
add rax, 2
lea rcx, [rsp + 0xf0]
mov rdx, rax
call fcn.14004bfa8
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, ebx
je 0x14001b993
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, ebx
mov edi, eax
lea rcx, [rsp + 0xf0]
call fcn.140044f24
jmp 0x14001b8cd
cmp ebp, 2
jl 0x14001b9af
or word [rsp + 0x70], bx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.140044f24
lea rcx, [rsp + 0x30]
call fcn.140044f24
lea rcx, [rsp + 0x28]
call fcn.140044f24
mov eax, ebx
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret