Function at 0x1400813e0
Capabilities:
Get file attributes
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
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x1403b8008]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
xor r12d, r12d
call fcn.1400a0540
mov rsi, rax
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14008b7a0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400aa908
cmp eax, 8
je 0x140081453
cmp eax, 0xffffffff
je 0x140081453
mov bl, 1
jmp 0x140081455
xor bl, bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140081495
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081dd7
call fcn.1400a96a8
test bl, bl
je 0x140081d9f
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
xor r8d, r8d
lea rdx, [0x14038f568]
lea rcx, [rbp - 0x30]
call fcn.140086a00
nop
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x50]
call fcn.14029a010
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.140083c30
nop
cmp qword [rbp + 0xe0], 0
je 0x140081aa8
mov qword [rsp + 0x30], r12
mov word [rsp + 0x38], 1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x10], xmm0
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x98]
mov qword [rsp + 0x30], rax
test rax, rax
sete byte [rsp + 0x38]
mov byte [rsp + 0x39], 0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14008bfd0
nop
lea rcx, [rbp + 0x50]
call fcn.140083b90
cmp qword [rbp - 0x40], 0
je 0x140081a6d
lea rdx, [rbp + 0x30]
call fcn.1400a0a50
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140084c10
mov rbx, rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140084c10
nop
mov r9, rbx
mov r8, rax
lea rdx, [rbp + 0x10]
call fcn.1400a0800
nop
lea r11, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r11, qword [rbp + 0x10]
mov rbx, qword [rbp + 0x20]
cmp rbx, 0xa
jb 0x140081622
lea r10, [rbx - 9]
lea r10, [r11 + r10*2]
mov rcx, r11
lea r13, [0x14038f550]
nop dword [rax]
mov rax, r10
sub rax, rcx
sar rax, 1
je 0x140081622
cmp word [rcx], 0x74
je 0x1400815eb
add rcx, 2
sub rax, 1
jmp 0x1400815d9
test rcx, rcx
je 0x140081622
mov r8d, 0xa
mov rdx, r13
mov r9, rcx
sub r9, r13
nop
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x14008161c
add rdx, 2
sub r8, 1
jne 0x140081600
sub rcx, r11
sar rcx, 1
jmp 0x140081629
add rcx, 2
jmp 0x1400815d0
mov rcx, 0xffffffffffffffff
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
cmp ecx, 0xffffffff
je 0x1400817e5
add ecx, 0xa
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r12w
movsxd r8, ecx
cmp rbx, r8
cmovb r8, rbx
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140086a00
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400a0c70
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140084b10
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1400816da
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400816d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081ddd
call fcn.1400a96a8
mov qword [rbp], r12
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14008172c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081727
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081de3
call fcn.1400a96a8
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x30]
call fcn.1400842e0
nop
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x140081748
mov r9, qword [rax]
mov rdi, qword [rax + 0x10]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14008178b
lea rax, [rdi + rcx]
mov qword [rbp - 0x60], rax
lea rbx, [rbp - 0x70]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x70]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call fcn.140299960
mov byte [rdi + rbx], 0
jmp 0x1400817a0
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.14008f8a0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008190f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008190a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081dd1
jmp 0x14008190a
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x30]
call fcn.1400a0c70
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140084b10
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008183c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081de9
call fcn.1400a96a8
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x30]
call fcn.1400842e0
mov rdi, rax
mov rax, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov rcx, rdx
sub rcx, rax
cmp rcx, 0xa
jb 0x140081898
lea rcx, [rax + 0xa]
mov qword [rbp - 0x60], rcx
lea rbx, [rbp - 0x70]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x70]
add rbx, rax
mov r8d, 0xa
lea rdx, str.task_ids:
mov rcx, rbx
call fcn.140299960
mov byte [rbx + 0xa], 0
lea rax, [rbp - 0x70]
jmp 0x1400818b8
mov qword [rsp + 0x20], 0xa
lea r9, str.task_ids:
xor r8d, r8d
lea edx, [r8 + 0xa]
lea rcx, [rbp - 0x70]
call fcn.14008f8a0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400818c5
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140086f70
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14008190f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008190a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081def
call fcn.1400a96a8
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140084c10
mov rbx, rax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140084c10
nop
mov r9, rbx
mov r8, rax
lea rdx, [rbp - 0x10]
call fcn.1400a05b0
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140084950
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140081995
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008198f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081df5
call fcn.1400a96a8
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400819d0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400819cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081dfb
call fcn.1400a96a8
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140081a20
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081a1b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e01
call fcn.1400a96a8
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r12w
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140081a6d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081a67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e07
call fcn.1400a96a8
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140081aa8
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081aa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e0d
call fcn.1400a96a8
cmp qword [rbp - 0x20], 0
je 0x140081cf6
mov r8, rsi
lea rdx, [rbp - 0x50]
call fcn.1400a0bb0
cmp qword [rax + 0x18], 8
jb 0x140081ac9
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140081b14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e13
call fcn.1400a96a8
test bl, 2
je 0x140081b7d
mov r8, rsi
lea rdx, [rbp - 0x50]
call fcn.1400a0bb0
cmp qword [rax + 0x18], 8
jb 0x140081b2f
mov rax, qword [rax]
or ebx, 0xfffffffd
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140081b7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081b78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e19
call fcn.1400a96a8
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x160]
call fcn.14029a010
mov rdx, rsi
lea rcx, [rbp + 0x160]
call fcn.140082df0
nop
cmp qword [rbp + 0x1e8], 0
je 0x140081c1e
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
call fcn.1400a0c70
nop
mov rdx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140081bc6
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rbp + 0x160]
call fcn.140091630
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140081c12
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081c0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e1f
call fcn.1400a96a8
lea rcx, [rbp + 0x160]
call fcn.140082d50
mov r8, rsi
lea rdx, [rbp - 0x50]
call fcn.1400a0bb0
cmp qword [rax + 0x18], 8
jb 0x140081c34
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140081c7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081c7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e25
call fcn.1400a96a8
test bl, 2
jne 0x140081ce9
mov r8, rsi
lea rdx, [rbp - 0x50]
call fcn.1400a0bb0
cmp qword [rax + 0x18], 8
jb 0x140081c9a
mov rax, qword [rax]
or ebx, 2
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140081ce9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081ce3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081e2b
call fcn.1400a96a8
nop
lea rcx, [rbp + 0x160]
call fcn.140081e40
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x60]
call fcn.140083ae0
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x50], rax
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x4c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x100], rax
lea rcx, [rbp + 0x100]
call fcn.1400aaf00
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140081d9f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081d9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081dcb
call fcn.1400a96a8
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400a91a0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
nop
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
int3
call fcn.1402a4cc8
int3