Function at 0x14003aea0
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 0x14003b131
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.14006439c
cmp al, dil
jne 0x14003b13b
lea rdx, [rsp + 0x118]
lea rcx, [0x140119ea0]
mov r8d, 0xf
call fcn.14006439c
cmp al, dil
je 0x14003af5a
mov esi, 0x100
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e90]
mov r8d, 9
call fcn.14006439c
cmp al, dil
je 0x14003af81
mov si, di
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e84]
mov r8d, 5
call fcn.14006439c
cmp al, dil
je 0x14003afa8
mov r14b, bpl
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e80]
mov r8d, 2
call fcn.14006439c
cmp al, dil
je 0x14003afd4
mov byte [rsp + 0x128], bpl
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e78]
mov r8d, 7
call fcn.14006439c
cmp al, dil
je 0x14003affb
mov r15d, r12d
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e6c]
mov r8d, r13d
call fcn.14006439c
cmp al, dil
je 0x14003b01f
mov r15d, ebp
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e68]
mov r8d, r12d
call fcn.14006439c
cmp al, dil
je 0x14003b049
mov byte [rsp + 0x40], 0x10
or r14b, 0x10
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e64]
mov r8d, 2
call fcn.14006439c
cmp al, dil
je 0x14003b072
mov byte [rsp + 0x43], 0x10
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e5c]
mov r8d, r13d
call fcn.14006439c
cmp al, dil
je 0x14003b095
mov bl, 0x10
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e58]
mov r8d, r12d
call fcn.14006439c
cmp al, dil
je 0x14003b0bb
mov r14b, 2
mov byte [rsp + 0x42], r14b
jmp 0x14003b129
lea rdx, [rsp + 0x118]
lea rcx, [0x140119e50]
mov r8d, r13d
call fcn.14006439c
cmp al, dil
je 0x14003b0de
mov byte [rsp + 0x41], bpl
jmp 0x14003b129
mov rcx, qword [rsp + 0x118]
movzx eax, word [rcx]
cmp ax, di
je 0x14003b11c
mov edx, 9
lea r8d, [rdx + 0x17]
cmp dx, ax
ja 0x14003b102
cmp ax, 0xd
jbe 0x14003b11c
cmp r8w, ax
je 0x14003b11c
add rcx, 2
mov qword [rsp + 0x118], rcx
mov ax, word [rcx]
cmp ax, di
jne 0x14003b0f7
lea rcx, [rsp + 0x118]
call fcn.140016e28
mov rdx, qword [rsp + 0x118]
cmp word [rdx], 0x2d
je 0x14003aefd
lea rcx, [rsp + 0x118]
call fcn.140016e28
cmp bl, dil
je 0x14003b1a2
lea rdx, [0x140119e38]
lea rcx, [rsp + 0x128]
call fcn.14006d8b0
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x128]
call fcn.140061a7c
mov rdx, qword [rsp + 0x128]
lea rcx, [0x1401340d0]
call fcn.140030e3c
lea rcx, [rsp + 0x128]
mov rbx, rax
call fcn.140059370
mov rax, rbx
jmp 0x14003b800
mov rcx, qword [rsp + 0x118]
cmp word [rcx], di
jne 0x14003b1bb
mov rax, 0xffffffff80070057
jmp 0x14003b800
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.1400619b4
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.1400fa350
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.140061940
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0xa8], rdi
call fcn.140061940
lea rcx, [rsp + 0x98]
mov edx, 0xa
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], rdi
lea r13, [rsp + 0x98]
call fcn.140061a40
lea rcx, [rsp + 0xb0]
mov edx, 0xa
call fcn.140061a40
movzx r11d, word [rbx]
cmp r11w, di
je 0x14003b408
mov al, byte [rsp + 0x128]
cmp al, dil
je 0x14003b339
cmp r11w, 0x3b
jne 0x14003b339
mov word [rbx], di
add rbx, 2
mov qword [rsp + 0x48], rbx
cmp word [rsi], di
je 0x14003b30c
cmp r12b, dil
jne 0x14003b2fe
mov r8b, 1
cmp r14b, dil
jne 0x14003b301
mov r8b, dil
mov rdx, rsi
mov rcx, r13
call fcn.1400213fc
lea rcx, [rsp + 0x48]
call fcn.140016e28
mov rbx, qword [rsp + 0x48]
mov al, byte [rsp + 0x128]
mov rsi, rbx
cmp r12b, dil
je 0x14003b3f6
inc ebp
mov dword [rsp + 0x50], ebp
jmp 0x14003b3f6
cmp r11w, 0x3e
jne 0x14003b3f6
cmp word [rbx - 2], 0x3d
jne 0x14003b355
mov dword [rsp + 0x60], 2
jmp 0x14003b379
cmp word [rbx - 2], 0x2d
jne 0x14003b366
mov dword [rsp + 0x60], 1
jmp 0x14003b379
cmp word [rbx + 2], 0x3e
jne 0x14003b379
add rbx, 2
mov dword [rsp + 0x60], 4
lea rax, [rbx - 4]
cmp rax, rsi
jb 0x14003b3aa
mov ecx, 9
lea ebp, [rcx + 0x17]
cmp cx, word [rax]
ja 0x14003b395
cmp word [rax], 0xd
jbe 0x14003b39a
cmp bp, word [rax]
jne 0x14003b3a6
mov word [rax], di
sub rax, 2
cmp rax, rsi
jae 0x14003b38a
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 0x14003b3e1
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1400213fc
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 0x14003b2d4
cmp word [rsi], di
je 0x14003b429
xor r8d, r8d
mov rdx, rsi
mov rcx, r13
call fcn.1400213fc
mov esi, 1
cmp r12b, dil
je 0x14003b42e
add ebp, esi
jmp 0x14003b42e
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 0x14003b4c3
cmp r11d, 3
jne 0x14003b4c3
test r15b, 2
je 0x14003b4a9
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.DLL_SHFileOperationW]
cmp eax, edi
je 0x14003b7d6
movsx edx, byte [rsp + 0x43]
mov rcx, qword [rsp + 0x98]
call fcn.1400214f4
mov rdi, rax
jmp 0x14003b7d6
cmp byte [rsp + 0x41], dil
je 0x14003b507
mov rdx, qword [rsp + 0x70]
cmp rdx, rdi
je 0x14003b4d9
cmp word [rdx], di
jne 0x14003b4dc
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
mov r8d, 6
call qword [sym.imp.KERNEL32.DLL_MoveFileExW]
cmp eax, esi
je 0x14003b7d6
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
jmp 0x14003b7d6
cmp r14b, dil
je 0x14003b73a
cmp byte [rsp + 0x42], dil
je 0x14003b524
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x14003b4ed
cmp r11d, 3
jne 0x14003b666
cmp byte [rsp + 0x40], dil
je 0x14003b656
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.1400037a0
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, rdi
jne 0x14003b5b5
cmp eax, 2
jne 0x14003b63d
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b5ab
cmp rcx, 0xffffffffffffffff
je 0x14003b5ab
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, 2
jmp 0x14003b7d6
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b5ce
cmp rcx, 0xffffffffffffffff
je 0x14003b5ce
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.1400037a0
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp rbx, rdi
jne 0x14003b63d
cmp eax, 2
jne 0x14003b63d
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b7d6
cmp rcx, 0xffffffffffffffff
je 0x14003b7d6
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14003b7d6
mov rcx, qword [rsp + 0x128]
cmp rcx, rdi
je 0x14003b656
cmp rcx, 0xffffffffffffffff
je 0x14003b656
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x14003b4ed
cmp r11d, 2
jne 0x14003b720
cmp byte [rsp + 0x40], dil
je 0x14003b708
lea rdx, [0x140119e18]
lea rcx, [rsp + 0x128]
call fcn.14006d8b0
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x128]
call fcn.140061a7c
lea rdx, [0x140119e08]
lea rcx, [rsp + 0x128]
call fcn.140061a7c
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x128]
call fcn.140061a7c
lea rdx, [0x1401148a4]
lea rcx, [rsp + 0x128]
call fcn.140061a7c
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x110]
xor r8d, r8d
call fcn.1400a5888
lea rcx, [rsp + 0x128]
mov rdi, rax
call fcn.140059370
jmp 0x14003b7d6
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
call qword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x14003b4ed
cmp r11d, esi
jne 0x14003b73a
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x14003b4ed
cmp r11d, 4
jne 0x14003b7be
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14006d8b0
mov rcx, qword [rsp + 0x48]
call fcn.14005e62c
cmp rax, rdi
jne 0x14003b765
mov rax, qword [rsp + 0x48]
jmp 0x14003b769
add rax, 2
mov word [rax], di
mov rcx, qword [rsp + 0x70]
call fcn.14005e62c
cmp rax, rdi
jne 0x14003b782
mov rax, qword [rsp + 0x70]
jmp 0x14003b786
add rax, 2
lea rcx, [rsp + 0x48]
mov rdx, rax
call fcn.140061a7c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_MoveFileW]
cmp eax, esi
je 0x14003b7b4
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
cmove eax, esi
mov edi, eax
lea rcx, [rsp + 0x48]
jmp 0x14003b6fe
cmp ebp, 2
jl 0x14003b7c8
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.140059370
lea rcx, [rsp + 0x98]
call fcn.140059370
lea rcx, [rsp + 0x90]
call fcn.140059370
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