Function at 0x1400123f0
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.1400f31b0
sub rsp, rax
mov rax, qword [0x1401542d0]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
mov rdi, qword [rbp + 0x2010]
mov r14, rdx
mov rbx, rcx
cmp r8d, 0x4e
jne 0x14001286e
mov rax, qword [rcx]
cmp qword [rdi], rax
jne 0x14001286e
mov eax, dword [rdi + 0x10]
xor r15d, r15d
mov qword [rsp + 0x38], r15
cmp eax, 0xfffffe34
je 0x14001278e
cmp eax, 0xfffffe35
je 0x140012744
cmp eax, 0xfffffe36
je 0x1400126f7
cmp eax, 0xfffffe38
je 0x1400126a5
cmp eax, 0xfffffe3a
je 0x1400125f6
cmp eax, 0xfffffe3d
je 0x1400125ae
cmp eax, 0xfffffe64
je 0x140012576
cmp eax, 0xfffffffb
jne 0x14001286e
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 0x14001286e
mov rcx, qword [rbx]
lea r8d, [r15 + 9]
mov edx, 0x110b
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x48], 4
je 0x14001286e
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 0x14001286e
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x14001286e
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.1400115a0
jmp 0x14001286e
movzx eax, word [rdi + 0x18]
cmp eax, 0x2e
je 0x1400125a4
cmp eax, 0x71
je 0x14001259a
cmp eax, 0x74
jne 0x14001286e
mov dl, byte [rcx + 0x10]
call fcn.1400130e8
jmp 0x14001286e
call fcn.140012dbc
jmp 0x14001286e
call fcn.14001142c
jmp 0x14001286e
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp + 0xfb0]
mov qword [rsp + 0x20], rsi
call fcn.140012100
test al, al
je 0x14001286e
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 0x14001286e
test byte [rdi + 0x68], 0x40
jne 0x14001286e
mov rsi, qword [rdi + 0x88]
test rsi, rsi
je 0x14001286e
mov eax, dword [0x140154f38]
mov ecx, eax
inc eax
mov dword [0x140154f38], eax
test ecx, ecx
jne 0x14001286e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x14012c1c0]
mov rdx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x14001266a
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.1400117a4
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, [0x1400130bc]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x140154f38]
jmp 0x14001286e
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140012100
test al, al
je 0x14001286e
cmp word [rbp - 0x50], r15w
jne 0x1400126e7
cmp byte [0x14015bbe2], r15b
je 0x1400126e7
mov r8d, esi
lea rdx, [0x140111558]
lea rcx, [rbp - 0x50]
call fcn.14008eff0
lea rdx, [rbp - 0x50]
mov cl, 1
call fcn.14000f314
jmp 0x14001286e
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x14001286e
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1401bd670]
mov rdx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x1401bd670]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x1401bd670]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x14001286e
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x140012757
mov eax, 1
jmp 0x140012870
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14001274d
lea rcx, [rbp - 0x50]
call fcn.140069278
test al, al
je 0x14001274d
lea rcx, [rbp - 0x50]
call fcn.140079c5c
cmp word [rax], r15w
je 0x14001274d
mov byte [rbx + 0x11], 1
jmp 0x14001286e
mov byte [rcx + 0x11], r15b
cmp qword [rdi + 0x30], r15
je 0x14001286e
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14001286e
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp + 0xfb0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x14001286e
mov esi, 0x800
lea rdx, [rbp + 0xfb0]
mov r8d, esi
lea rcx, [rbp - 0x50]
call fcn.14008eff0
lea rcx, [rbp - 0x50]
call fcn.140079c5c
or rcx, 0xffffffffffffffff
mov word [rax], r15w
mov rax, rcx
mov rdx, qword [rdi + 0x30]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x1400127f2
lea r8, [rbp - 0x50]
inc rcx
cmp word [r8 + rcx*2], r15w
jne 0x140012800
add rax, rcx
cmp rax, rsi
jae 0x14001286e
mov r8, rsi
lea rcx, [rbp - 0x50]
call fcn.14008efc8
lea rcx, [rbp - 0x50]
call fcn.140069278
test al, al
je 0x14001283f
mov ecx, 0x50d
call fcn.140088ebc
mov rcx, rax
call fcn.1400cc528
jmp 0x14001286e
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xfb0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14001286e
mov dl, byte [rbx + 0x10]
mov rcx, rbx
call fcn.1400130e8
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140012fe0
xor eax, eax
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.1400f3220
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret