Function at 0x140017d04
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.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
mov rdi, qword [rbp + 0x2010]
mov r14, rdx
mov rbx, rcx
cmp r8d, 0x4e
jne 0x1400181a7
mov rax, qword [rcx]
cmp qword [rdi], rax
jne 0x1400181a7
mov eax, dword [rdi + 0x10]
xor r15d, r15d
mov qword [rsp + 0x38], r15
cmp eax, 0xfffffe34
je 0x1400180c7
cmp eax, 0xfffffe35
je 0x14001807d
cmp eax, 0xfffffe36
je 0x140018014
cmp eax, 0xfffffe38
je 0x140017fc2
cmp eax, 0xfffffe3a
je 0x140017f0c
cmp eax, 0xfffffe3d
je 0x140017ec4
cmp eax, 0xfffffe64
je 0x140017e8a
cmp eax, 0xfffffffb
jne 0x1400181a7
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 0x1400181a7
mov rcx, qword [rbx]
lea r8d, [r15 + 9]
mov edx, 0x110b
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x48], 4
je 0x1400181a7
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 0x1400181a7
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400181a7
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.140016e24
jmp 0x1400181a7
cmp word [rdi + 0x18], 0x2e
je 0x140017eba
cmp word [rdi + 0x18], 0x71
je 0x140017eb0
cmp word [rdi + 0x18], 0x74
jne 0x1400181a7
mov dl, byte [rcx + 0x10]
call fcn.140018bd0
jmp 0x1400181a7
call fcn.1400186ec
jmp 0x1400181a7
call fcn.140016ca8
jmp 0x1400181a7
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp + 0xfb0]
mov qword [rsp + 0x20], rsi
call fcn.140017a04
test al, al
je 0x1400181a7
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 0x1400181a7
test byte [rdi + 0x68], 0x40
jne 0x1400181a7
mov rsi, qword [rdi + 0x88]
test rsi, rsi
je 0x1400181a7
mov eax, dword [0x140183b50]
mov ecx, eax
inc eax
mov dword [0x140183b50], eax
test ecx, ecx
jne 0x1400181a7
mov rcx, qword [rsi]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x140158790]
mov rdx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
test eax, eax
js 0x140017f87
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.140017060
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, [0x140018ba0]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x140183b50]
jmp 0x1400181a7
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140017a04
test al, al
je 0x1400181a7
cmp word [rbp - 0x50], r15w
jne 0x140018004
cmp byte [0x14018a804], r15b
je 0x140018004
mov r8d, esi
lea rdx, [0x140140330]
lea rcx, [rbp - 0x50]
call fcn.1400ac228
lea rdx, [rbp - 0x50]
mov cl, 1
call fcn.140014638
jmp 0x1400181a7
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x1400181a7
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a1ff7.0]
mov rcx, qword [0x1401f7cf8]
mov rdx, qword [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
mov rcx, qword [0x1401f7cf8]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
mov rcx, qword [0x1401f7cf8]
mov rdx, rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
jmp 0x1400181a7
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400180bd
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400180bd
lea rcx, [rbp - 0x50]
call fcn.1400855a0
test al, al
je 0x1400180bd
lea rcx, [rbp - 0x50]
call fcn.14009694c
cmp word [rax], r15w
je 0x1400180bd
mov byte [rbx + 0x11], 1
jmp 0x1400181a7
mov eax, 1
jmp 0x1400181a9
mov byte [rcx + 0x11], r15b
cmp qword [rdi + 0x30], r15
je 0x1400181a7
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400181a7
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp + 0xfb0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400181a7
mov esi, 0x800
lea rdx, [rbp + 0xfb0]
mov r8d, esi
lea rcx, [rbp - 0x50]
call fcn.1400ac228
lea rcx, [rbp - 0x50]
call fcn.14009694c
or rcx, 0xffffffffffffffff
mov word [rax], r15w
mov rax, rcx
mov rdx, qword [rdi + 0x30]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x14001812b
lea r8, [rbp - 0x50]
inc rcx
cmp word [r8 + rcx*2], r15w
jne 0x140018139
add rax, rcx
cmp rax, rsi
jae 0x1400181a7
mov r8, rsi
lea rcx, [rbp - 0x50]
call fcn.1400ac200
lea rcx, [rbp - 0x50]
call fcn.1400855a0
test al, al
je 0x140018178
mov ecx, 0x50d
call fcn.1400a617c
mov rcx, rax
call fcn.1400ee128
jmp 0x1400181a7
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xfb0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400181a7
mov dl, byte [rbx + 0x10]
mov rcx, rbx
call fcn.140018bd0
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140018abc
xor eax, eax
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret