Function at 0x14004b3a8
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r15d, r9d
mov dword [rsp + 0x60], r9d
mov edi, r8d
mov rsi, rdx
mov qword [rbp - 0x70], rdx
mov r14, rcx
mov qword [rbp - 0x68], rdx
mov rbx, qword [rbp + 0x270]
mov qword [rbp - 0x78], rbx
mov r12, qword [rbp + 0x278]
xor r13d, r13d
test r12, r12
je 0x14004b9b1
cmp word [r12], r13w
je 0x14004b9b1
lea rcx, [rsp + 0x78]
call fcn.140120d54
nop
mov r14, qword [r14 + 0x40]
test edi, edi
je 0x14004b433
mov r14, qword [r14 + 0x30]
jmp 0x14004b437
mov r14, qword [r14 + 0x38]
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [r14 + rax*2], r13w
jne 0x14004b43e
test rbx, rbx
je 0x14004b462
cmp word [rbx], r13w
je 0x14004b462
mov r13, rdi
xor ecx, ecx
inc r13
cmp word [rbx + r13*2], cx
jne 0x14004b458
lea rbx, [rax + 0x12]
add rbx, r13
mov edx, 0x5c
mov rcx, r12
call fcn.14013bd50
test rax, rax
je 0x14004b484
test r15d, r15d
jne 0x14004b484
lea r12, [rax + 2]
xor r15d, r15d
cmp word [r12], r15w
jne 0x14004b4e7
mov byte [rsp + 0x20], 1
mov r9, rdi
xor r8d, r8d
lea edx, [r15 + 0x40]
lea rcx, str.Cant_drop_file__Filename_is_empty__W__
call fcn.14002b0f8
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
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140120be0
nop
lea rcx, [rsp + 0x78]
call fcn.140120ddc
jmp 0x14004b9df
mov rax, rdi
inc rax
cmp word [r12 + rax*2], r15w
jne 0x14004b4ea
lea r15, [rax + 1]
add r15, rbx
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140121228
mov rbx, rax
mov qword [rbp - 0x68], rax
test rax, rax
jne 0x14004b553
mov byte [rsp + 0x20], 1
mov r9, rdi
xor r8d, r8d
lea edx, [rax + 0x40]
lea rcx, str.Cant_drop_file__Memory_allocation_failed_
call fcn.14002b0f8
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
jmp 0x14004b4c7
lea r8, [0x1401789e8]
mov rdx, r15
mov rcx, rbx
call fcn.1401468a8
mov ecx, 0x5c
cmp word [r14], cx
jne 0x14004b5a2
lea rax, [r14 + 2]
mov qword [rsp + 0x68], rax
cmp word [rax], cx
jne 0x14004b5a2
lea rdx, [r15 - 4]
lea rcx, [rbx + 8]
lea r8, [0x1401789f8]
call fcn.1401468a8
mov eax, 0xe
lea rcx, [rax - 0x15]
mov r14, qword [rsp + 0x68]
jmp 0x14004b5aa
mov eax, 8
lea ecx, [rax - 4]
lea rdx, [rcx + r15]
lea rcx, [rax + rbx]
mov r8, r14
call fcn.1401468a8
mov r14, rdi
xor eax, eax
inc r14
cmp word [rbx + r14*2], ax
jne 0x14004b5bf
inc r14
lea r8, [0x14016b5d8]
mov rdx, r15
mov rcx, rbx
call fcn.1401469e4
mov r8, qword [rbp - 0x78]
xor eax, eax
test r8, r8
je 0x14004b607
cmp word [r8], ax
je 0x14004b607
cmp dword [rsp + 0x60], eax
jne 0x14004b607
mov rdx, r15
sub rdx, r14
lea rcx, [rbx + r14*2]
call fcn.1401468a8
add r14, r13
mov rdx, r15
sub rdx, r14
lea rcx, [rbx + r14*2]
mov r8, r12
call fcn.1401468a8
mov rax, rdi
xor r12d, r12d
inc rax
cmp word [rbx + rax*2], r12w
jne 0x14004b61f
jmp 0x14004b63b
cmp word [rbx + rax*2 - 2], 0x20
jne 0x14004b640
dec rax
mov word [rbx + rax*2], r12w
test rax, rax
jg 0x14004b62b
mov r14d, dword [rsp + 0x60]
test r14d, r14d
jne 0x14004b67e
test rax, rax
jle 0x14004b65b
lea r13d, [r14 + 0x5c]
cmp word [rbx + rax*2 - 2], r13w
jne 0x14004b684
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
jmp 0x14004b4c7
mov r13d, 0x5c
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x50]
call fcn.14013b230
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, rdi
je 0x14004b97c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
test r14d, r14d
je 0x14004b76d
test byte [rbp - 0x50], 0x10
jne 0x14004b981
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
lea rdx, str.Cant_create_directory__Same_name_file_exists__n
lea rcx, [rbp - 0x60]
call fcn.140120be0
nop
mov rcx, qword [0x14021c5d8]
call fcn.1400140ac
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.140058574
mov rcx, rax
mov byte [rsp + 0x20], r12b
mov r9, qword [0x14021c5e0]
mov r8, rbx
mov edx, 0x10
call fcn.14002b0f8
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140120be0
nop
lea rcx, [rbp - 0x60]
call fcn.140120ddc
jmp 0x14004b4d8
test byte [rbp - 0x50], 0x10
je 0x14004b814
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, rbx
lea rdx, str.Cant_create_file__Same_name_folder_exists__n
lea rcx, [rbp - 0x60]
call fcn.140120be0
nop
mov rcx, qword [0x14021c5d8]
call fcn.1400140ac
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.140058574
mov rcx, rax
mov byte [rsp + 0x20], r12b
mov r9, qword [0x14021c5e0]
mov r8, rbx
mov edx, 0x10
call fcn.14002b0f8
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140120be0
nop
jmp 0x14004b75f
lea rcx, [rsp + 0x68]
call fcn.140120d54
nop
lea rdx, [r15 + 0xff]
lea rcx, [rsp + 0x68]
call fcn.140121228
test rax, rax
je 0x14004b943
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x34]
mov dword [rsp + 0x64], eax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x3c]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ebx, word [rbp - 0x54]
movzx edi, word [rbp - 0x56]
movzx esi, word [rbp - 0x58]
movzx r14d, word [rbp - 0x60]
movzx r15d, word [rbp - 0x5e]
movzx r12d, word [rbp - 0x5a]
lea rcx, [rsp + 0x68]
call fcn.140121428
mov r13, rax
lea rcx, [rsp + 0x68]
call fcn.140058574
mov rcx, rax
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r12d
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
mov rdi, qword [rbp - 0x68]
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, r13
call fcn.14004bf2c
mov rcx, qword [0x14021c5d8]
call fcn.1400140ac
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.140058574
mov rcx, rax
xor r12d, r12d
mov byte [rsp + 0x20], r12b
mov r9, qword [0x14021c5e0]
mov r8, rbx
lea edx, [r12 + 0x34]
call fcn.14002b0f8
mov ebx, eax
lea rcx, [rsp + 0x68]
call fcn.1401214e4
cmp ebx, 6
jne 0x14004b93f
test byte [rbp - 0x50], 7
je 0x14004b92f
lea edx, [rbx + 0x7a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rcx, [rsp + 0x68]
call fcn.140120ddc
mov rsi, qword [rbp - 0x70]
jmp 0x14004b99f
mov rsi, qword [rbp - 0x70]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140120be0
nop
lea rcx, [rsp + 0x68]
jmp 0x14004b763
test r14d, r14d
je 0x14004b99f
inc rdi
cmp word [rbx + rdi*2], r12w
jne 0x14004b981
test rdi, rdi
jle 0x14004b99f
cmp word [rbx + rdi*2 - 2], r13w
je 0x14004b99f
mov dword [rbx + rdi*2], 0x5c
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.140120b90
jmp 0x14004b4d8
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140120be0
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret