Function at 0x1401fb4f0
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 [0x14049bcb8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rsi, rcx
lea rcx, [rbp - 0x40]
call qword [sym.imp.VBoxRT.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 0x1401fb541
mov ebx, 0xffffffea
jmp 0x1401fb6a1
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 0x1401fb577
cmp dword [rbp - 0x50], 8
je 0x1401fb59b
lea ebx, [rdi - 1]
jmp 0x1401fb643
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401fb589
lea ebx, [rax - 1]
jmp 0x1401fb643
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
mov ebx, eax
test eax, eax
js 0x1401fb643
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
cmp rdx, 0xffffffffffffffff
jne 0x1401fb5b6
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::setNull_void____ptr64]
mov ebx, edi
jmp 0x1401fb647
inc rdx
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::reserve_unsigned_long_long_unsigned___int64_____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.VBoxRT.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.VBoxRT.dll_public:_char____ptr64___cdecl_RTCString::mutableRaw_void____ptr64]
test rax, rax
je 0x1401fb63e
test rbx, rbx
je 0x1401fb63e
test byte [rsi + 8], 1
jne 0x1401fb5f6
mov ebx, 0xffffffea
jmp 0x1401fb643
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 0x1401fb623
mov eax, dword [rbp - 0x50]
sub rax, rbx
neg rax
sbb ebx, ebx
jmp 0x1401fb643
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401fb632
lea ebx, [rax - 1]
jmp 0x1401fb643
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
mov ebx, eax
jmp 0x1401fb643
mov ebx, 0xfffffffe
test ebx, ebx
js 0x1401fb6a1
lea rcx, [rbp - 0x40]
call qword [sym.imp.VBoxRT.dll_public:_char_const____ptr64___cdecl_RTCString::c_str_void_const___ptr64]
test rax, rax
je 0x1401fb68b
cmp byte [rax], dil
je 0x1401fb68b
mov rdx, rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.VBoxRT.dll_RTUuidFromStr]
lea rcx, [rbp - 0x20]
test eax, eax
js 0x1401fb67e
call qword [sym.imp.VBoxRT.dll_RTUuidIsNull]
test al, al
sete dil
jmp 0x1401fb695
call qword [sym.imp.VBoxRT.dll_RTUuidClear]
mov edi, 2
jmp 0x1401fb695
lea rcx, [rbp - 0x20]
call qword [sym.imp.VBoxRT.dll_RTUuidClear]
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], edi
lea rcx, [rbp - 0x40]
call qword [sym.imp.VBoxRT.dll_public_virtual:_void___cdecl_RTCString::destructor_void____ptr64]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140202f70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret