Function at 0x1401bada0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x310
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rsp + 0x328], rbx
mov rdi, rcx
mov edx, 0x80
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
mov rdx, qword [rdi + 0x20]
lea rcx, [rsp + 0xd0]
call fcn.1401b6800
nop
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0xe0], 6
je 0x1401bae76
lea rax, [rsp + 0x180]
mov qword [rsp + 0x320], rax
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xd0], rax
lea rcx, [rsp + 0xe0]
call fcn.14005d3d0
nop
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xd0], rax
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x180]
call fcn.140218da8
jmp 0x1401bb067
movsxd rax, dword [rax + 4]
xor r8d, r8d
mov rdx, qword [rsp + rax + 0x118]
lea rcx, [rsp + 0x48]
call fcn.140223d60
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140221010
nop
lea rax, vtable.boost::archive::binary_iarchive_impl_class_boost::archive::binary_iarchive__char__struct_std::char_traits_char__.0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
call fcn.140224070
lea rcx, [rsp + 0x48]
call fcn.140223680
nop
lea rcx, [rsp + 0x68]
call fcn.14021daa0
lea rax, vtable.boost::archive::binary_iarchive.0
mov qword [rsp + 0x30], rax
mov rdx, rdi
lea rcx, [rsp + 0x41]
call fcn.1401ba480
nop
lea rcx, [rsp + 0x68]
call fcn.14021eab0
nop
lea rcx, [rsp + 0x30]
call fcn.1402210d0
nop
lea rcx, [rsp + 0x48]
call fcn.140223580
nop
jmp 0x1401baf12
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rax
lea rdx, [rdi + 0x58]
lea rcx, [rsp + 0x1e0]
call fcn.1401b6750
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.1401b6300
mov r11, qword [rdi + 0x80]
mov rcx, qword [rdi + 0x78]
mov rbx, qword [rsp + 0xa0]
mov rdx, rbx
cmp rcx, r11
je 0x1401bafc8
movzx eax, byte [rdx]
cmp byte [rcx], al
jne 0x1401baf7c
inc rcx
inc rdx
cmp rcx, r11
jne 0x1401baf68
jmp 0x1401bafc8
test rbx, rbx
je 0x1401baf8a
mov rcx, rbx
call fcn.140250354
nop
lea rax, [rsp + 0x180]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xd0], rax
lea rcx, [rsp + 0xe0]
call fcn.14005d3d0
nop
jmp 0x1401bae3a
mov edx, 2
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
test rbx, rbx
je 0x1401bafe6
mov rcx, rbx
call fcn.140250354
nop
lea rax, [rsp + 0x180]
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xd0], rax
lea rcx, [rsp + 0xe0]
call fcn.14005d3d0
nop
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0xd0], rax
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x180], rax
lea rcx, [rsp + 0x180]
call fcn.140218da8
mov al, 1
jmp 0x1401bb069
xor al, al
mov rbx, qword [rsp + 0x328]
add rsp, 0x310
pop rdi
ret