Function at 0x14001ff70
Capabilities:
Read file on windows

Disassembly:
push rbx
push r13
sub rsp, 0x98
mov rbx, rcx
mov r13d, 0xffffffff
test rcx, rcx
jne 0x14001ff96
xor eax, eax
add rsp, 0x98
pop r13
pop rbx
ret
lea rdx, [0x14004910c]
mov qword [rsp + 0xb8], rbp
call fcn.140027538
mov rbp, rax
test rax, rax
jne 0x14001ffe7
call fcn.1400269ec
lea rdx, str._s:_could_not_open_capture_file_n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140026c00
mov rcx, rbx
call fcn.1400273b0
mov rbp, qword [rsp + 0xb8]
xor eax, eax
add rsp, 0x98
pop r13
pop rbx
ret
xor eax, eax
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
call fcn.14002c2f4
test eax, eax
jne 0x140020025
movsxd r13, dword [rsp + 0x5c]
mov r14d, 1
lea rcx, [rsp + 0x30]
mov r9, rbp
mov edx, r14d
mov r8d, 0x18
call fcn.140027878
cmp rax, 0x18
jae 0x1400200a2
test rax, rax
jne 0x14002007b
call fcn.1400269ec
lea rdx, str._s:_could_not_read_PCAP_header_n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140026c00
mov rcx, rbx
call fcn.1400273b0
mov rcx, rbp
call fcn.140027c88
xor eax, eax
jmp 0x14002030b
call fcn.1400269ec
lea rdx, str._s:_file_too_short_n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140026c00
mov rcx, rbp
call fcn.140027c88
xor eax, eax
jmp 0x14002030b
movzx eax, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x30]
mov qword [rsp + 0xc0], rsi
shl ecx, 8
mov qword [rsp + 0x90], rdi
mov qword [rsp + 0x88], r12
or ecx, eax
movzx eax, byte [rsp + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x33]
shl ecx, 8
or ecx, eax
cmp ecx, 0xa1b2c3d4
je 0x140020115
cmp ecx, 0xd4c3b2a1
je 0x14002010d
call fcn.1400269ec
lea rdx, str._s:_unknown_byte_order_in_cap_file_n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140026c00
mov r12d, 3
jmp 0x140020118
mov r12d, 2
jmp 0x140020118
mov r12d, r14d
mov eax, r12d
mov edi, 0xa3a3
dec eax
je 0x140020138
dec eax
je 0x14002012c
mov esi, edi
jmp 0x140020147
movzx esi, byte [rsp + 0x35]
movzx eax, byte [rsp + 0x34]
jmp 0x140020142
movzx esi, byte [rsp + 0x34]
movzx eax, byte [rsp + 0x35]
shl esi, 8
add esi, eax
mov eax, r12d
dec eax
je 0x14002015e
dec eax
jne 0x14002016d
movzx edi, byte [rsp + 0x37]
movzx eax, byte [rsp + 0x36]
jmp 0x140020168
movzx edi, byte [rsp + 0x36]
movzx eax, byte [rsp + 0x37]
shl edi, 8
add edi, eax
cmp esi, 2
jne 0x140020177
cmp edi, 4
je 0x140020196
call fcn.1400269ec
lea rdx, str._s:_unknown_version__d._d_n
mov r9d, esi
lea rcx, [rax + 0x60]
mov r8, rbx
mov dword [rsp + 0x20], edi
call fcn.140026c00
lea rdx, [rsp + 0x44]
mov ecx, r12d
call fcn.14001f790
mov esi, eax
test eax, eax
cmove esi, r14d
mov eax, esi
dec eax
je 0x1400201ea
sub eax, 0x68
je 0x1400201ea
sub eax, 0xe
je 0x1400201ea
cmp eax, 8
je 0x1400201ea
call fcn.1400269ec
lea rdx, str._s:_unknown_cap_file_linktype___d__expected_Ethernet_or_wifi__n
mov r9d, esi
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.140026c00
mov rcx, rbp
call fcn.140027c88
xor eax, eax
jmp 0x1400202f3
mov rcx, rbp
call fcn.14002c16c
mov edi, eax
cmp eax, 0xffffffff
jne 0x140020228
call fcn.1400269ec
lea rdx, str._s:_ftell_failed__file_system_error__seen_with_VMware_HGFS_bug__n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140026c00
mov rcx, rbx
call fcn.1400273b0
mov rcx, rbp
call fcn.140027c88
xor eax, eax
jmp 0x1400202f3
lea rcx, [rsp + 0xb0]
mov r9, rbp
mov r8d, 8
mov rdx, r14
call fcn.140027878
cmp rax, 8
jne 0x140020270
xor r8d, r8d
mov edx, edi
mov rcx, rbp
call fcn.14002c278
test eax, eax
je 0x140020284
call fcn.1400269ec
lea rdx, str._s:_fseek_failed__file_system_error___n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140026c00
mov rcx, rbx
call fcn.1400273b0
mov rcx, rbp
call fcn.140027c88
xor eax, eax
jmp 0x1400202f3
mov ecx, 0x150
call fcn.140026dd0
mov rdi, rax
test rax, rax
jne 0x14002029f
mov ecx, r14d
call fcn.1400272ac
int3
xor edx, edx
mov r8d, 0x150
mov rcx, rax
call fcn.14002ee50
lea rcx, [rdi + 0x1c]
lea r8, [0x14004bec0]
mov r9, rbx
mov edx, 0x100
mov dword [rdi + 0x11c], r12d
call fcn.14002bf00
mov qword [rdi], rbp
mov dword [rdi + 0x11c], r12d
mov dword [rdi + 0x120], esi
mov qword [rdi + 0x130], r13
mov qword [rdi + 0x138], 0x18
mov rax, rdi
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xb8]
add rsp, 0x98
pop r13
pop rbx
ret