Function at 0x14003a128
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 0x14003a3b9
lea rax, [rdx + 2]
lea rcx, [0x14010eb9c]
mov r8d, ebp
cmp word [rax], 0x2d
cmove rdx, rax
mov qword [rsp + 0x118], rdx
lea rdx, [rsp + 0x118]
call fcn.1400623c0
cmp al, dil
jne 0x14003a3c3
lea rdx, [rsp + 0x118]
lea rcx, [0x140112d20]
mov r8d, 0xf
call fcn.1400623c0
cmp al, dil
je 0x14003a1e2
mov esi, 0x100
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112d10]
mov r8d, 9
call fcn.1400623c0
cmp al, dil
je 0x14003a209
mov si, di
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112d04]
mov r8d, 5
call fcn.1400623c0
cmp al, dil
je 0x14003a230
mov r14b, bpl
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112d00]
mov r8d, 2
call fcn.1400623c0
cmp al, dil
je 0x14003a25c
mov byte [rsp + 0x128], bpl
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112cf8]
mov r8d, 7
call fcn.1400623c0
cmp al, dil
je 0x14003a283
mov r15d, r12d
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112cec]
mov r8d, r13d
call fcn.1400623c0
cmp al, dil
je 0x14003a2a7
mov r15d, ebp
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112ce8]
mov r8d, r12d
call fcn.1400623c0
cmp al, dil
je 0x14003a2d1
mov byte [rsp + 0x40], 0x10
or r14b, 0x10
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112ce4]
mov r8d, 2
call fcn.1400623c0
cmp al, dil
je 0x14003a2fa
mov byte [rsp + 0x43], 0x10
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112cdc]
mov r8d, r13d
call fcn.1400623c0
cmp al, dil
je 0x14003a31d
mov bl, 0x10
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112cd8]
mov r8d, r12d
call fcn.1400623c0
cmp al, dil
je 0x14003a343
mov r14b, 2
mov byte [rsp + 0x42], r14b
jmp 0x14003a3b1
lea rdx, [rsp + 0x118]
lea rcx, [0x140112cd0]
mov r8d, r13d
call fcn.1400623c0
cmp al, dil
je 0x14003a366
mov byte [rsp + 0x41], bpl
jmp 0x14003a3b1
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx]
cmp ax, di
je 0x14003a3a4
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x14003a38a
cmp ax, 0xd
jbe 0x14003a3a4
cmp r8w, ax
je 0x14003a3a4
add rcx, 2
mov qword [rsp + 0x118], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x14003a37f
lea rcx, [rsp + 0x118]
call fcn.14001651c
mov rdx, qword [rsp + 0x118]
cmp word [rdx], 0x2d
je 0x14003a185
lea rcx, [rsp + 0x118]
call fcn.14001651c
cmp bl, dil
je 0x14003a42a
lea rdx, [0x140112cb8]
lea rcx, [rsp + 0x128]
call fcn.14006ac98
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x128]
call fcn.14005fb54
mov rdx, qword [rsp + 0x128]
lea rcx, [0x14012d0c0]
call fcn.1400300d0
lea rcx, [rsp + 0x128]
mov rbx, rax
call fcn.140057768
mov rax, rbx
jmp 0x14003aa88
mov rcx, qword [rsp + 0x118]
cmp word [rcx], di
jne 0x14003a443
mov rax, 0xffffffff80070057
jmp 0x14003aa88
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.14005fa8c
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x90]
movsxd r11, ebx
add r11, r11
mov r8, r11
call fcn.14001c8fc
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.1400f3900
lea rcx, [rsp + 0x118]
call fcn.14001651c
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.14005fa18
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rdi
call fcn.14005fa18
lea rcx, [rsp + 0x98]
mov edx, 0xa
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rdi
lea r13, [rsp + 0x98]
call fcn.14005fb18
lea rcx, [rsp + 0xb0]
mov edx, 0xa
call fcn.14005fb18
movzx r11d, word [rbx]
cmp r11w, di
je 0x14003a690
mov al, byte [rsp + 0x128]
cmp al, dil
je 0x14003a5c1
cmp r11w, 0x3b
jne 0x14003a5c1
mov word [rbx], di
add rbx, 2
mov qword [rsp + 0x48], rbx
cmp word [rsi], di
je 0x14003a594
cmp r12b, dil
jne 0x14003a586
mov r8b, 1
cmp r14b, dil
jne 0x14003a589
mov r8b, dil
mov rdx, rsi
mov rcx, r13
call fcn.1400207f4
lea rcx, [rsp + 0x48]
call fcn.14001651c
mov rbx, qword [rsp + 0x48]
mov al, byte [rsp + 0x128]
mov rsi, rbx
cmp r12b, dil
je 0x14003a67e
inc ebp
mov dword [rsp + 0x50], ebp
jmp 0x14003a67e
cmp r11w, 0x3e
jne 0x14003a67e
cmp word [rbx - 2], 0x3d
jne 0x14003a5dd
mov dword [rsp + 0x60], 2
jmp 0x14003a601
cmp word [rbx - 2], 0x2d
jne 0x14003a5ee
mov dword [rsp + 0x60], 1
jmp 0x14003a601
cmp word [rbx + 2], 0x3e
jne 0x14003a601
add rbx, 2
mov dword [rsp + 0x60], 4
lea rax, [rbx - 4]
cmp rax, rsi
jb 0x14003a632
mov ecx, 9
lea ebp, [rcx + 0x17]
cmp cx, word [rax]
ja 0x14003a61d
cmp word [rax], 0xd
jbe 0x14003a622
cmp bp, word [rax]
jne 0x14003a62e
mov word [rax], di
sub rax, 2
cmp rax, rsi
jae 0x14003a612
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.14001651c
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x70], rbx
cmp word [rsi], di
je 0x14003a669
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1400207f4
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 0x14003a55c
cmp word [rsi], di
je 0x14003a6b1
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1400207f4
mov esi, 1
cmp r12b, dil
je 0x14003a6b6
add ebp, esi
jmp 0x14003a6b6
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 0x14003a74b
cmp r11d, 3
jne 0x14003a74b
test r15b, 2
je 0x14003a731
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.DLL_SHFileOperationW]
cmp eax, edi
je 0x14003aa5e
movsx edx, byte [rsp + 0x43]
mov rcx, qword [rsp + 0x98]
call fcn.1400208ec
mov rdi, rax
jmp 0x14003aa5e
cmp byte [rsp + 0x41], dil
je 0x14003a78f
mov rdx, qword [rsp + 0x70]
cmp rdx, rdi
je 0x14003a761
cmp word [rdx], di
jne 0x14003a764
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
mov r8d, 6
call qword [sym.imp.KERNEL32.DLL_MoveFileExW]
cmp eax, esi
je 0x14003aa5e
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
jmp 0x14003aa5e
cmp r14b, dil
je 0x14003a9c2
cmp byte [rsp + 0x42], dil
je 0x14003a7ac
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x14003a775
cmp r11d, 3
jne 0x14003a8ee
cmp byte [rsp + 0x40], dil
je 0x14003a8de
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.1400037e8
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, rdi
jne 0x14003a83d
cmp eax, 2
jne 0x14003a8c5
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003a833
cmp rcx, 0xffffffffffffffff
je 0x14003a833
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, 2
jmp 0x14003aa5e
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003a856
cmp rcx, 0xffffffffffffffff
je 0x14003a856
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.1400037e8
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, rdi
jne 0x14003a8c5
cmp eax, 2
jne 0x14003a8c5
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003aa5e
cmp rcx, 0xffffffffffffffff
je 0x14003aa5e
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14003aa5e
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003a8de
cmp rcx, 0xffffffffffffffff
je 0x14003a8de
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x14003a775
cmp r11d, 2
jne 0x14003a9a8
cmp byte [rsp + 0x40], dil
je 0x14003a990
lea rdx, [0x140112c98]
lea rcx, [rsp + 0x128]
call fcn.14006ac98
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x128]
call fcn.14005fb54
lea rdx, [0x140112c88]
lea rcx, [rsp + 0x128]
call fcn.14005fb54
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.14005fb54
lea rdx, [0x14010d814]
lea rcx, [rsp + 0x128]
call fcn.14005fb54
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x110]
xor r8d, r8d
call fcn.1400a0590
lea rcx, [rsp + 0x128]
mov rdi, rax
call fcn.140057768
jmp 0x14003aa5e
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x14003a775
cmp r11d, esi
jne 0x14003a9c2
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x14003a775
cmp r11d, 4
jne 0x14003aa46
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14006ac98
mov rcx, qword [rsp + 0x48]
call fcn.14005c8c0
cmp rax, rdi
jne 0x14003a9ed
mov rax, qword [rsp + 0x48]
jmp 0x14003a9f1
add rax, 2
mov word [rax], di
mov rcx, qword [rsp + 0x70]
call fcn.14005c8c0
cmp rax, rdi
jne 0x14003aa0a
mov rax, qword [rsp + 0x70]
jmp 0x14003aa0e
add rax, 2
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.14005fb54
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
cmp eax, esi
je 0x14003aa3c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
lea rcx, [rsp + 0x48]
jmp 0x14003a986
cmp ebp, 2
jl 0x14003aa50
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.140057768
lea rcx, [rsp + 0x98]
call fcn.140057768
lea rcx, [rsp + 0x90]
call fcn.140057768
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