Function at 0x14001f5b4
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 0x14001f809
lea r14d, [rsi + 2]
lea rax, [rdx + 2]
lea rcx, [0x1400fa940]
mov r8d, ebp
cmp word [rax], 0x2d
cmove rdx, rax
mov qword [rsp + 0x118], rdx
lea rdx, [rsp + 0x118]
call fcn.14005c928
cmp al, dil
jne 0x14001f804
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd98]
mov r8d, 0xf
call fcn.14005c928
cmp al, dil
je 0x14001f66f
mov esi, 0x100
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd88]
mov r8d, 9
call fcn.14005c928
cmp al, dil
je 0x14001f696
mov si, di
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd80]
mov r8d, 5
call fcn.14005c928
cmp al, dil
je 0x14001f6bd
mov r13b, bpl
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd7c]
mov r8d, 2
call fcn.14005c928
cmp al, dil
je 0x14001f6e9
mov byte [rsp + 0x128], bpl
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd74]
mov r8d, r14d
call fcn.14005c928
cmp al, dil
je 0x14001f711
mov dword [rsp + 0x120], ebp
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd70]
mov r8d, r12d
call fcn.14005c928
cmp al, dil
je 0x14001f738
mov r15b, 0x10
or r13b, r15b
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd6c]
mov r8d, 2
call fcn.14005c928
cmp al, dil
je 0x14001f761
mov byte [rsp + 0x40], 0x10
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd64]
mov r8d, r14d
call fcn.14005c928
cmp al, dil
je 0x14001f781
mov bl, 0x10
jmp 0x14001f7f2
lea rdx, [rsp + 0x118]
lea rcx, [0x1400fcd60]
mov r8d, r12d
call fcn.14005c928
cmp al, dil
je 0x14001f7a7
mov r13b, 2
mov byte [rsp + 0x42], r13b
jmp 0x14001f7f2
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx]
cmp ax, di
je 0x14001f7e5
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x14001f7cb
cmp ax, 0xd
jbe 0x14001f7e5
cmp r8w, ax
je 0x14001f7e5
add rcx, 2
mov qword [rsp + 0x118], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x14001f7c0
lea rcx, [rsp + 0x118]
call fcn.1400157dc
mov rdx, qword [rsp + 0x118]
cmp word [rdx], 0x2d
je 0x14001f612
mov byte [rsp + 0x41], r15b
lea rcx, [rsp + 0x118]
call fcn.1400157dc
cmp bl, dil
je 0x14001f868
lea rdx, [0x1400fcd48]
lea rcx, [rsp + 0x128]
call fcn.140064d14
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x128]
call fcn.14005a28c
mov rdx, qword [rsp + 0x128]
lea rcx, [0x140117fa0]
call fcn.140045210
lea rcx, [rsp + 0x128]
mov rbx, rax
jmp 0x14001fe7e
mov rcx, qword [rsp + 0x118]
cmp word [rcx], di
jne 0x14001f881
mov rax, 0xffffffff80070057
jmp 0x14001fe86
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.14005a1c4
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x88]
movsxd r11, ebx
add r11, r11
mov r8, r11
call fcn.14001b7a8
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.1400dd9e0
lea rcx, [rsp + 0x118]
call fcn.1400157dc
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.14005a150
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xa0], rdi
call fcn.14005a150
lea rcx, [rsp + 0x90]
mov edx, 0xa
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rdi
lea r14, [rsp + 0x90]
call fcn.14005a250
lea rcx, [rsp + 0xa8]
mov edx, 0xa
call fcn.14005a250
movzx r11d, word [rbx]
cmp r11w, di
je 0x14001facb
mov al, byte [rsp + 0x128]
mov r15d, 0x20
cmp al, dil
je 0x14001f9fd
cmp r11w, 0x3b
jne 0x14001f9fd
mov word [rbx], di
add rbx, 2
mov qword [rsp + 0x48], rbx
cmp word [rsi], di
je 0x14001f9d4
cmp r12b, dil
jne 0x14001f9c6
mov r8b, 1
cmp r13b, dil
jne 0x14001f9c9
mov r8b, dil
mov rdx, rsi
mov rcx, r14
call fcn.14001f22c
lea rcx, [rsp + 0x48]
call fcn.1400157dc
mov rbx, qword [rsp + 0x48]
mov al, byte [rsp + 0x128]
mov rsi, rbx
cmp r12b, dil
je 0x14001fab4
inc ebp
jmp 0x14001fab4
cmp r11w, 0x3e
jne 0x14001fab4
cmp word [rbx - 2], 0x3d
jne 0x14001fa19
mov dword [rsp + 0x58], 2
jmp 0x14001fa3d
cmp word [rbx - 2], 0x2d
jne 0x14001fa2a
mov dword [rsp + 0x58], 1
jmp 0x14001fa3d
cmp word [rbx + 2], 0x3e
jne 0x14001fa3d
add rbx, 2
mov dword [rsp + 0x58], 4
lea rax, [rbx - 4]
cmp rax, rsi
jb 0x14001fa68
mov ecx, 9
cmp cx, word [rax]
ja 0x14001fa56
cmp word [rax], 0xd
jbe 0x14001fa5c
cmp r15w, word [rax]
jne 0x14001fa68
mov word [rax], di
sub rax, 2
cmp rax, rsi
jae 0x14001fa4b
mov word [rbx - 2], di
mov word [rbx], di
lea rcx, [rsp + 0x48]
add rbx, 2
mov qword [rsp + 0x48], rbx
call fcn.1400157dc
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x68], rbx
cmp word [rsi], di
je 0x14001fa9f
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14001f22c
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 0x14001f99c
mov r15b, byte [rsp + 0x41]
cmp word [rsi], di
je 0x14001faec
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.14001f22c
mov esi, 1
cmp r12b, dil
je 0x14001faf1
add ebp, esi
jmp 0x14001faf1
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 0x14001fb71
cmp r11d, 3
jne 0x14001fb71
movsx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x90]
call fcn.14001f324
mov rbx, rax
jmp 0x14001fe5c
cmp r13b, dil
je 0x14001fdb7
cmp byte [rsp + 0x42], dil
je 0x14001fba5
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
cmp eax, esi
je 0x14001fb9d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
mov rbx, rdi
jmp 0x14001fe5c
cmp r11d, 3
jne 0x14001fce5
cmp r15b, dil
je 0x14001fcd5
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.1400037e4
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, rdi
jne 0x14001fc34
cmp eax, 2
jne 0x14001fcbc
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001fc2a
cmp rcx, 0xffffffffffffffff
je 0x14001fc2a
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, 2
jmp 0x14001fe5c
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001fc4d
cmp rcx, 0xffffffffffffffff
je 0x14001fc4d
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.1400037e4
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, rdi
jne 0x14001fcbc
cmp eax, 2
jne 0x14001fcbc
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001fb9d
cmp rcx, 0xffffffffffffffff
je 0x14001fb9d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14001fb9d
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14001fcd5
cmp rcx, 0xffffffffffffffff
je 0x14001fcd5
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x14001fb8c
cmp r11d, 2
jne 0x14001fd9d
cmp r15b, dil
je 0x14001fd85
lea rdx, [0x1400fcd28]
lea rcx, [rsp + 0x128]
call fcn.140064d14
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.14005a28c
lea rdx, [0x1400fcd18]
lea rcx, [rsp + 0x128]
call fcn.14005a28c
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x128]
call fcn.14005a28c
lea rdx, [0x1400f97c4]
lea rcx, [rsp + 0x128]
call fcn.14005a28c
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x110]
xor r8d, r8d
call fcn.1400951dc
lea rcx, [rsp + 0x128]
mov rbx, rax
call fcn.140052160
jmp 0x14001fe5c
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x14001fb8c
cmp r11d, esi
jne 0x14001fdb7
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x14001fb8c
cmp r11d, 4
jne 0x14001fe44
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140064d14
mov rcx, qword [rsp + 0x48]
call fcn.140057324
cmp rax, rdi
jne 0x14001fde6
mov rax, qword [rsp + 0x48]
jmp 0x14001fdea
add rax, 2
mov word [rax], di
mov rcx, qword [rsp + 0x68]
call fcn.140057324
cmp rax, rdi
jne 0x14001fe03
mov rax, qword [rsp + 0x68]
jmp 0x14001fe07
add rax, 2
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.14005a28c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
cmp eax, esi
je 0x14001fe35
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
lea rcx, [rsp + 0x48]
call fcn.140052160
jmp 0x14001fb9d
cmp ebp, 2
jl 0x14001fe4e
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.140052160
lea rcx, [rsp + 0x90]
call fcn.140052160
lea rcx, [rsp + 0x88]
call fcn.140052160
mov rax, rbx
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret