Function at 0x140041b00
Capabilities:
Check if file exists
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 [0x1401807c0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r13, r8
mov r14, rdx
mov r12, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edi, edi
lea rax, [rdx - 3]
test rax, rax
je 0x140041ec3
mov rax, r13
cmp qword [r13 + 0x18], 0xf
jbe 0x140041b64
mov rax, qword [r13]
lea r15, [r12 + rdi]
movzx eax, byte [rax]
cmp byte [r15], al
jne 0x140041eb3
cmp byte [r15 + 1], 0x3a
jne 0x140041eb3
cmp byte [r15 + 2], 0x5c
jne 0x140041eb3
mov rbx, rdi
cmp rdi, r14
jae 0x140041ba9
movsx ecx, byte [r12 + rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isprint]
test eax, eax
je 0x140041ba9
inc rbx
cmp rbx, r14
jb 0x140041b92
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov r8, rbx
sub r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140001c50
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
add r8, rdx
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400426d0
nop
or esi, 1
mov dword [rsp + 0x20], esi
mov rcx, rax
call fcn.1400413f0
test al, al
je 0x140041c64
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
add r8, rdx
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400426d0
or esi, 2
cmp qword [rax + 0x18], 7
jbe 0x140041c4d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140041c64
test al, 0x10
jne 0x140041c64
mov dil, 1
jmp 0x140041c67
xor dil, dil
test sil, 2
je 0x140041c7a
and esi, 0xfffffffd
lea rcx, [rbp - 0x20]
call fcn.140004ab0
nop
test sil, 1
je 0x140041c8d
and esi, 0xfffffffe
lea rcx, [rsp + 0x28]
call fcn.140004ab0
test dil, dil
je 0x140041ea7
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1401564f0]
mov qword [rbp], rax
lea rax, [0x140152430]
mov qword [rbp + 0x10], rax
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 4
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rdx, [rbp + 0x18]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x18], rax
xor r15d, r15d
mov qword [rbp + 0x80], r15
mov dword [rbp + 0x88], r15d
lea rdx, str.FAT_Drive_File_Replaced_Renamed:
lea rcx, [rbp + 0x10]
call fcn.140026750
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
mov rcx, rax
call fcn.1400277e0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x18]
call fcn.140004a00
or esi, 8
call fcn.140002420
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov r8d, 3
lea rdx, [0x140152114]
lea rcx, [rsp + 0x28]
call fcn.140001c50
nop
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], 3
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], r15b
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.140004250
nop
or esi, 0x10
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.140004250
or esi, 0x20
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.140004b80
nop
lea rcx, [rsp + 0x48]
call fcn.140004b20
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400025b0
lea rcx, [rbp - 0x60]
call fcn.140004b20
lea rcx, [rbp - 0x80]
call fcn.140004b20
nop
lea rcx, [rsp + 0x28]
call fcn.140004b20
nop
lea rcx, [rbp - 0x20]
call fcn.140004b20
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.140004950
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x98]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdi, rbx
lea rcx, [rbp - 0x40]
call fcn.140004b20
inc rdi
lea rax, [r14 - 3]
cmp rdi, rax
jb 0x140041b56
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14011ab50
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