Function at 0x1401d3350
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 [0x140445eb8]
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 0x1401d33a1
mov ebx, 0xffffffea
jmp 0x1401d3501
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 0x1401d33d7
cmp dword [rbp - 0x50], 8
je 0x1401d33fb
lea ebx, [rdi - 1]
jmp 0x1401d34a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401d33e9
lea ebx, [rax - 1]
jmp 0x1401d34a3
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
mov ebx, eax
test eax, eax
js 0x1401d34a3
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x40]
cmp rdx, 0xffffffffffffffff
jne 0x1401d3416
call qword [sym.imp.VBoxRT.dll_public:_void___cdecl_RTCString::setNull_void____ptr64]
mov ebx, edi
jmp 0x1401d34a7
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 0x1401d349e
test rbx, rbx
je 0x1401d349e
test byte [rsi + 8], 1
jne 0x1401d3456
mov ebx, 0xffffffea
jmp 0x1401d34a3
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 0x1401d3483
mov eax, dword [rbp - 0x50]
sub rax, rbx
neg rax
sbb ebx, ebx
jmp 0x1401d34a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1401d3492
lea ebx, [rax - 1]
jmp 0x1401d34a3
mov ecx, eax
call qword [sym.imp.VBoxRT.dll_RTErrConvertFromWin32]
mov ebx, eax
jmp 0x1401d34a3
mov ebx, 0xfffffffe
test ebx, ebx
js 0x1401d3501
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 0x1401d34eb
cmp byte [rax], dil
je 0x1401d34eb
mov rdx, rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.VBoxRT.dll_RTUuidFromStr]
lea rcx, [rbp - 0x20]
test eax, eax
js 0x1401d34de
call qword [sym.imp.VBoxRT.dll_RTUuidIsNull]
test al, al
sete dil
jmp 0x1401d34f5
call qword [sym.imp.VBoxRT.dll_RTUuidClear]
mov edi, 2
jmp 0x1401d34f5
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.1401db5e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret