Function at 0x1400125e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x300
mov rax, qword [0x14002d030]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r12, qword [rcx + 0x238]
mov r13, rcx
mov qword [rsp + 0x38], rdx
mov r14d, 0x200
nop
mov rax, qword [r12 + 0x20]
mov rdi, r14
mov r14, qword [r13 + 0xc8]
xor esi, esi
mov rbx, qword [r12 + 0x18]
xor r15d, r15d
mov rbp, qword [r13 + 0x238]
mov qword [rsp + 0x30], rax
mov rax, qword [r13 + 0xc0]
sub rax, r14
je 0x140012699
mov rdx, qword [r13 + 0xb0]
mov ecx, 0x200
cmp rax, rcx
mov rsi, rax
cmovae rsi, rcx
add rdx, r14
mov r8, rsi
lea rcx, [rsp + 0xf0]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r14 + rsi]
mov r14d, 0x200
mov edi, r14d
mov qword [r13 + 0xc8], rax
sub rdi, rsi
je 0x14001272a
jmp 0x14001269f
mov r14d, 0x200
test rbx, rbx
je 0x140012706
lea rcx, [rsp + 0xf0]
mov r9, rbx
add rcx, rsi
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r15, rax
cmp rax, rdi
je 0x14001272a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x14001272a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x1400126f4
cmp dword [0x14002da14], 4
jg 0x140012720
lea rdx, str.could_not_read_from_input_file:_end_of_file
jmp 0x140012716
cmp dword [0x14002da14], 4
jg 0x140012720
lea rdx, str.could_not_read_from_input_file:__m
jmp 0x140012716
cmp dword [0x14002da14], 4
jg 0x140012720
lea rdx, str.internal_error____neither_th_nor_fh_specified_in_tarReadRaw__
mov ecx, 4
call fcn.1400166d0
mov ecx, 1
call fcn.1400133f0
lea rax, [r15 + rsi]
add qword [rbp + 0x20], rax
lea rbx, [r15 + rsi]
test rbx, rbx
je 0x1400128e6
cmp rbx, r14
je 0x14001277d
cmp dword [0x14002da14], 4
jg 0x140012773
mov r8d, ebx
lea rdx, str.incomplete_tar_header_found___lu_bytes_
lea rcx, str.incomplete_tar_header_found___lu_byte_
call sub.libintl_8.dll_libintl_ngettext
mov rdx, rax
mov r8d, ebx
mov ecx, 4
call fcn.1400166d0
mov ecx, 1
call fcn.1400133f0
lea rcx, [rsp + 0xf0]
call fcn.14001c490
mov edx, 8
lea rcx, [rsp + 0x184]
mov esi, eax
call fcn.14001c390
mov rbx, rax
cmp esi, eax
je 0x1400127c7
xor eax, eax
nop word [rax + rax]
cmp byte [rsp + rax + 0xf0], 0
jne 0x1400127c7
inc rax
cmp rax, r14
jl 0x1400127b0
jmp 0x140012620
mov r8d, Ordinal_104
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x80]
call fcn.14001bd00
mov edx, Ordinal_14
lea rcx, [rsp + 0x16c]
call fcn.14001c390
mov r9, qword [rsp + 0x30]
lea r8, str._llu
mov edx, Ordinal_33
lea rcx, [rsp + 0x40]
mov rdi, rax
call fcn.140018490
mov r9, rdi
lea r8, str._llu
mov edx, Ordinal_33
lea rcx, [rsp + 0x60]
call fcn.140018490
cmp dword [0x14002da14], 1
jg 0x140012860
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], ebx
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x80]
mov ecx, 1
lea rdx, str.TOC_Entry__s_at__s__length__s__checksum__d_
call fcn.1400166d0
cmp esi, ebx
je 0x1400128c5
mov rcx, qword [r12 + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__ftelli64]
lea r8, str._llu
mov edx, Ordinal_33
mov r9, rax
lea rcx, [rsp + 0x40]
call fcn.140018490
cmp dword [0x14002da14], 4
jg 0x1400128bb
lea rax, [rsp + 0x40]
mov r9d, ebx
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x80]
lea rdx, str.corrupt_tar_header_found_in__s__expected__d__computed__d__file_position__s
mov dword [rsp + 0x20], esi
mov ecx, 4
call fcn.1400166d0
mov ecx, 1
call fcn.1400133f0
lea rcx, [rsp + 0x80]
call fcn.140015e70
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x20], rax
mov eax, 1
mov qword [rcx + 0x38], rdi
jmp 0x1400128e8
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.14001e2e0
mov rbx, qword [rsp + 0x350]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret