Function at 0x140012054
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.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x1fb0], rax
mov rdi, qword [rbp + 0x2010]
mov r14, rdx
mov rbx, rcx
cmp r8d, 0x4e
jne 0x1400124d2
mov rax, qword [rcx]
cmp qword [rdi], rax
jne 0x1400124d2
mov eax, dword [rdi + 0x10]
xor r15d, r15d
mov qword [rsp + 0x38], r15
cmp eax, 0xfffffe34
je 0x1400123f2
cmp eax, 0xfffffe35
je 0x1400123a8
cmp eax, 0xfffffe36
je 0x14001235b
cmp eax, 0xfffffe38
je 0x140012309
cmp eax, 0xfffffe3a
je 0x14001225a
cmp eax, 0xfffffe3d
je 0x140012212
cmp eax, 0xfffffe64
je 0x1400121da
cmp eax, 0xfffffffb
jne 0x1400124d2
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 0x1400124d2
mov rcx, qword [rbx]
lea r8d, [r15 + 9]
mov edx, 0x110b
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsp + 0x48], 4
je 0x1400124d2
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 0x1400124d2
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1400124d2
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.140011204
jmp 0x1400124d2
movzx eax, word [rdi + 0x18]
cmp eax, 0x2e
je 0x140012208
cmp eax, 0x71
je 0x1400121fe
cmp eax, 0x74
jne 0x1400124d2
mov dl, byte [rcx + 0x10]
call fcn.140012d4c
jmp 0x1400124d2
call fcn.140012a20
jmp 0x1400124d2
call fcn.140011090
jmp 0x1400124d2
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp + 0xfb0]
mov qword [rsp + 0x20], rsi
call fcn.140011d64
test al, al
je 0x1400124d2
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 0x1400124d2
test byte [rdi + 0x68], 0x40
jne 0x1400124d2
mov rsi, qword [rdi + 0x88]
test rsi, rsi
je 0x1400124d2
mov eax, dword [0x140141f18]
mov ecx, eax
inc eax
mov dword [0x140141f18], eax
test ecx, ecx
jne 0x1400124d2
mov rcx, qword [rsi]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
lea r9, [0x14011f3a0]
mov rdx, qword [rsi + 8]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x1400122ce
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.140011408
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, [0x140012d20]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], rax
call qword [sym.imp.USER32.dll_SendMessageW]
dec dword [0x140141f18]
jmp 0x1400124d2
mov esi, 0x800
lea r8, [rdi + 0x58]
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140011d64
test al, al
je 0x1400124d2
cmp word [rbp - 0x50], r15w
jne 0x14001234b
cmp byte [0x140148c34], r15b
je 0x14001234b
mov r8d, esi
lea rdx, [0x14010f558]
lea rcx, [rbp - 0x50]
call fcn.14008d254
lea rdx, [rbp - 0x50]
mov cl, 1
call fcn.14000ef84
jmp 0x1400124d2
mov rbx, qword [rdi + 0x50]
test rbx, rbx
je 0x1400124d2
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1401aaa40]
mov rdx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x1401aaa40]
mov rdx, qword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [0x1401aaa40]
mov rdx, rbx
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400124d2
mov rcx, qword [rdi + 0x48]
test rcx, rcx
jne 0x1400123bb
mov eax, 1
jmp 0x1400124d4
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp - 0x50]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400123b1
lea rcx, [rbp - 0x50]
call fcn.140068258
test al, al
je 0x1400123b1
lea rcx, [rbp - 0x50]
call fcn.140078548
cmp word [rax], r15w
je 0x1400123b1
mov byte [rbx + 0x11], 1
jmp 0x1400124d2
mov byte [rcx + 0x11], r15b
cmp qword [rdi + 0x30], r15
je 0x1400124d2
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400124d2
mov rcx, qword [rcx + 0x10]
lea rdx, [rbp + 0xfb0]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400124d2
mov esi, 0x800
lea rdx, [rbp + 0xfb0]
mov r8d, esi
lea rcx, [rbp - 0x50]
call fcn.14008d254
lea rcx, [rbp - 0x50]
call fcn.140078548
or rcx, 0xffffffffffffffff
mov word [rax], r15w
mov rax, rcx
mov rdx, qword [rdi + 0x30]
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140012456
lea r8, [rbp - 0x50]
inc rcx
cmp word [r8 + rcx*2], r15w
jne 0x140012464
add rax, rcx
cmp rax, rsi
jae 0x1400124d2
mov r8, rsi
lea rcx, [rbp - 0x50]
call fcn.14008d22c
lea rcx, [rbp - 0x50]
call fcn.140068258
test al, al
je 0x1400124a3
mov ecx, 0x50d
call fcn.140087094
mov rcx, rax
call fcn.1400ca204
jmp 0x1400124d2
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xfb0]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1400124d2
mov dl, byte [rbx + 0x10]
mov rcx, rbx
call fcn.140012d4c
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.140012c44
xor eax, eax
mov rcx, qword [rbp + 0x1fb0]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret