Function at 0x1401a7b20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1403a1d18]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rsi, rcx
lea rcx, [rbp - 0x40]
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::constructor_void____ptr64]
lea rax, vtable.com::Utf8Str.0
mov qword [rbp - 0x40], rax
test byte [rsi + 8], 1
jne 0x1401a7b71
mov ebx, 0xffffffea
jmp 0x1401a7cd1
xor edi, edi
mov qword [rbp - 0x48], rdi
mov dword [rbp - 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
lea r8d, [rdi + 8]
lea rdx, [rbp - 0x48]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401a7ba7
cmp dword [rbp - 0x50], 8
je 0x1401a7bcb
lea ebx, [rdi - 1]
jmp 0x1401a7c73
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401a7bb9
lea ebx, [rax - 1]
jmp 0x1401a7c73
mov ecx, eax
call qword [sym.imp.BstkRT.dll_RTErrConvertFromWin32]
mov ebx, eax
test eax, eax
js 0x1401a7c73
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
cmp rdx, 0xffffffffffffffff
jne 0x1401a7be6
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::setNull_void____ptr64]
mov ebx, edi
jmp 0x1401a7c77
inc rdx
call qword [sym.imp.BstkRT.dll_public:_void___cdecl_RTCString::reserve_unsigned_long_long_unsigned___int64_____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.BstkRT.dll_public:_char____ptr64___cdecl_RTCString::mutableRaw_void____ptr64]
mov rcx, qword [rbp - 0x48]
mov byte [rax + rcx], dil
mov rbx, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
call qword [sym.imp.BstkRT.dll_public:_char____ptr64___cdecl_RTCString::mutableRaw_void____ptr64]
test rax, rax
je 0x1401a7c6e
test rbx, rbx
je 0x1401a7c6e
test byte [rsi + 8], 1
jne 0x1401a7c26
mov ebx, 0xffffffea
jmp 0x1401a7c73
mov dword [rbp - 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
mov r8d, ebx
mov rdx, rax
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401a7c53
mov eax, dword [rbp - 0x50]
sub rax, rbx
neg rax
sbb ebx, ebx
jmp 0x1401a7c73
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401a7c62
lea ebx, [rax - 1]
jmp 0x1401a7c73
mov ecx, eax
call qword [sym.imp.BstkRT.dll_RTErrConvertFromWin32]
mov ebx, eax
jmp 0x1401a7c73
mov ebx, 0xfffffffe
test ebx, ebx
js 0x1401a7cd1
lea rcx, [rbp - 0x40]
call qword [sym.imp.BstkRT.dll_public:_char_const____ptr64___cdecl_RTCString::c_str_void_const___ptr64]
test rax, rax
je 0x1401a7cbb
cmp byte [rax], dil
je 0x1401a7cbb
mov rdx, rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.BstkRT.dll_RTUuidFromStr]
lea rcx, [rbp - 0x20]
test eax, eax
js 0x1401a7cae
call qword [sym.imp.BstkRT.dll_RTUuidIsNull]
test al, al
sete dil
jmp 0x1401a7cc5
call qword [sym.imp.BstkRT.dll_RTUuidClear]
mov edi, 2
jmp 0x1401a7cc5
lea rcx, [rbp - 0x20]
call qword [sym.imp.BstkRT.dll_RTUuidClear]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], edi
lea rcx, [rbp - 0x40]
call qword [sym.imp.BstkRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401af5e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret