Function at 0x1400571d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140186768]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r12, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x68], rdx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x10]
call fcn.1400ec440
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.1400984e0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.14005d9d0
nop
cmp dword [rsp + 0x70], 0
je 0x140057266
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
jmp 0x1400575ee
lea rcx, [rbp + 0x10]
call fcn.140098a00
test rax, rax
jne 0x140057323
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
mov edx, 0xa0000002
lea rcx, [rbp - 0x18]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS____ptr64
nop
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400097b0
nop
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r8, qword [rsp + 0x30]
lea rdx, str.Geometry_for_disk___s__is_null
lea rcx, [rbp - 0x18]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::AddErrorMessage_wchar_t_const____ptr64____ptr64
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140057308
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057303
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057641
call fcn.1400e9ac4
lea rdx, [rbp - 0x18]
mov rcx, rdi
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rbp - 0x18]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
jmp 0x1400575ee
lea rcx, [rbp + 0x10]
call fcn.140098a00
movups xmm0, xmmword [rax]
movups xmmword [r14 + 0x4918], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x4928], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [r14 + 0x4938], xmm0
movsxd r15, dword [r14 + 0x492c]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r13d, r13d
mov qword [rsp + 0x60], r13
test r15d, r15d
je 0x1400573ac
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x140057647
lfence
mov rcx, r15
call fcn.14000a0b0
mov qword [rsp + 0x50], rax
lea rbx, [rax + r15]
mov qword [rsp + 0x60], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1400ec440
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x68]
mov r8d, r15d
mov rdx, qword [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140057468
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x68]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x60], eax
lea r8, str.Error_while_reading_MBR_record
mov edx, 0x20000001
lea rcx, [rbp - 0x68]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS__char_const____ptr64____ptr64
lea rdx, [rbp - 0x68]
mov rcx, rdi
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rbp - 0x68]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400575ee
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400575db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057635
jmp 0x1400575db
cmp dword [rsp + 0x68], 0x200
jae 0x14005750a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x40]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x38], eax
lea r8, str.MBR_record_read_returned_too_few_bytes
mov edx, 0xa0000002
lea rcx, [rbp - 0x40]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS__char_const____ptr64____ptr64
lea rdx, [rbp - 0x40]
mov rcx, rdi
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
nop
lea rcx, [rbp - 0x40]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400575ee
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400575db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005763b
jmp 0x1400575db
mov rbx, qword [rsp + 0x58]
mov rax, rbx
mov rsi, qword [rsp + 0x50]
sub rax, rsi
cmp rax, 0x200
jbe 0x14005752e
lea rbx, [rsi + 0x200]
mov qword [rsp + 0x58], rbx
sub rbx, rsi
lea rcx, [r14 + 0x4940]
je 0x14005759f
test rcx, rcx
jne 0x14005754c
call fcn.1400f8b7c
mov dword [rax], 0x16
jmp 0x14005759a
test rsi, rsi
je 0x140057567
cmp rbx, 0x200
ja 0x140057567
mov r8, rbx
mov rdx, rsi
call fcn.1400ebd70
jmp 0x14005759f
xor edx, edx
mov r8d, 0x200
call fcn.1400ec440
test rsi, rsi
jne 0x140057586
call fcn.1400f8b7c
mov dword [rax], 0x16
jmp 0x14005759a
cmp rbx, 0x200
jbe 0x14005759f
call fcn.1400f8b7c
mov dword [rax], 0x22
call fcn.1400f88a4
mov rcx, rdi
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400575ee
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400575db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005762f
call fcn.1400e9ac4
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
lea rcx, [rsp + 0x70]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::destructor_void____ptr64
nop
lea rcx, [rbp + 0x10]
call fcn.14005d820
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400e9aa0
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400f88c4
nop
call fcn.1400f88c4
int3
call fcn.1400f88c4
nop
call fcn.1400f88c4
nop
call fcn.14001f340
int3