Function at 0x1800133e8
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 - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1800d61f8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r12, qword [rbp + 0x428]
mov rbx, r9
mov r15, qword [rbp + 0x430]
mov rdi, r8
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x80], rcx
call fcn.180005ccc
xor r8d, r8d
mov qword [rsp + 0x28], r12
lea r9, str.____Reading__I64u_bytes_from_offset__I64u
mov qword [rsp + 0x20], r15
mov rcx, rax
mov r13, rax
lea edx, [r8 + 6]
call fcn.180004968
test rbx, rbx
je 0x18001349e
cmp dword [rbp + 0x420], 0
je 0x18001349e
mov eax, 0x7fffffff
cmp r15, rax
jb 0x1800134ca
xor r8d, r8d
mov dword [rsp + 0x28], eax
lea r9, str.____Cannot_read__I64u_bytes__maximum_is__lu.
mov qword [rsp + 0x20], r15
mov rcx, r13
lea edx, [r8 + 2]
call fcn.180004968
xor eax, eax
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.1800149a0
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi]
xor edx, edx
mov rax, r15
div rcx
test rdx, rdx
je 0x1800134e0
sub rcx, rdx
add r15, rcx
mov rcx, r15
call fcn.180026bf8
mov qword [rsp + 0x50], rax
mov rbx, rax
test rax, rax
jne 0x18001350d
lea r9, str.Error:_malloc___returned_NULL.
xor r8d, r8d
mov rcx, r13
lea edx, [r8 + 2]
call fcn.180004968
jmp 0x18001349e
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.1800164c0
mov rcx, qword [rsp + 0x58]
xor esi, esi
xor r14d, r14d
xor edi, edi
cmp byte [rcx], sil
je 0x180013778
movzx r8d, byte [rsi + rcx]
inc esi
mov r10d, r8d
shr r10d, 4
cmp esi, dword [rbp + 0x420]
jae 0x18001376c
xor ebx, ebx
xor edx, edx
mov qword [rsp + 0x48], rbx
and r8d, 0xf
jbe 0x18001357f
mov cl, byte [rsi + rcx]
inc esi
mov byte [rsp + rdx + 0x48], cl
cmp esi, dword [rbp + 0x420]
jae 0x18001376c
mov rcx, qword [rsp + 0x58]
inc rdx
cmp rdx, r8
jl 0x180013558
mov rbx, qword [rsp + 0x48]
xor eax, eax
mov r8d, r10d
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor edx, edx
test r10d, r10d
je 0x1800135bd
mov cl, byte [rsi + rcx]
inc esi
mov byte [rsp + rdx + 0x40], cl
cmp esi, dword [rbp + 0x420]
jae 0x18001376c
mov rcx, qword [rsp + 0x58]
inc r9d
inc rdx
cmp rdx, r8
jl 0x180013593
mov rax, qword [rsp + 0x40]
cmp byte [rsp + rdx + 0x3f], 0x80
jb 0x1800135ec
cmp r9d, 8
jge 0x1800135ec
mov eax, 8
lea rcx, [rsp + 0x40]
sub eax, r9d
mov dl, 0xff
movsxd r8, eax
movsxd rax, r9d
add rcx, rax
call fcn.1800164c0
mov rax, qword [rsp + 0x40]
add r14, rax
add rdi, rbx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], rdi
test rax, rax
je 0x18001371b
test rbx, rbx
je 0x18001371b
mov rax, qword [rsp + 0x70]
sub rdi, rbx
mov r8, qword [rax]
imul rdi, r8
imul r8, qword [rax + 8]
imul rdi, qword [rax + 8]
mov rcx, r8
imul rcx, r14
mov r14, r8
imul r14, rbx
mov qword [rsp + 0x60], rcx
lea rax, [r14 + rdi]
cmp r12, rax
jae 0x180013714
cmp r12, rdi
jbe 0x180013663
mov rax, r12
sub rax, rdi
sub rdi, r12
add rcx, rax
add r14, rdi
mov qword [rsp + 0x60], rcx
mov rdi, r12
lea rdx, [r15 + r12]
cmp rdx, rdi
jbe 0x180013714
lea rax, [r14 + rdi]
cmp rdx, rax
jae 0x180013682
mov r14, r15
sub r14, rdi
add r14, r12
test r14, r14
je 0x180013714
xor edx, edx
lea r9, str.____Reading__I64u_bytes_from_Lcn_I64u_into_offset_I64u
mov rax, rcx
sub rdi, r12
div r8
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
mov rcx, r13
mov qword [rsp + 0x20], r14
lea edx, [r8 + 6]
call fcn.180004968
mov rax, qword [rsp + 0x60]
lea r9, [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
mov r8d, r14d
and qword [rbp - 0x60], 0
mov dword [rbp - 0x68], eax
shr rax, 0x20
mov dword [rbp - 0x64], eax
lea rdx, [rdi + rbx]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180013722
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
cmp byte [rsi + rcx], 0
jmp 0x180013529
mov rbx, qword [rsp + 0x50]
jmp 0x1800136fc
mov rbx, qword [rsp + 0x50]
jmp 0x180013706
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x50]
mov edx, eax
mov r9d, 0x200
mov rcx, qword [rcx]
call sym.JkDefrag.dll_public:_void___cdecl_JKDefragLib::SystemErrorStr_unsigned_long_int__wchar_t____ptr64__unsigned_long_long_unsigned___int64_____ptr64
xor r8d, r8d
lea rax, [rbp - 0x50]
lea r9, str.Error_while_reading_disk:__s
mov qword [rsp + 0x20], rax
mov rcx, r13
lea edx, [r8 + 2]
call fcn.180004968
mov rcx, rbx
call fcn.180053d58
jmp 0x18001349e
lea r9, str.Error:_datarun_is_longer_than_buffer__the_MFT_may_be_corrupt.
jmp 0x1800134fc
mov rax, rbx
jmp 0x1800134a0