Function at 0x14005ab90
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 - 0x60]
sub rsp, 0x160
mov rax, qword [0x1402dc040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rcx
xor r14d, r14d
lea rdx, [rbp + 0x18]
call fcn.14008f660
nop
mov dword [rsp + 0x30], 0x5433b6a0
mov dword [rsp + 0x34], 0xbbac8c27
mov dword [rsp + 0x38], 0x5d91d232
mov dword [rsp + 0x3c], 0xc6e2ce4e
mov dword [rsp + 0x40], 0xd1577e14
mov word [rsp + 0x44], 0x915e
mov qword [rbp + 0x38], r14
mov rax, qword [rbp + 0x38]
nop word [rax + rax]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x38]
movzx edx, byte [rsp + rcx + 0x30]
sub dl, byte [rsp + rax + 0x3b]
mov byte [rsp + 0x20], dl
movzx ecx, byte [rsp + 0x20]
mov rax, qword [rbp + 0x38]
mov byte [rbp + rax + 0x40], cl
mov rax, qword [rbp + 0x38]
inc rax
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
cmp rax, 0xb
jb 0x14005ac10
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 0xa
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.14004a000
nop
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rax, qword [rbp - 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x18]
mov qword [rsp + 0x58], rax
call fcn.14016d514
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x30]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.1400489a0
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x18]
call fcn.140048c00
nop
lea rcx, [rbp - 8]
call fcn.140063360
nop
lea rcx, [rbp - 0x28]
call fcn.1400633d0
cmp byte [rbx], 0
je 0x14005b12e
lea rax, str.Saving_login
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], ntohs
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
call fcn.140066430
nop
lea rdx, [rbx + 8]
cmp qword [rbx + 0x20], 0xf
jbe 0x14005ad0b
mov rdx, qword [rbx + 8]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x60], xmm0
movabs rax, 0xc000000000000000
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 0x28]
cmp qword [rbx + 0x40], 0xf
jbe 0x14005ad3f
mov rdx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x50], xmm0
movabs rax, 0xc000000000000010
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x30], 2
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x50], 0xd3bcd51d
mov dword [rsp + 0x54], 0x58a2436f
mov dword [rsp + 0x58], 0x43f25881
mov qword [rbp + 0x40], r14
mov rax, qword [rbp + 0x40]
nop word [rax + rax]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x40]
movzx edx, byte [rsp + rcx + 0x50]
sub dl, byte [rsp + rax + 0x56]
mov byte [rsp + 0x20], dl
movzx ecx, byte [rsp + 0x20]
mov rax, qword [rbp + 0x40]
mov byte [rbp + rax + 0x38], cl
mov rax, qword [rbp + 0x40]
inc rax
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
cmp rax, 6
jb 0x14005ada0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 5
lea rdx, [rbp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.14004a000
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 8]
call fcn.140065ab0
nop
lea rcx, [rsp + 0x70]
call fcn.1400633d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova rdx, qword [rbp - 8]
mov rdi, qword [rbp + 8]
add rdi, rdx
lea rsi, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova rsi, qword [rbp - 8]
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
sub rdi, rsi
je 0x14005aeaf
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140049dc0
mov rbx, qword [rbp - 0x40]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x18]
call fcn.140048e20
mov rsi, rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov qword [rbp - 0x18], r14
mov rax, qword [rbp - 0x38]
mov rdx, rax
mov rcx, qword [rbp - 0x40]
sub rdx, rcx
je 0x14005af1c
lea rcx, [rbp - 0x28]
call fcn.140049dc0
mov rdi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x38]
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 [rbp - 0x20], rax
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
mov r9, r14
cmp rax, rcx
je 0x14005af5b
mov r10, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005af31
mov r10, qword [rsi]
mov r8, qword [rbp - 0x28]
movzx ecx, byte [r8 + r9]
xor edx, edx
mov rax, r9
div qword [rsi + 0x10]
xor cl, byte [rdx + r10]
mov byte [r8 + r9], cl
inc r9
mov rax, qword [rbp - 0x38]
sub rax, qword [rbp - 0x40]
cmp r9, rax
jb 0x14005af24
lea rcx, [rsp + 0x50]
call fcn.1400633d0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140048e20
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14005af7e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
and ebx, 0xfffffffd
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.140048e20
cmp qword [rax + 0x18], 0xf
jbe 0x14005afa4
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x70]
call fcn.1400633d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400633d0
lea rax, [rsp + 0x30]
mov qword [rbp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r14
mov rdx, qword [rbp - 0x20]
sub rdx, qword [rbp - 0x28]
je 0x14005b013
lea rcx, [rsp + 0x30]
call fcn.140049dc0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
sub rbx, rdx
mov r8, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rdi + rbx]
mov qword [rsp + 0x38], rax
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x70]
call fcn.140061630
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
call fcn.140090550
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140048e20
nop
cmp qword [rax + 0x18], 0xf
jbe 0x14005b04a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
or ebx, 2
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.140048e20
cmp qword [rax + 0x18], 0xf
jbe 0x14005b070
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x70]
call fcn.1400633d0
nop
lea rcx, [rsp + 0x30]
call fcn.1400633d0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14005b0da
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b0c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b0c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016e474
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14005b123
mov rdx, qword [rbp - 0x30]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b112
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b112
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016e474
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
lea rcx, [rbp - 8]
call fcn.1400633d0
jmp 0x14005b145
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 8]
call fcn.140061630
lea rdx, [rbp - 8]
call fcn.140090870
nop
lea rcx, [rbp + 0x18]
call fcn.140063360
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14016dfe0
lea r11, [rsp + 0x160]
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