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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
xor edi, edi
mov esi, 4
mov r15d, r8d
lea ebp, [rsi - 3]
lea r12d, [rsi - 1]
lea r13d, [rsi + 2]
mov r14b, dil
mov byte [rsp + 0x128], dil
mov byte [rsp + 0x43], dil
mov bl, dil
mov byte [rsp + 0x42], dil
mov byte [rsp + 0x40], dil
mov byte [rsp + 0x41], dil
jmp 0x14003b0b9
lea rax, [rdx + 2]
lea rcx, [0x140115ccc]
mov r8d, ebp
cmp word [rax], 0x2d
cmove rdx, rax
mov qword [rsp + 0x118], rdx
lea rdx, [rsp + 0x118]
call fcn.140064324
cmp al, dil
jne 0x14003b0c3
lea rdx, [rsp + 0x118]
lea rcx, str._simpleprogress
mov r8d, 0xf
call fcn.140064324
cmp al, dil
je 0x14003aee2
mov esi, 0x100
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, str._progress
mov r8d, 9
call fcn.140064324
cmp al, dil
je 0x14003af09
mov si, di
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e84]
mov r8d, 5
call fcn.140064324
cmp al, dil
je 0x14003af30
mov r14b, bpl
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e80]
mov r8d, 2
call fcn.140064324
cmp al, dil
je 0x14003af5c
mov byte [rsp + 0x128], bpl
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, str._forceq
mov r8d, 7
call fcn.140064324
cmp al, dil
je 0x14003af83
mov r15d, r12d
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e6c]
mov r8d, r13d
call fcn.140064324
cmp al, dil
je 0x14003afa7
mov r15d, ebp
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e68]
mov r8d, r12d
call fcn.140064324
cmp al, dil
je 0x14003afd1
mov byte [rsp + 0x40], 0x10
or r14b, 0x10
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e64]
mov r8d, 2
call fcn.140064324
cmp al, dil
je 0x14003affa
mov byte [rsp + 0x43], 0x10
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, str._delme
mov r8d, r13d
call fcn.140064324
cmp al, dil
je 0x14003b01d
mov bl, 0x10
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e58]
mov r8d, r12d
call fcn.140064324
cmp al, dil
je 0x14003b043
mov r14b, 2
mov byte [rsp + 0x42], r14b
jmp 0x14003b0b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e50]
mov r8d, r13d
call fcn.140064324
cmp al, dil
je 0x14003b066
mov byte [rsp + 0x41], bpl
jmp 0x14003b0b1
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx]
cmp ax, di
je 0x14003b0a4
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x14003b08a
cmp ax, 0xd
jbe 0x14003b0a4
cmp r8w, ax
je 0x14003b0a4
add rcx, 2
mov qword [rsp + 0x118], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x14003b07f
lea rcx, [rsp + 0x118]
call fcn.140016e28
mov rdx, qword [rsp + 0x118]
cmp word [rdx], 0x2d
je 0x14003ae85
lea rcx, [rsp + 0x118]
call fcn.140016e28
cmp bl, dil
je 0x14003b12a
lea rdx, str.23:INDATA
lea rcx, [rsp + 0x128]
call fcn.14006d808
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x128]
call fcn.140061a04
mov rdx, qword [rsp + 0x128]
lea rcx, [0x1401340d0]
call fcn.140030dc4
lea rcx, [rsp + 0x128]
mov rbx, rax
call fcn.1400592f8
mov rax, rbx
jmp 0x14003b788
mov rcx, qword [rsp + 0x118]
cmp word [rcx], di
jne 0x14003b143
mov rax, 0xffffffff80070057
jmp 0x14003b788
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [rbp + rax]
lea ecx, [rbx + rbx + 4]
movsxd rdx, ecx
lea rcx, [rsp + 0x90]
call fcn.14006193c
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x90]
movsxd r11, ebx
add r11, r11
mov r8, r11
call fcn.14001d310
mov rcx, qword [rsp + 0x90]
xor edx, edx
mov qword [rsp + 0x118], rcx
mov word [r11 + rcx], di
lea rcx, [rsp + 0x60]
lea r8d, [rdx + 0x30]
mov qword [rsp + 0x58], rdi
call fcn.1400fa680
lea rcx, [rsp + 0x118]
call fcn.140016e28
mov rbx, qword [rsp + 0x118]
mov eax, 0x610
or si, ax
mov dword [rsp + 0x60], r12d
lea rcx, [rsp + 0x98]
mov word [rsp + 0x78], si
mov qword [rsp + 0x68], rbx
mov ebp, edi
mov rsi, rbx
mov dword [rsp + 0x50], edi
mov r12b, dil
call fcn.1400618c8
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rdi
call fcn.1400618c8
lea rcx, [rsp + 0x98]
mov edx, 0xa
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rdi
lea r13, [rsp + 0x98]
call fcn.1400619c8
lea rcx, [rsp + 0xb0]
mov edx, 0xa
call fcn.1400619c8
movzx r11d, word [rbx]
cmp r11w, di
je 0x14003b390
mov al, byte [rsp + 0x128]
cmp al, dil
je 0x14003b2c1
cmp r11w, 0x3b
jne 0x14003b2c1
mov word [rbx], di
add rbx, 2
mov qword [rsp + 0x48], rbx
cmp word [rsi], di
je 0x14003b294
cmp r12b, dil
jne 0x14003b286
mov r8b, 1
cmp r14b, dil
jne 0x14003b289
mov r8b, dil
mov rdx, rsi
mov rcx, r13
call fcn.140021360
lea rcx, [rsp + 0x48]
call fcn.140016e28
mov rbx, qword [rsp + 0x48]
mov al, byte [rsp + 0x128]
mov rsi, rbx
cmp r12b, dil
je 0x14003b37e
inc ebp
mov dword [rsp + 0x50], ebp
jmp 0x14003b37e
cmp r11w, 0x3e
jne 0x14003b37e
cmp word [rbx - 2], 0x3d
jne 0x14003b2dd
mov dword [rsp + 0x60], 2
jmp 0x14003b301
cmp word [rbx - 2], 0x2d
jne 0x14003b2ee
mov dword [rsp + 0x60], 1
jmp 0x14003b301
cmp word [rbx + 2], 0x3e
jne 0x14003b301
add rbx, 2
mov dword [rsp + 0x60], 4
lea rax, [rbx - 4]
cmp rax, rsi
jb 0x14003b332
mov ecx, 9
lea ebp, [rcx + 0x17]
cmp cx, word [rax]
ja 0x14003b31d
cmp word [rax], 0xd
jbe 0x14003b322
cmp bp, word [rax]
jne 0x14003b32e
mov word [rax], di
sub rax, 2
cmp rax, rsi
jae 0x14003b312
mov ebp, dword [rsp + 0x50]
mov word [rbx - 2], di
mov word [rbx], di
lea rcx, [rsp + 0x48]
add rbx, 2
mov qword [rsp + 0x48], rbx
call fcn.140016e28
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x70], rbx
cmp word [rsi], di
je 0x14003b369
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.140021360
mov al, byte [rsp + 0x128]
mov rsi, rbx
mov r12b, 1
lea r13, [rsp + 0xb0]
add rbx, 2
mov r11w, word [rbx]
cmp r11w, di
jne 0x14003b25c
cmp word [rsi], di
je 0x14003b3b1
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.140021360
mov esi, 1
cmp r12b, dil
je 0x14003b3b6
add ebp, esi
jmp 0x14003b3b6
mov esi, 1
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x98]
cmp ebp, edi
mov word [rax + rcx*2], di
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
mov word [rax + rcx*2], di
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
cmovg rax, qword [rsp + 0xb0]
xor ecx, ecx
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r11d, dword [rsp + 0x60]
cmp r15d, edi
je 0x14003b44b
cmp r11d, 3
jne 0x14003b44b
test r15b, 2
je 0x14003b431
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp eax, edi
je 0x14003b75e
movsx edx, byte [rsp + 0x43]
mov rcx, qword [rsp + 0x98]
call fcn.140021458
mov rdi, rax
jmp 0x14003b75e
cmp byte [rsp + 0x41], dil
je 0x14003b48f
mov rdx, qword [rsp + 0x70]
cmp rdx, rdi
je 0x14003b461
cmp word [rdx], di
jne 0x14003b464
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
mov r8d, 6
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, esi
je 0x14003b75e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
jmp 0x14003b75e
cmp r14b, dil
je 0x14003b6c2
cmp byte [rsp + 0x42], dil
je 0x14003b4ac
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14003b475
cmp r11d, 3
jne 0x14003b5ee
cmp byte [rsp + 0x40], dil
je 0x14003b5de
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rdi
lea r13d, [r11 + 4]
mov ebp, 0x6000080
mov r12d, 0x80000000
lea rcx, [rsp + 0x128]
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r11d
mov r9d, r13d
mov r8d, r12d
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x20], rdi
call fcn.140003798
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, rdi
jne 0x14003b53d
cmp eax, 2
jne 0x14003b5c5
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b533
cmp rcx, 0xffffffffffffffff
je 0x14003b533
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 2
jmp 0x14003b75e
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b556
cmp rcx, 0xffffffffffffffff
je 0x14003b556
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ebp
lea rcx, [rsp + 0x128]
mov r9d, r13d
mov r8d, r12d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x128], rdi
mov qword [rsp + 0x20], rdi
call fcn.140003798
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, rdi
jne 0x14003b5c5
cmp eax, 2
jne 0x14003b5c5
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b75e
cmp rcx, 0xffffffffffffffff
je 0x14003b75e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003b75e
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b5de
cmp rcx, 0xffffffffffffffff
je 0x14003b5de
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14003b475
cmp r11d, 2
jne 0x14003b6a8
cmp byte [rsp + 0x40], dil
je 0x14003b690
lea rdx, str.__dd__bs8M__
lea rcx, [rsp + 0x128]
call fcn.14006d808
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x128]
call fcn.140061a04
lea rdx, str.__0__
lea rcx, [rsp + 0x128]
call fcn.140061a04
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.140061a04
lea rdx, [0x1401148a4]
lea rcx, [rsp + 0x128]
call fcn.140061a04
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x110]
xor r8d, r8d
call fcn.1400a5ad8
lea rcx, [rsp + 0x128]
mov rdi, rax
call fcn.1400592f8
jmp 0x14003b75e
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x14003b475
cmp r11d, esi
jne 0x14003b6c2
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x14003b475
cmp r11d, 4
jne 0x14003b746
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14006d808
mov rcx, qword [rsp + 0x48]
call fcn.14005e5b4
cmp rax, rdi
jne 0x14003b6ed
mov rax, qword [rsp + 0x48]
jmp 0x14003b6f1
add rax, 2
mov word [rax], di
mov rcx, qword [rsp + 0x70]
call fcn.14005e5b4
cmp rax, rdi
jne 0x14003b70a
mov rax, qword [rsp + 0x70]
jmp 0x14003b70e
add rax, 2
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.140061a04
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, esi
je 0x14003b73c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
lea rcx, [rsp + 0x48]
jmp 0x14003b686
cmp ebp, 2
jl 0x14003b750
or word [rsp + 0x78], si
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
movsxd rdi, eax
lea rcx, [rsp + 0xb0]
call fcn.1400592f8
lea rcx, [rsp + 0x98]
call fcn.1400592f8
lea rcx, [rsp + 0x90]
call fcn.1400592f8
mov rax, rdi
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret