Function at 0x140017c54
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1fc0]
mov eax, 0x20c0
call fcn.140117f40
sub rsp, rax
mov rax, qword [0x140181c48]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
mov rdi, qword [rbp + 0x2010]
mov r14, rdx
mov rbx, rcx
cmp r8d, 0x4e
jne 0x1400180f7
mov rax, qword [rcx]
cmp qword [rdi], rax
jne 0x1400180f7
mov eax, dword [rdi + 0x10]
xor r15d, r15d
mov qword [rsp + 0x38], r15
cmp eax, 0xfffffe34
je 0x140018017
cmp eax, 0xfffffe35
je 0x140017fcd
cmp eax, 0xfffffe36
je 0x140017f64
cmp eax, 0xfffffe38
je 0x140017f12
cmp eax, 0xfffffe3a
je 0x140017e5c
cmp eax, 0xfffffe3d
je 0x140017e14
cmp eax, 0xfffffe64
je 0x140017dda
cmp eax, 0xfffffffb
jne 0x1400180f7
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, 0x1111
mov qword [rsp + 0x40], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x1400180f7
mov rcx, qword [rbx]
lea r8d, [r15 + 9]
mov edx, 0x110b
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x48], 4
je 0x1400180f7
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.USER32.dll_ClientToScreen]
mov rax, qword [rsp + 0x50]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx]
xor r8d, r8d
mov edx, 0x113e
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400180f7
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400180f7
mov r9, qword [r8 + 8]
lea rax, [rsp + 0x30]
mov r8, qword [r8]
mov rdx, r14
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.140016d74
jmp 0x1400180f7
cmp word [rdi + 0x18], 0x2e
je 0x140017e0a
cmp word [rdi + 0x18], 0x71
je 0x140017e00
cmp word [rdi + 0x18], 0x74
jne 0x1400180f7
mov dl, byte [rcx + 0x10]
call fcn.140018b20
jmp 0x1400180f7
call fcn.14001863c
jmp 0x1400180f7
call fcn.140016bf8
jmp 0x1400180f7
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp + 0xfb0]
mov qword [rsp + 0x20], rsi
call fcn.140017954
test al, al
je 0x1400180f7
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetParent]
lea r9, [rbp + 0xfb0]
xor r8d, r8d
mov rcx, rax
mov edx, 0x800b
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400180f7
test byte [rdi + 0x68], 0x40
jne 0x1400180f7
mov rsi, qword [rdi + 0x88]
test rsi, rsi
je 0x1400180f7
mov eax, dword [0x140182b50]
mov ecx, eax
inc eax
mov dword [0x140182b50], eax
test ecx, ecx
jne 0x1400180f7
mov rcx, qword [rsi]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x140157760]
mov rdx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a07c7.0]
test eax, eax
js 0x140017ed7
mov rax, qword [rdi + 0x60]
mov rcx, rbx
mov r9, qword [rsi + 0x10]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rax
call fcn.140016fb0
mov rax, qword [rdi + 0x60]
lea r9, [rsp + 0x58]
mov rcx, qword [rbx]
xor r8d, r8d
mov qword [rsp + 0x58], rax
mov edx, 0x1115
lea rax, [0x140018af0]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x140182b50]
jmp 0x1400180f7
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140017954
test al, al
je 0x1400180f7
cmp word [rbp - 0x50], r15w
jne 0x140017f54
cmp byte [0x140189804], r15b
je 0x140017f54
mov r8d, esi
lea rdx, [0x14013f330]
lea rcx, [rbp - 0x50]
call fcn.1400aa9e4
lea rdx, [rbp - 0x50]
mov cl, 1
call fcn.140014588
jmp 0x1400180f7
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x1400180f7
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a07c7.0]
mov rcx, qword [0x1401f6cf8]
mov rdx, qword [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a07c7.0]
mov rcx, qword [0x1401f6cf8]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a07c7.0]
mov rcx, qword [0x1401f6cf8]
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a07c7.0]
jmp 0x1400180f7
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14001800d
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14001800d
lea rcx, [rbp - 0x50]
call fcn.140083dd0
test al, al
je 0x14001800d
lea rcx, [rbp - 0x50]
call fcn.140095154
cmp word [rax], r15w
je 0x14001800d
mov byte [rbx + 0x11], 1
jmp 0x1400180f7
mov eax, 1
jmp 0x1400180f9
mov byte [rcx + 0x11], r15b
cmp qword [rdi + 0x30], r15
je 0x1400180f7
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400180f7
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp + 0xfb0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400180f7
mov esi, 0x800
lea rdx, [rbp + 0xfb0]
mov r8d, esi
lea rcx, [rbp - 0x50]
call fcn.1400aa9e4
lea rcx, [rbp - 0x50]
call fcn.140095154
or rcx, 0xffffffffffffffff
mov word [rax], r15w
mov rax, rcx
mov rdx, qword [rdi + 0x30]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14001807b
lea r8, [rbp - 0x50]
inc rcx
cmp word [r8 + rcx*2], r15w
jne 0x140018089
add rax, rcx
cmp rax, rsi
jae 0x1400180f7
mov r8, rsi
lea rcx, [rbp - 0x50]
call fcn.1400aa9bc
lea rcx, [rbp - 0x50]
call fcn.140083dd0
test al, al
je 0x1400180c8
mov ecx, 0x50d
call fcn.1400a493c
mov rcx, rax
call fcn.1400ec898
jmp 0x1400180f7
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xfb0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400180f7
mov dl, byte [rbx + 0x10]
mov rcx, rbx
call fcn.140018b20
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140018a0c
xor eax, eax
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.140117fa0
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret