Function at 0x1401cd830
Capabilities:
Check if file exists
Create directory
Delete directory
Delete file
Get 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 - 0x110]
sub rsp, 0x210
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov rdi, rcx
mov qword [rbp + 0xc0], rcx
xor r12d, r12d
mov dword [rsp + 0x38], r12d
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysis_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea r13, [0x14029d340]
bt eax, 0xa
jae 0x1401cd89c
mov rcx, r13
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__rmdir
lea rcx, str.C:ProgramData_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401cd8b5
shr eax, 4
and al, 1
jne 0x1401cd8c1
lea rcx, str.C:ProgramData_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
lea rcx, str.C:ProgramDataASUS_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401cd8da
shr eax, 4
and al, 1
jne 0x1401cd8e6
lea rcx, str.C:ProgramDataASUS_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401cd8ff
shr eax, 4
and al, 1
jne 0x1401cd90b
lea rcx, str.C:ProgramDataASUSASUS_System_Control_Interface_
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1401cd920
shr eax, 4
and al, 1
jne 0x1401cd928
mov rcx, r13
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
lea rcx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysis_
call fcn.1401cc540
mov r15d, SafeArrayGetLBound
mov qword [rbp + 0xe0], r15
mov r8d, SafeArrayGetLBound
mov qword [rbp + 0xd8], r8
movsd xmm0, qword [str.ActiveDate.dat]
movsd qword [rbp + 0xc8], xmm0
mov eax, dword [0x1402b26d8]
mov dword [rbp + 0xd0], eax
movzx eax, word [0x1402b26dc]
mov word [rbp + 0xd4], ax
mov byte [rbp + 0xd6], 0
mov r14d, 0x45
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp + 0xc8]
call fcn.1400d2c60
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf8], r12
mov qword [rbp + 0x100], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r15
mov byte [rax], 0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x1401cda1a
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cda15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ce4a2
call fcn.1401e3784
lea rax, [0x14029cff8]
mov qword [rsp + 0x70], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x48], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
mov dword [rsp + 0x38], 3
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x14], 0x98
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
call fcn.140148410
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.1401bfd50
nop
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
mov r14, qword [rbp + 0xf8]
lea rsi, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rsi, qword [rbp + 0xe8]
movabs rax, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x1401cdae7
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0xc8], xmm0
mov rbx, r15
jmp 0x1401cdb14
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
mov qword [rbp + 0xc8], rax
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14021bb20
mov qword [rbp + 0xd8], r14
mov qword [rbp + 0xe0], rbx
lea rcx, [rbp + 0xc8]
call fcn.1401d1e80
mov esi, 6
lea r14d, [rsi - 2]
lea r13d, [rsi - 4]
test al, al
je 0x1401cde5f
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rcx, qword [rbp + 0xe8]
mov dl, 0x6b
call fcn.1401c4f60
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
mov r13, qword [rbp + 0xf8]
lea r15, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae r15, qword [rbp + 0xe8]
cmp r13, 0x10
jae 0x1401cdbb0
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0xc8], xmm0
mov r15d, SafeArrayGetLBound
mov ebx, r15d
jmp 0x1401cdbed
mov rbx, r13
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
mov qword [rbp + 0xc8], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call fcn.14021bb20
mov r15d, SafeArrayGetLBound
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], rbx
lea rcx, [rbp + 0xc8]
call fcn.1401cf900
test al, al
jne 0x1401cdf25
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rcx, qword [rbp + 0xe8]
mov dl, 0x6b
call fcn.1401c4f60
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
mov r13, qword [rbp + 0xf8]
lea r15, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae r15, qword [rbp + 0xe8]
cmp r13, 0x10
jae 0x1401cdc7c
movups xmm0, xmmword [r15]
movups xmmword [rbp + 0xc8], xmm0
mov r15d, SafeArrayGetLBound
mov ebx, r15d
jmp 0x1401cdcb9
mov rbx, r13
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
mov qword [rbp + 0xc8], rax
lea r8, [r13 + 1]
mov rdx, r15
mov rcx, rax
call fcn.14021bb20
mov r15d, SafeArrayGetLBound
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], rbx
lea rcx, [rbp + 0xc8]
call fcn.1401cf900
test al, al
jne 0x1401cdf25
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r15
mov ecx, 0x40
call fcn.1400d1570
mov rdx, rax
mov qword [rbp + 0xd8], 0x3b
mov qword [rbp + 0xe0], 0x3f
movups xmm0, xmmword [str._Utility__SaveActiveDate__Verify_ActiveDate.dat_file_failed]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402b2850]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402b2860]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1402b2870]
movsd qword [rax + 0x30], xmm1
movzx ecx, word [0x1402b2878]
mov word [rax + 0x38], cx
movzx eax, byte [0x1402b287a]
mov byte [rdx + 0x3a], al
mov byte [rdx + 0x3b], 0
mov qword [rbp + 0xc8], rdx
lea rcx, [rbp + 0xc8]
call fcn.14017eab0
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rcx, qword [rbp + 0xe8]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
nop
lea rcx, [rsp + 0x70]
call fcn.140118900
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x1401cddd5
inc rdx
mov rcx, qword [rbp + 0xe8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1401cddd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ce496
call fcn.1401e3784
mov qword [rbp + 0xf8], r12
mov qword [rbp + 0x100], r15
mov byte [rbp + 0xe8], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1401cde24
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1401cde1f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401ce49c
mov rcx, r8
call fcn.1401e3784
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r15
mov byte [rdi], 0
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.1401e3ce0
lea r11, [rsp + 0x210]
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
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rdx, qword [rbp + 0xe8]
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rcx, [rsp + 0x78]
call fcn.1401d9290
test rax, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
je 0x1401cdeb5
mov eax, r14d
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, r12d
mov dword [rbp + rcx - 0x80], eax
test dword [rbp + rcx - 0x7c], eax
jne 0x1401ce428
jmp 0x1401cded6
mov eax, esi
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, r13d
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
and eax, dword [rbp + rcx - 0x7c]
jne 0x1401ce4a8
cmp qword [rbp - 8], 0
je 0x1401ce2d5
lea rdx, str._AsusSystemAnalysis_
lea rcx, [rsp + 0x70]
call fcn.140148760
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14014f4a0
movzx edx, al
mov rcx, rbx
call fcn.14014f030
mov rcx, rbx
call fcn.14014ecb0
lea rcx, [rsp + 0x70]
call fcn.1401d1310
jmp 0x1401cdf2b
mov r13d, 2
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rdx, qword [rbp + 0xe8]
mov r9d, 0x40
lea r8d, [r9 - 0x36]
lea rcx, [rsp + 0x78]
call fcn.1401d9290
test rax, rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
je 0x1401cdf80
cmp qword [rbp + rcx - 0x48], 0
cmovne r14d, r12d
mov dword [rbp + rcx - 0x80], r14d
test dword [rbp + rcx - 0x7c], r14d
jne 0x1401ce45f
jmp 0x1401cdfa1
mov eax, esi
cmp qword [rbp + rcx - 0x48], 0
cmovne eax, r13d
or eax, dword [rbp + rcx - 0x80]
and eax, 0x17
mov dword [rbp + rcx - 0x80], eax
and eax, dword [rbp + rcx - 0x7c]
jne 0x1401ce4fe
cmp qword [rbp - 8], 0
je 0x1401ce187
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401cdfb9
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140117c60
mov rcx, rax
mov dl, 0x2c
call fcn.1401bf0f0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x68], rax
mov rdx, rdi
lea rcx, [rbp + 0xa0]
call fcn.1400da220
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1401d99b0
mov rbx, rax
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], 7
mov r8d, 9
lea rdx, str.ActiveDay
lea rcx, [rbp + 0xc8]
call fcn.1400e83c0
nop
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 7
mov r8d, 0x3e
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rbp + 0x80]
call fcn.1400e83c0
nop
mov r9, rbx
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0x80]
mov rcx, 0xffffffff80000002
call fcn.1401bd040
mov r13, qword [rdi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x2b
jb 0x1401ce553
mov r12, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1401ce0b4
mov r12, qword [rdi]
xor eax, eax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
lea r15, [r13 + 0x2b]
mov ebx, SafeArrayGetLBound
lea r14, [rbp + 0xc8]
cmp r15, rbx
jbe 0x1401ce110
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1401ce0f1
mov rbx, rcx
jmp 0x1401ce0fd
mov eax, SafeArrayPutElement
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
mov r14, rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0xe0], rbx
movups xmm0, xmmword [str._Utility__SaveActiveDate__Set_active_date:]
movups xmmword [r14], xmm0
movups xmm1, xmmword [0x1402b28f0]
movups xmmword [r14 + 0x10], xmm1
movsd xmm0, qword [0x1402b2900]
movsd qword [r14 + 0x20], xmm0
movzx ecx, word [0x1402b2908]
mov word [r14 + 0x28], cx
movzx eax, byte [0x1402b290a]
mov byte [r14 + 0x2a], al
lea rcx, [r14 + 0x2b]
mov r8, r13
mov rdx, r12
call fcn.14021bb20
mov byte [r14 + r15], 0
lea rcx, [rbp + 0xc8]
call fcn.14017eab0
xor r12d, r12d
lea r15d, [r12 + 0xf]
jmp 0x1401ce20a
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r15
mov ecx, 0x40
call fcn.1400d1570
mov qword [rbp + 0xd8], 0x39
mov qword [rbp + 0xe0], 0x3f
movups xmm0, xmmword [str._Utility__SaveActiveDate__Open_ActiveDate.dat_file_failed]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1402b2920]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402b2930]
movups xmmword [rax + 0x20], xmm0
movsd xmm1, qword [0x1402b2940]
movsd qword [rax + 0x30], xmm1
movzx ecx, byte [0x1402b2948]
mov byte [rax + 0x38], cl
mov byte [rax + 0x39], 0
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0xc8]
call fcn.14017eab0
lea rcx, [rsp + 0x78]
call fcn.14017fd50
test rax, rax
jne 0x1401ce245
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx - 0x48], 0
mov eax, 2
cmovne esi, eax
or esi, dword [rbp + rcx - 0x80]
and esi, 0x17
mov dword [rbp + rcx - 0x80], esi
and esi, dword [rbp + rcx - 0x7c]
jne 0x1401ce3d1
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rcx, qword [rbp + 0xe8]
mov dl, 0x6b
call fcn.1401c4f60
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140118600
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.1401e67cc
nop
jmp 0x1401cdd94
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r15
mov ecx, 0x50
call fcn.1400d1570
mov qword [rbp + 0xd8], 0x41
mov qword [rbp + 0xe0], 0x4f
movaps xmm0, xmmword [str._Utility__SaveActiveDate__Open_created_ActiveDate.dat_file_failed]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1402b2890]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1402b28a0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1402b28b0]
movups xmmword [rax + 0x30], xmm1
movzx ecx, byte [0x1402b28c0]
mov byte [rax + 0x40], cl
mov byte [rax + 0x41], 0
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0xc8]
call fcn.14017eab0
lea rcx, [rsp + 0x70]
call fcn.1401d1310
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rcx, qword [rbp + 0xe8]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
nop
lea rcx, [rsp + 0x70]
call fcn.140118900
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x1401cddd5
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cddd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401ce496
jmp 0x1401cddd0
test sil, 4
je 0x1401ce3e0
lea rbx, str.ios_base::badbit_set
jmp 0x1401ce3f5
test al, sil
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0xc8]
call fcn.1400eedc0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400daf90
lea rdx, [0x1403031c8]
lea rcx, [rsp + 0x40]
call fcn.14021a94c
int3
mov edx, 1
lea rcx, [rbp + 0xc8]
call fcn.1400eedc0
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0x40]
call fcn.1400daf90
lea rdx, [0x1403031c8]
lea rcx, [rsp + 0x40]
call fcn.14021a94c
int3
mov edx, 1
lea rcx, [rbp + 0xc8]
call fcn.1400eedc0
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rsp + 0x40]
call fcn.1400daf90
lea rdx, [0x1403031c8]
lea rcx, [rsp + 0x40]
call fcn.14021a94c
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
test r14b, al
je 0x1401ce4b6
lea rbx, str.ios_base::badbit_set
jmp 0x1401ce4cb
test r13b, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0xc8]
call fcn.1400eedc0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400daf90
lea rdx, [0x1403031c8]
lea rcx, [rsp + 0x40]
call fcn.14021a94c
int3
test r14b, al
je 0x1401ce50c
lea rbx, str.ios_base::badbit_set
jmp 0x1401ce520
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp + 0xc8]
call fcn.1400eedc0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400daf90
lea rdx, [0x1403031c8]
lea rcx, [rsp + 0x40]
call fcn.14021a94c
int3
call fcn.1400e7e40
int3