Function at 0x1400c58c0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov rax, qword [0x14037d7c0]
xor rax, rsp
mov qword [rbp + 0x540], rax
mov byte [rsp + 0x50], r9b
movzx r14d, r8b
movzx r13d, dl
mov rbx, rcx
mov r15, qword [rbp + 0x5b8]
mov qword [rsp + 0x60], r15
mov rsi, qword [rbp + 0x5c0]
xor edi, edi
mov dword [r15], edi
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x80]
call fcn.14007fbb0
nop
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400808c0
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp - 0x80]
call fcn.1400840d0
cmp byte [rbp + 0x5b0], dil
je 0x1400c596e
xor r8d, r8d
movzx edx, r14b
lea rcx, [rbp - 0x80]
call fcn.1400c42a0
lea rcx, [rbp - 0x80]
call fcn.140083970
test al, al
je 0x1400c5990
mov rax, qword [rsi]
lea rdx, str.openFileWin32:_file_path_is_empty.
mov rcx, rsi
call qword [rax + 0x28]
jmp 0x1400c5c8f
lea rcx, [rbp - 0x80]
call fcn.140082a30
mov dword [rsp + 0x54], eax
mov ecx, 2
mov r12d, ecx
mov eax, 0x80
cmp byte [rbp + 0x5a0], 0
cmove r12d, eax
mov ebx, edi
test r13b, r13b
je 0x1400c59c7
test r14b, r14b
setne bl
add ebx, 3
jmp 0x1400c59cd
test r14b, r14b
cmovne ebx, ecx
mov eax, r13d
shl eax, 0x1f
mov r13d, eax
bts r13d, 0x1e
test r14b, r14b
cmove r13d, eax
mov eax, 3
cmp byte [rsp + 0x50], 0
cmovne eax, edi
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x70], edi
lea r14, [rbp - 0x80]
mov qword [rsp + 0x68], r14
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x3d0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x3d0]
call fcn.14007fbb0
nop
cmp dword [rsp + 0x54], 0
jl 0x1400c5a47
xor r8d, r8d
lea rdx, [rbp + 0x3d0]
lea rcx, [rbp - 0x80]
call fcn.1400c4110
lea r14, [rbp + 0x3d0]
mov qword [rsp + 0x68], r14
mov rcx, r14
call fcn.140083720
mov rdx, rax
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x58]
mov r8d, r13d
mov ecx, 0x7d1
call fcn.140162720
mov r14, rax
test rax, rax
jne 0x1400c5c5b
mov dword [rsp + 0x54], edi
mov dword [rsp + 0x74], edi
mov r9, rsi
lea r8, [rsp + 0x74]
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x80]
call fcn.1400c3c10
test al, al
je 0x1400c5c08
mov r15d, dword [rsp + 0x54]
test r15b, 1
je 0x1400c5c03
and r15d, 0xfffffffe
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xf0]
call fcn.14007fbb0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xf0]
call fcn.1400808c0
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0xf0]
call fcn.1400840d0
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf0]
call fcn.1400c42a0
lea rcx, [rbp + 0xf0]
call fcn.140083970
test al, al
jne 0x1400c5b8e
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x260]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x260]
call fcn.14007fbb0
nop
xor r8d, r8d
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0xf0]
call fcn.1400c4110
lea rcx, [rbp + 0x260]
call fcn.140083720
mov rcx, rax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r15d, eax
lea rcx, [rbp + 0x260]
call fcn.14007fc10
jmp 0x1400c5ba9
lea rcx, [rbp + 0xf0]
call fcn.140083720
mov rcx, rax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r15d, eax
lea rcx, [rbp + 0xf0]
call fcn.14007fc10
test r15d, r15d
je 0x1400c5c03
mov rcx, qword [rsp + 0x68]
call fcn.140083720
mov rdx, rax
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x58]
mov r8d, r13d
mov ecx, 0x7d1
call fcn.140162720
mov r14, rax
test rax, rax
jne 0x1400c5c5b
mov r15, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x70]
lea rdx, str.windowsError
mov rcx, rsi
call fcn.1400d19a0
mov ecx, dword [rsp + 0x70]
cmp ecx, 5
je 0x1400c5c3f
lea eax, [rcx - 0x20]
cmp eax, 1
jbe 0x1400c5c3f
lea eax, [rcx - 2]
cmp eax, 1
seta dil
add edi, 2
mov dword [r15], edi
jmp 0x1400c5c46
mov dword [r15], 1
lea r8, [rbp - 0x80]
lea rdx, str.localWindowsFilePath
mov rcx, rsi
call fcn.1400d1a10
jmp 0x1400c5c7f
cmp byte [rbp + 0x5a8], 0
je 0x1400c5c7f
mov dword [rsp + 0x74], edi
mov r9d, 2
lea r8, [rsp + 0x74]
xor edx, edx
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdi, r14
lea rcx, [rbp + 0x3d0]
call fcn.14007fc10
nop
lea rcx, [rbp - 0x80]
call fcn.14007fc10
mov rax, rdi
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.1402577a0
lea r11, [rsp + 0x650]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret