Function at 0x1401ab8d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
vpxor xmm0, xmm0, xmm0
mov qword [rcx + 0x10], 0
mov rbx, rcx
mov rsi, rdx
mov dword [rcx + 0x18], 0
vmovdqu xmmword [rcx], xmm0
test rdx, rdx
je 0x1401abb40
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov rdi, rax
test rax, rax
je 0x1401abb40
lea rcx, [rax + 1]
mov edx, 1
call sub.msvcrt.dll_calloc
mov qword [rbx], rax
mov rcx, rax
test rax, rax
je 0x1401abbe4
mov r8, rdi
mov rdx, rsi
lea rdi, [0x1402b3eb4]
call sub.msvcrt.dll_memcpy
mov rdx, rdi
mov rcx, rax
call fcn.1401ac3c0
mov rsi, rax
test rax, rax
je 0x1401aba38
xor edx, edx
mov r8d, 2
mov rcx, rsi
call sub.msvcrt.dll_fseek
mov rcx, rsi
call sub.msvcrt.dll_ftell
xor r8d, r8d
xor edx, edx
mov rcx, rsi
mov edi, eax
call sub.msvcrt.dll_fseek
test edi, edi
js 0x1401abae8
movsxd rbp, edi
mov rcx, rbp
call fcn.140014f40
mov qword [rbx + 8], rax
mov rcx, rax
test rax, rax
je 0x1401abb00
mov rax, qword [0x1402c6320]
cmp byte [rax], 0
je 0x1401aba08
mov r9, rsi
mov r8d, 1
mov rdx, rbp
call sub.msvcrt.dll_fread
test rax, rax
je 0x1401abb76
mov rcx, rsi
call sub.msvcrt.dll_fclose
lea eax, [rdi - 0x11]
sub edi, 0x20
mov qword [rbx + 0x10], rbp
cmovns eax, edi
mov r8, qword [rbx]
mov ecx, 3
lea rdx, str.Using_Verthash_data_file__s
sar eax, 4
add eax, 1
mov dword [rbx + 0x18], eax
call fcn.14000a6b0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov ecx, 4
lea rdx, str.Verthash_data_is_using_huge_pages
call fcn.14000a6b0
mov rcx, qword [rbx + 8]
test rcx, rcx
jne 0x1401ab9ae
mov rcx, rsi
call sub.msvcrt.dll_fclose
mov eax, 2
jmp 0x1401ab9fc
mov rax, qword [0x1402c6270]
cmp qword [rax], 0
jne 0x1401abb60
mov rax, qword [0x1402c6390]
cmp byte [rax], 0
je 0x1401abb94
lea rdx, str.Creating_default_verthash.dat_in_current_directory__this_will_take_several_minutes
mov ecx, 3
call fcn.14000a6b0
mov ecx, 0x20
mov rbp, qword [rbx]
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x1401abbfa
mov r8, rax
mov edx, 0x20
lea rcx, str.Verthash_Proof_of_Space_Datafile
mov r9d, 0x20
call fcn.1401acc90
mov r8, rsi
mov rdx, rbp
mov ecx, 0x11
call fcn.1401ab7d0
test rax, rax
je 0x1401abbce
mov rcx, qword [rbx]
mov rdx, rdi
call fcn.1401ac3c0
mov rsi, rax
test rax, rax
je 0x1401abbb8
lea rdx, str.Verthash_data_file_created_successfully
mov ecx, 3
call fcn.14000a6b0
jmp 0x1401ab958
mov rcx, rsi
call sub.msvcrt.dll_fclose
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
test rbp, rbp
je 0x1401abb30
lea rcx, [rbp + 0x40]
call sub.msvcrt.dll_malloc
test rax, rax
je 0x1401abb30
lea rcx, [rax + 0x40]
and rcx, 0xffffffffffffffc0
mov qword [rcx - 8], rax
mov qword [rbx + 8], rcx
jmp 0x1401ab9ae
mov qword [rbx + 8], 0
jmp 0x1401aba22
lea rdx, str.Invalid_file_specification
mov ecx, 1
call fcn.14000a6b0
or eax, 0xffffffff
jmp 0x1401ab9fc
mov r8, qword [rbx]
lea rdx, str.Verthash_data_file_not_found_or_invalid:__s
mov ecx, 1
call fcn.14000a6b0
jmp 0x1401abb51
mov r8, qword [rbx]
lea rdx, str.File_system_error_reading__s
mov ecx, 1
call fcn.14000a6b0
mov rcx, rsi
call sub.msvcrt.dll_fclose
jmp 0x1401abb51
lea rdx, str.No_Verthash_data_file_specified_and_default_not_found
mov ecx, 1
call fcn.14000a6b0
lea rdx, str.Add___verify_to_create_default_verthash.dat
mov ecx, 3
call fcn.14000a6b0
jmp 0x1401abb51
mov r8, qword [rbx]
lea rdx, str.File_system_error_opening__s
mov ecx, 1
call fcn.14000a6b0
jmp 0x1401abb51
lea rdx, str.Verthash_file_creation_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x1401abb51
lea rdx, str.Failed_to_allocate_memory_for_Verthash_data
mov ecx, 1
call fcn.14000a6b0
jmp 0x1401abb51
lea rdx, str.Verthash_data_memory_allocation_failed
mov ecx, 1
call fcn.14000a6b0
jmp 0x1401abb51