Function at 0x14001e158
Capabilities:
Copy file
Delete directory
Delete file
Move file

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc8
xor edi, edi
cmp word [rdx], 0x2d
mov esi, 4
lea ebp, [rsi - 3]
lea r12d, [rsi - 1]
mov r13b, dil
mov byte [rsp + 0x128], dil
mov byte [rsp + 0x40], dil
mov bl, dil
mov byte [rsp + 0x42], dil
mov r15b, dil
mov byte [rsp + 0x41], dil
jne 0x14001e3ad
lea r14d, [rsi + 2]
lea rax, [rdx + 2]
lea rcx, [0x1400f1860]
mov r8d, ebp
cmp word [rax], 0x2d
cmove rdx, rax
mov qword [rsp + 0x118], rdx
lea rdx, [rsp + 0x118]
call fcn.14005a964
cmp al, dil
jne 0x14001e3a8
lea rdx, [rsp + 0x118]
lea rcx, str._simpleprogress
mov r8d, 0xf
call fcn.14005a964
cmp al, dil
je 0x14001e213
mov esi, 0x100
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, str._progress
mov r8d, 9
call fcn.14005a964
cmp al, dil
je 0x14001e23a
mov si, di
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, [0x1400f3a90]
mov r8d, 5
call fcn.14005a964
cmp al, dil
je 0x14001e261
mov r13b, bpl
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, [0x1400f3a8c]
mov r8d, 2
call fcn.14005a964
cmp al, dil
je 0x14001e28d
mov byte [rsp + 0x128], bpl
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, [0x1400f3a84]
mov r8d, r14d
call fcn.14005a964
cmp al, dil
je 0x14001e2b5
mov dword [rsp + 0x120], ebp
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, [0x1400f3a80]
mov r8d, r12d
call fcn.14005a964
cmp al, dil
je 0x14001e2dc
mov r15b, 0x10
or r13b, r15b
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, [0x1400f3a7c]
mov r8d, 2
call fcn.14005a964
cmp al, dil
je 0x14001e305
mov byte [rsp + 0x40], 0x10
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, str._delme
mov r8d, r14d
call fcn.14005a964
cmp al, dil
je 0x14001e325
mov bl, 0x10
jmp 0x14001e396
lea rdx, [rsp + 0x118]
lea rcx, [0x1400f3a70]
mov r8d, r12d
call fcn.14005a964
cmp al, dil
je 0x14001e34b
mov r13b, 2
mov byte [rsp + 0x42], r13b
jmp 0x14001e396
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx]
cmp ax, di
je 0x14001e389
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x14001e36f
cmp ax, 0xd
jbe 0x14001e389
cmp r8w, ax
je 0x14001e389
add rcx, 2
mov qword [rsp + 0x118], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x14001e364
lea rcx, [rsp + 0x118]
call fcn.140014d78
mov rdx, qword [rsp + 0x118]
cmp word [rdx], 0x2d
je 0x14001e1b6
mov byte [rsp + 0x41], r15b
lea rcx, [rsp + 0x118]
call fcn.140014d78
cmp bl, dil
je 0x14001e40c
lea rdx, str.23:INDATA
lea rcx, [rsp + 0x128]
call fcn.140062680
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x128]
call fcn.1400582c8
mov rdx, qword [rsp + 0x128]
lea rcx, [0x14010df00]
call fcn.140043954
lea rcx, [rsp + 0x128]
mov rbx, rax
jmp 0x14001ea22
mov rcx, qword [rsp + 0x118]
cmp word [rcx], di
jne 0x14001e425
mov rax, 0xffffffff80070057
jmp 0x14001ea2a
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rbp + rax]
lea ecx, [rbx + rbx + 4]
movsxd rdx, ecx
lea rcx, [rsp + 0x88]
call fcn.140058200
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x88]
movsxd r11, ebx
add r11, r11
mov r8, r11
call fcn.14001aac4
mov rcx, qword [rsp + 0x88]
xor edx, edx
mov qword [rsp + 0x118], rcx
mov word [r11 + rcx], di
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x30]
mov qword [rsp + 0x50], rdi
call fcn.1400d4180
lea rcx, [rsp + 0x118]
call fcn.140014d78
mov rbx, qword [rsp + 0x118]
mov eax, 0x610
or si, ax
mov dword [rsp + 0x58], r12d
lea rcx, [rsp + 0x90]
mov word [rsp + 0x70], si
mov qword [rsp + 0x60], rbx
mov ebp, edi
mov rsi, rbx
mov r12b, dil
call fcn.14005818c
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
call fcn.14005818c
lea rcx, [rsp + 0x90]
mov edx, 0xa
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rdi
lea r14, [rsp + 0x90]
call fcn.14005828c
lea rcx, [rsp + 0xa8]
mov edx, 0xa
call fcn.14005828c
movzx r11d, word [rbx]
cmp r11w, di
je 0x14001e66f
mov al, byte [rsp + 0x128]
mov r15d, 0x20
cmp al, dil
je 0x14001e5a1
cmp r11w, 0x3b
jne 0x14001e5a1
mov word [rbx], di
add rbx, 2
mov qword [rsp + 0x48], rbx
cmp word [rsi], di
je 0x14001e578
cmp r12b, dil
jne 0x14001e56a
mov r8b, 1
cmp r13b, dil
jne 0x14001e56d
mov r8b, dil
mov rdx, rsi
mov rcx, r14
call fcn.14001ddd0
lea rcx, [rsp + 0x48]
call fcn.140014d78
mov rbx, qword [rsp + 0x48]
mov al, byte [rsp + 0x128]
mov rsi, rbx
cmp r12b, dil
je 0x14001e658
inc ebp
jmp 0x14001e658
cmp r11w, 0x3e
jne 0x14001e658
cmp word [rbx - 2], 0x3d
jne 0x14001e5bd
mov dword [rsp + 0x58], 2
jmp 0x14001e5e1
cmp word [rbx - 2], 0x2d
jne 0x14001e5ce
mov dword [rsp + 0x58], 1
jmp 0x14001e5e1
cmp word [rbx + 2], 0x3e
jne 0x14001e5e1
add rbx, 2
mov dword [rsp + 0x58], 4
lea rax, [rbx - 4]
cmp rax, rsi
jb 0x14001e60c
mov ecx, 9
cmp cx, word [rax]
ja 0x14001e5fa
cmp word [rax], 0xd
jbe 0x14001e600
cmp r15w, word [rax]
jne 0x14001e60c
mov word [rax], di
sub rax, 2
cmp rax, rsi
jae 0x14001e5ef
mov word [rbx - 2], di
mov word [rbx], di
lea rcx, [rsp + 0x48]
add rbx, 2
mov qword [rsp + 0x48], rbx
call fcn.140014d78
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rbx
cmp word [rsi], di
je 0x14001e643
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14001ddd0
mov al, byte [rsp + 0x128]
mov rsi, rbx
mov r12b, 1
lea r14, [rsp + 0xa8]
add rbx, 2
mov r11w, word [rbx]
cmp r11w, di
jne 0x14001e540
mov r15b, byte [rsp + 0x41]
cmp word [rsi], di
je 0x14001e690
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14001ddd0
mov esi, 1
cmp r12b, dil
je 0x14001e695
add ebp, esi
jmp 0x14001e695
mov esi, 1
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x90]
cmp ebp, edi
mov word [rax + rcx*2], di
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa8]
mov word [rax + rcx*2], di
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x68]
cmovg rax, qword [rsp + 0xa8]
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11d, dword [rsp + 0x58]
cmp dword [rsp + 0x120], edi
je 0x14001e715
cmp r11d, 3
jne 0x14001e715
movsx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
call fcn.14001dec8
mov rbx, rax
jmp 0x14001ea00
cmp r13b, dil
je 0x14001e95b
cmp byte [rsp + 0x42], dil
je 0x14001e749
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, esi
je 0x14001e741
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
mov rbx, rdi
jmp 0x14001ea00
cmp r11d, 3
jne 0x14001e889
cmp r15b, dil
je 0x14001e879
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rdi
lea r12d, [r11 + 4]
mov ebp, 0x6000080
mov r13d, 0x80000000
lea rcx, [rsp + 0x128]
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r11d
mov r9d, r12d
mov r8d, r13d
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x20], rdi
call fcn.140003568
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, rdi
jne 0x14001e7d8
cmp eax, 2
jne 0x14001e860
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001e7ce
cmp rcx, 0xffffffffffffffff
je 0x14001e7ce
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 2
jmp 0x14001ea00
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001e7f1
cmp rcx, 0xffffffffffffffff
je 0x14001e7f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x128]
mov r9d, r12d
mov r8d, r13d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x20], rdi
call fcn.140003568
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, rdi
jne 0x14001e860
cmp eax, 2
jne 0x14001e860
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001e741
cmp rcx, 0xffffffffffffffff
je 0x14001e741
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001e741
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001e879
cmp rcx, 0xffffffffffffffff
je 0x14001e879
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001e730
cmp r11d, 2
jne 0x14001e941
cmp r15b, dil
je 0x14001e929
lea rdx, str.__dd__bs8M__
lea rcx, [rsp + 0x128]
call fcn.140062680
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.1400582c8
lea rdx, str.__0__
lea rcx, [rsp + 0x128]
call fcn.1400582c8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x128]
call fcn.1400582c8
lea rdx, [0x1400f077c]
lea rcx, [rsp + 0x128]
call fcn.1400582c8
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x110]
xor r8d, r8d
call fcn.1400b0614
lea rcx, [rsp + 0x128]
mov rbx, rax
call fcn.14005041c
jmp 0x14001ea00
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x14001e730
cmp r11d, esi
jne 0x14001e95b
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14001e730
cmp r11d, 4
jne 0x14001e9e8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140062680
mov rcx, qword [rsp + 0x48]
call fcn.14005556c
cmp rax, rdi
jne 0x14001e98a
mov rax, qword [rsp + 0x48]
jmp 0x14001e98e
add rax, 2
mov word [rax], di
mov rcx, qword [rsp + 0x68]
call fcn.14005556c
cmp rax, rdi
jne 0x14001e9a7
mov rax, qword [rsp + 0x68]
jmp 0x14001e9ab
add rax, 2
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.1400582c8
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, esi
je 0x14001e9d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
lea rcx, [rsp + 0x48]
call fcn.14005041c
jmp 0x14001e741
cmp ebp, 2
jl 0x14001e9f2
or word [rsp + 0x70], si
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
movsxd rbx, eax
lea rcx, [rsp + 0xa8]
call fcn.14005041c
lea rcx, [rsp + 0x90]
call fcn.14005041c
lea rcx, [rsp + 0x88]
call fcn.14005041c
mov rax, rbx
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret