Function at 0x140017d14
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.14011a0f0
sub rsp, rax
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
mov rdi, qword [rbp + 0x2010]
mov r14, rdx
mov rbx, rcx
cmp r8d, 0x4e
jne 0x1400181b7
mov rax, qword [rcx]
cmp qword [rdi], rax
jne 0x1400181b7
mov eax, dword [rdi + 0x10]
xor r15d, r15d
mov qword [rsp + 0x38], r15
cmp eax, 0xfffffe34
je 0x1400180d7
cmp eax, 0xfffffe35
je 0x14001808d
cmp eax, 0xfffffe36
je 0x140018024
cmp eax, 0xfffffe38
je 0x140017fd2
cmp eax, 0xfffffe3a
je 0x140017f1c
cmp eax, 0xfffffe3d
je 0x140017ed4
cmp eax, 0xfffffe64
je 0x140017e9a
cmp eax, 0xfffffffb
jne 0x1400181b7
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 0x1400181b7
mov rcx, qword [rbx]
lea r8d, [r15 + 9]
mov edx, 0x110b
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x48], 4
je 0x1400181b7
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 0x1400181b7
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400181b7
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.140016e34
jmp 0x1400181b7
cmp word [rdi + 0x18], 0x2e
je 0x140017eca
cmp word [rdi + 0x18], 0x71
je 0x140017ec0
cmp word [rdi + 0x18], 0x74
jne 0x1400181b7
mov dl, byte [rcx + 0x10]
call fcn.140018be0
jmp 0x1400181b7
call fcn.1400186fc
jmp 0x1400181b7
call fcn.140016cb8
jmp 0x1400181b7
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp + 0xfb0]
mov qword [rsp + 0x20], rsi
call fcn.140017a14
test al, al
je 0x1400181b7
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 0x1400181b7
test byte [rdi + 0x68], 0x40
jne 0x1400181b7
mov rsi, qword [rdi + 0x88]
test rsi, rsi
je 0x1400181b7
mov eax, dword [0x140184b50]
mov ecx, eax
inc eax
mov dword [0x140184b50], eax
test ecx, ecx
jne 0x1400181b7
mov rcx, qword [rsi]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x1401599c0]
mov rdx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
test eax, eax
js 0x140017f97
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.140017070
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, [0x140018bb0]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x140184b50]
jmp 0x1400181b7
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140017a14
test al, al
je 0x1400181b7
cmp word [rbp - 0x50], r15w
jne 0x140018014
cmp byte [0x14018b804], r15b
je 0x140018014
mov r8d, esi
lea rdx, [0x140141330]
lea rcx, [rbp - 0x50]
call fcn.1400ac908
lea rdx, [rbp - 0x50]
mov cl, 1
call fcn.140014648
jmp 0x1400181b7
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x1400181b7
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a26d7.0]
mov rcx, qword [0x1401f8cf8]
mov rdx, qword [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
mov rcx, qword [0x1401f8cf8]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
mov rcx, qword [0x1401f8cf8]
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a26d7.0]
jmp 0x1400181b7
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400180cd
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400180cd
lea rcx, [rbp - 0x50]
call fcn.140085aac
test al, al
je 0x1400180cd
lea rcx, [rbp - 0x50]
call fcn.14009702c
cmp word [rax], r15w
je 0x1400180cd
mov byte [rbx + 0x11], 1
jmp 0x1400181b7
mov eax, 1
jmp 0x1400181b9
mov byte [rcx + 0x11], r15b
cmp qword [rdi + 0x30], r15
je 0x1400181b7
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400181b7
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp + 0xfb0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400181b7
mov esi, 0x800
lea rdx, [rbp + 0xfb0]
mov r8d, esi
lea rcx, [rbp - 0x50]
call fcn.1400ac908
lea rcx, [rbp - 0x50]
call fcn.14009702c
or rcx, 0xffffffffffffffff
mov word [rax], r15w
mov rax, rcx
mov rdx, qword [rdi + 0x30]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14001813b
lea r8, [rbp - 0x50]
inc rcx
cmp word [r8 + rcx*2], r15w
jne 0x140018149
add rax, rcx
cmp rax, rsi
jae 0x1400181b7
mov r8, rsi
lea rcx, [rbp - 0x50]
call fcn.1400ac8e0
lea rcx, [rbp - 0x50]
call fcn.140085aac
test al, al
je 0x140018188
mov ecx, 0x50d
call fcn.1400a685c
mov rcx, rax
call fcn.1400eea18
jmp 0x1400181b7
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xfb0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400181b7
mov dl, byte [rbx + 0x10]
mov rcx, rbx
call fcn.140018be0
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140018acc
xor eax, eax
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.14011a150
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret