Function at 0x140001b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
lea rbp, [rsp - 0x14220]
mov eax, 0x14320
call fcn.140010ed0
sub rsp, rax
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x14330], rbx
mov qword [rsp + 0x14340], rsi
mov qword [rsp + 0x14348], rdi
mov rax, qword [0x1400259a8]
xor rax, rsp
mov qword [rbp + 0x14210], rax
mov rbx, rdx
cmp ecx, 1
jle 0x140001f9f
mov rcx, qword [rdx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001f9f
xor esi, esi
mov word [rbp + 0x210], si
xor edx, edx
mov r8d, 0x13ffe
lea rcx, [rbp + 0x212]
call fcn.14000a8d0
lea rax, [0x1400206e8]
mov qword [rbp + 0xf0], rax
lea rax, [0x1400206e0]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x1d8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1e0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1f0], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmmword [rbp + 0x140], xmm1
mov qword [rbp + 0x158], rsi
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmmword [rbp + 0x170], xmm1
mov qword [rbp + 0x180], rsi
mov qword [rbp + 0x198], rsi
mov rdx, qword [rbx + 8]
lea rcx, [rbp + 0xf0]
call fcn.1400026a0
nop
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0xf0]
call fcn.140002370
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x48], si
cmp word [rbp + 0x210], si
jne 0x140001cd4
mov r8d, esi
jmp 0x140001ceb
lea rax, [rbp + 0x210]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140001ce0
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x48]
call fcn.140004a20
nop
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x50], si
mov r8d, 6
lea rdx, str.SOFT_
lea rcx, [rsp + 0x50]
call fcn.140004a20
nop
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
mov r8d, 0xa
lea rdx, str.SOFTWARE_
lea rcx, [rsp + 0x30]
call fcn.140004a20
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call fcn.140001ac0
mov rdi, rax
lea rax, [rbp - 0x68]
cmp rax, rdi
je 0x140001db2
cmp qword [rbp - 0x50], 8
jb 0x140001d96
mov rcx, qword [rbp - 0x68]
call fcn.1400061f0
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.140003990
cmp qword [rbp - 0x78], 8
jb 0x140001dc3
mov rcx, qword [rsp + 0x70]
call fcn.1400061f0
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rsi
mov word [rsp + 0x70], si
cmp qword [rsp + 0x48], 8
jb 0x140001de6
mov rcx, qword [rsp + 0x30]
call fcn.1400061f0
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x30], si
cmp qword [rsp + 0x68], 8
jb 0x140001e0b
mov rcx, qword [rsp + 0x50]
call fcn.1400061f0
lea rax, [0x1400206e0]
mov qword [rbp - 0x20], rax
mov qword [rbp + 0xb8], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmmword [rbp], xmm1
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmmword [rbp + 0x20], xmm1
mov qword [rbp + 0x38], rsi
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmmword [rbp + 0x50], xmm1
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x78], rsi
lea rcx, [rbp - 0x20]
call fcn.140003290
nop
mov r8d, 0x32
mov rdx, qword [rbx + 8]
lea rcx, [rbp - 0x18]
call fcn.140004180
test rax, rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rcx, [rbp + rcx - 0x20]
jne 0x140001e9e
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x140001eac
or edx, 4
jmp 0x140001eac
mov edx, esi
mov eax, 4
cmp qword [rcx + 0x48], rdx
cmove edx, eax
xor r8d, r8d
call fcn.140001730
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
add r8, r8
lea rcx, [rbp - 0x20]
call fcn.140002140
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.1400028f0
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x24], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x88], rbx
lea rcx, [rbp + 0x88]
call fcn.140005b78
nop
cmp qword [rbp - 0x50], 8
jb 0x140001f50
mov rcx, qword [rbp - 0x68]
call fcn.1400061f0
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x68], si
cmp qword [rbp - 0x30], 8
jb 0x140001f70
mov rcx, qword [rbp - 0x48]
call fcn.1400061f0
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], rsi
mov word [rbp - 0x48], si
lea rcx, [rbp + 0x1a8]
call fcn.140002790
mov qword [rbp + 0x1a8], rbx
lea rcx, [rbp + 0x1a8]
call fcn.140005b78
xor eax, eax
mov rcx, qword [rbp + 0x14210]
xor rcx, rsp
call fcn.140005fa0
lea r11, [rsp + 0x14320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret