Function at 0x140053790
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14025d030]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rbx, rcx
xor r14d, r14d
lea rdx, [rbp + 0x80]
call fcn.140075ca0
nop
mov dword [rsp + 0x40], 0xe0b1853a
mov dword [rsp + 0x44], 0x46f059c5
mov dword [rsp + 0x48], 0xf7c0a91c
mov dword [rsp + 0x4c], 0x646e4c1d
mov dword [rsp + 0x50], 0xbbe2c2e1
mov word [rsp + 0x54], 0xc035
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
movzx edx, byte [rsp + rcx + 0x40]
sub dl, byte [rsp + rax + 0x4b]
mov byte [rsp + 0x20], dl
movzx ecx, byte [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov byte [rbp + rax + 0xa8], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp rax, 0xb
jb 0x140053811
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov r8d, 0xa
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x40]
call fcn.140062b80
nop
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rax, qword [rbp + 0x40]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x60]
call fcn.140066f70
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400485a0
nop
lea rcx, [rbp + 0x60]
call fcn.140055ab0
nop
lea rcx, [rbp + 0x40]
call fcn.140057660
cmp byte [rbx], 0
je 0x140053d05
lea rdx, [rbx + 8]
cmp qword [rbx + 0x20], 0x10
jb 0x1400538db
mov rdx, qword [rbx + 8]
mov rax, qword [rbx + 0x18]
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rbp], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x10], rax
lea rdx, [rbx + 0x28]
cmp qword [rbx + 0x40], 0x10
jb 0x14005390c
mov rdx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x38]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rax
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x10], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 8], rax
mov qword [rbp - 0x20], 2
lea rax, [rbp - 0x10]
mov qword [rbp - 0x18], rax
mov dword [rsp + 0x30], 0x8da9a1f5
mov dword [rsp + 0x34], 0x247a0054
mov dword [rsp + 0x38], 0xd7126e
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
movzx edx, byte [rsp + rcx + 0x30]
sub dl, byte [rsp + rax + 0x36]
mov byte [rsp + 0x20], dl
movzx ecx, byte [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov byte [rbp + rax + 0xa0], cl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp rax, 6
jb 0x140053960
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov r8d, 5
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x80]
call fcn.140062b80
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rax, qword [rbp - 0x80]
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x60]
call fcn.14005a870
nop
lea rcx, [rbp - 0x80]
call fcn.140057660
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x70]
add rdi, rdx
lea rsi, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rsi, qword [rbp + 0x60]
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r14
sub rdi, rsi
je 0x140053a70
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.14005d830
mov rbx, qword [rbp + 0x20]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call fcn.1400487f0
mov rsi, rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov qword [rbp + 0x50], r14
mov rax, qword [rbp + 0x28]
mov rdx, rax
mov rcx, qword [rbp + 0x20]
sub rdx, rcx
je 0x140053adf
lea rcx, [rbp + 0x40]
call fcn.14005d830
mov rdi, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov r8, r14
cmp rax, rcx
je 0x140053b28
nop word [rax + rax]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140053afd
mov rcx, qword [rsi]
xor edx, edx
mov rax, r8
div qword [rsi + 0x10]
add rdx, rcx
mov rcx, qword [rbp + 0x40]
movzx eax, byte [rcx + r8]
xor al, byte [rdx]
mov byte [rcx + r8], al
inc r8
mov rax, qword [rbp + 0x28]
sub rax, qword [rbp + 0x20]
cmp r8, rax
jb 0x140053af0
lea rcx, [rbp - 0x80]
call fcn.140057660
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400487f0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140053b4c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
and ebx, 0xfffffffd
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400487f0
cmp qword [rax + 0x18], 0x10
jb 0x140053b75
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x60]
call fcn.140057660
nop
lea rcx, [rbp - 0x60]
call fcn.140057660
lea rax, [rsp + 0x60]
mov qword [rbp + 0xa0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov rdx, qword [rbp + 0x48]
sub rdx, qword [rbp + 0x40]
je 0x140053be6
lea rcx, [rsp + 0x60]
call fcn.14005d830
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x68], rax
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x60]
call fcn.140048cb0
nop
lea r8, [rsp + 0x60]
mov rdx, rax
call fcn.140076550
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400487f0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140053c1f
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
or ebx, 2
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.1400487f0
cmp qword [rax + 0x18], 0x10
jb 0x140053c48
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x60]
call fcn.140057660
nop
lea rcx, [rbp - 0x60]
call fcn.140057660
nop
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140053cb1
mov rdx, qword [rbp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053ca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053ca0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013f070
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140053cfa
mov rdx, qword [rbp + 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053ce9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140053ce9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013f070
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x60]
call fcn.140057660
jmp 0x140053d1e
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x80]
call fcn.140048cb0
mov rdx, rax
call fcn.140076940
nop
lea rcx, [rbp + 0x80]
call fcn.140055ab0
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.14013ea20
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret