Function at 0x140076b30
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 [0x1401d2670]
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.1401386b0
mov rdx, r12
lea rcx, [rbp + 0x10]
call fcn.14008fd70
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.14008d4c0
nop
cmp dword [rsp + 0x70], 0
je 0x140076bc6
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400217e0
jmp 0x140076f4e
lea rcx, [rbp + 0x10]
call fcn.1400902a0
test rax, rax
jne 0x140076c83
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 fcn.1400217a0
nop
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140028330
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 fcn.1400223b0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140076c68
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076c63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076fa1
call fcn.140144a10
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.1400217e0
nop
lea rcx, [rbp - 0x18]
call fcn.140021ae0
jmp 0x140076f4e
lea rcx, [rbp + 0x10]
call fcn.1400902a0
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 0x140076d0c
movabs rax, 0x7fffffffffffffff
cmp r15, rax
ja 0x140076fa7
lfence
mov rcx, r15
call fcn.14001f620
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.1401386b0
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 0x140076dc8
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 fcn.140021760
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 fcn.140021c30
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.1400217e0
nop
lea rcx, [rbp - 0x68]
call fcn.140021ae0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140076f4e
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076f3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076f95
jmp 0x140076f3b
cmp dword [rsp + 0x68], 0x200
jae 0x140076e6a
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 fcn.140021760
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 fcn.140021c30
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400217e0
nop
lea rcx, [rbp - 0x40]
call fcn.140021ae0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140076f4e
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076f3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076f9b
jmp 0x140076f3b
mov rbx, qword [rsp + 0x58]
mov rax, rbx
mov rsi, qword [rsp + 0x50]
sub rax, rsi
cmp rax, 0x200
jbe 0x140076e8e
lea rbx, [rsi + 0x200]
mov qword [rsp + 0x58], rbx
sub rbx, rsi
lea rcx, [r14 + 0x4940]
je 0x140076eff
test rcx, rcx
jne 0x140076eac
call fcn.14011bf58
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
jmp 0x140076efa
test rsi, rsi
je 0x140076ec7
cmp rbx, 0x200
ja 0x140076ec7
mov r8, rbx
mov rdx, rsi
call fcn.140137fe0
jmp 0x140076eff
xor edx, edx
mov r8d, 0x200
call fcn.1401386b0
test rsi, rsi
jne 0x140076ee6
call fcn.14011bf58
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
jmp 0x140076efa
cmp rbx, 0x200
jbe 0x140076eff
call fcn.14011bf58
mov dword [rax], 0x22
call fcn.140115c80
mov rcx, rdi
call fcn.140021760
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140076f4e
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076f3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076f8f
call fcn.140144a10
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
lea rcx, [rsp + 0x70]
call fcn.140021ae0
nop
lea rcx, [rbp + 0x10]
call fcn.14008d310
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1401449b0
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.140115ca0
nop
call fcn.140115ca0
int3
call fcn.140115ca0
nop
call fcn.140115ca0
nop
call fcn.14001f600
int3