Function at 0x14004828c
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r13, r9
mov edi, r8d
mov dword [rsp + 0x60], r8d
mov r15, qword [rbp + 0x240]
xor r8d, r8d
test r15, r15
je 0x140048736
cmp word [r15], r8w
je 0x140048736
mov rsi, qword [rcx + 0x40]
test edx, edx
je 0x1400482f2
mov rsi, qword [rsi + 0x30]
jmp 0x1400482f6
mov rsi, qword [rsi + 0x38]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rsi + rax*2], r8w
jne 0x1400482fd
test r13, r13
je 0x140048321
cmp word [r9], r8w
je 0x140048321
mov r12, rbx
inc r12
cmp word [r9 + r12*2], r8w
jne 0x140048315
jmp 0x140048324
mov r12, r8
lea r14, [rax + 0x12]
add r14, r12
mov edx, 0x5c
mov rcx, r15
call fcn.14012dd3c
xor ecx, ecx
test rax, rax
je 0x140048347
test edi, edi
jne 0x140048347
lea r15, [rax + 2]
cmp word [r15], cx
jne 0x14004836e
lea rcx, str.Cant_drop_file__Filename_is_empty__W__
mov edx, 0x40
xor r8d, r8d
mov r9, rbx
mov byte [rsp + 0x20], 1
call fcn.1400297d8
jmp 0x140048752
mov rax, rbx
inc rax
cmp word [r15 + rax*2], cx
jne 0x140048371
inc rax
add r14, rax
mov edx, 2
mov rcx, r14
call fcn.140113de8
mov rdi, rax
test rax, rax
jne 0x14004839f
lea rcx, str.Cant_drop_file__Memory_allocation_failed_
jmp 0x140048354
lea r8, [0x1401869f8]
mov rdx, r14
mov rcx, rdi
call fcn.140138b5c
mov ecx, 0x5c
cmp word [rsi], cx
jne 0x1400483ed
lea rax, [rsi + 2]
mov qword [rsp + 0x68], rax
cmp word [rax], cx
jne 0x1400483ed
lea rdx, [r14 - 4]
lea rcx, [rdi + 8]
lea r8, [0x140186a08]
call fcn.140138b5c
lea rdx, [r14 - 7]
mov eax, 0xe
mov rsi, qword [rsp + 0x68]
jmp 0x1400483f6
lea rdx, [r14 + 4]
mov eax, 8
lea rcx, [rax + rdi]
mov r8, rsi
call fcn.140138b5c
mov rsi, rbx
xor eax, eax
inc rsi
cmp word [rdi + rsi*2], ax
jne 0x140048407
inc rsi
lea r8, [0x1401792e8]
mov rdx, r14
mov rcx, rdi
call fcn.140138adc
xor eax, eax
test r13, r13
je 0x14004844e
cmp word [r13], ax
je 0x14004844e
cmp dword [rsp + 0x60], eax
jne 0x14004844e
mov rdx, r14
sub rdx, rsi
lea rcx, [rdi + rsi*2]
mov r8, r13
call fcn.140138b5c
add rsi, r12
mov rdx, r14
sub rdx, rsi
lea rcx, [rdi + rsi*2]
mov r8, r15
call fcn.140138b5c
mov rax, rbx
xor r15d, r15d
inc rax
cmp word [rdi + rax*2], r15w
jne 0x140048466
jmp 0x140048482
cmp word [rdi + rax*2 - 2], 0x20
jne 0x140048487
dec rax
mov word [rdi + rax*2], r15w
test rax, rax
jg 0x140048472
mov esi, dword [rsp + 0x60]
test esi, esi
jne 0x1400484c9
test rax, rax
jle 0x1400484a0
lea r12d, [rsi + 0x5c]
cmp word [rdi + rax*2 - 2], r12w
jne 0x1400484cf
xor r9d, r9d
mov r8d, 0x171
lea rdx, str.C:UsersMaksim.MoisiukDocumentsPersonalconemu_srcConEmuDragDrop.cpp
lea rcx, str._nTotal___0____pszFullName_nTotal___1____L_
call fcn.140026d78
mov rcx, rdi
call fcn.140113e18
jmp 0x140048752
mov r12d, 0x5c
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x80]
call fcn.14012d4b0
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, rbx
je 0x14004870f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x140048594
test byte [rbp - 0x80], 0x10
jne 0x140048713
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
lea rdx, str.Cant_create_directory__Same_name_file_exists__n
lea rcx, [rsp + 0x70]
call fcn.140114ba8
nop
mov rcx, qword [0x14022a9e0]
call fcn.140013110
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.140054ee8
mov rcx, rax
mov byte [rsp + 0x20], r15b
mov r9, qword [0x14022a9e8]
mov r8, rbx
mov edx, 0x10
call fcn.1400297d8
mov rcx, rdi
call fcn.140113e18
nop
lea rcx, [rsp + 0x70]
call fcn.140114ca4
jmp 0x140048752
test byte [rbp - 0x80], 0x10
je 0x140048613
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
lea rdx, str.Cant_create_file__Same_name_folder_exists__n
lea rcx, [rsp + 0x70]
call fcn.140114ba8
nop
mov rcx, qword [0x14022a9e0]
call fcn.140013110
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.140054ee8
mov rcx, rax
mov byte [rsp + 0x20], r15b
mov r9, qword [0x14022a9e8]
mov r8, rbx
mov edx, 0x10
call fcn.1400297d8
mov rcx, rdi
call fcn.140113e18
nop
jmp 0x140048585
lea eax, [r14 + 0xff]
movsxd rbx, eax
mov edx, 2
mov rcx, rbx
call fcn.140113de8
mov rsi, rax
test rax, rax
je 0x1400484bc
mov ecx, dword [rbp - 0x60]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rbp - 0x64]
mov dword [rsp + 0x64], ecx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x6c]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [rsp + 0x7c]
movzx eax, word [rsp + 0x7a]
movzx r8d, word [rsp + 0x78]
movzx r9d, word [rsp + 0x70]
movzx r10d, word [rsp + 0x72]
movzx r11d, word [rsp + 0x76]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, str.File_already_exists__n_n_s_nSize:__I64i_nDate:__02i._02i._i__02i:_02i:_02i_n_nOverwrite_
mov rdx, rbx
mov rcx, rsi
call fcn.140048ca0
mov rcx, qword [0x14022a9e0]
call fcn.140013110
mov r8, rax
mov byte [rsp + 0x20], r15b
mov r9, qword [0x14022a9e8]
mov edx, 0x34
mov rcx, rsi
call fcn.1400297d8
mov ebx, eax
mov rcx, rsi
call fcn.140113e18
cmp ebx, 6
jne 0x1400484bc
test byte [rbp - 0x80], 7
je 0x140048731
lea edx, [rbx + 0x7a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140048731
test esi, esi
je 0x140048731
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x140048713
test rbx, rbx
jle 0x140048731
cmp word [rdi + rbx*2 - 2], r12w
je 0x140048731
mov dword [rdi + rbx*2], 0x5c
mov rax, rdi
jmp 0x140048754
xor r9d, r9d
mov r8d, 0x10e
lea rdx, str.C:UsersMaksim.MoisiukDocumentsPersonalconemu_srcConEmuDragDrop.cpp
lea rcx, str.Cant_drop_file__Filename_is_empty_
call fcn.140026d78
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret