Function at 0x1400378e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov r8, qword [rcx + 8]
mov rbx, rcx
mov rcx, qword [r8 + 0x2b8]
mov rax, qword [r8 + 0x2c0]
cmp rcx, rax
je 0x14003792b
cmp dword [rbx + 0x2c0], 1
jne 0x140037d4e
sub rax, rcx
sar rax, 3
cmp rax, 1
ja 0x140037d4e
mov ecx, dword [rbx + 0x2c0]
xor esi, esi
test ecx, ecx
je 0x140037a2e
sub ecx, 1
je 0x1400379de
sub ecx, 1
je 0x140037d4e
sub ecx, 1
je 0x1400379c7
cmp ecx, 1
jne 0x140037a71
lea rcx, [rbx + 0x20]
mov qword [rbx + 0x18], rsi
cmp qword [rcx + 0x18], 0x10
jb 0x14003797e
mov rcx, qword [rcx]
lea rax, [rbp + 0x67]
mov dword [rsp + 0x28], esi
mov edx, 0x8721
mov qword [rsp + 0x20], rax
mov r9d, 0x180
mov r8d, 0x40
call fcn.140125bcc
mov ecx, dword [rbp + 0x67]
test eax, eax
mov edx, 0xffffffff
cmovne ecx, edx
test ecx, ecx
js 0x140037a71
lea rdx, [0x14014dfb8]
call fcn.1401264b8
jmp 0x140037a6d
cmp qword [rbx + 0x38], 0x10
lea rcx, [rbx + 0x20]
jb 0x140037a61
mov rcx, qword [rcx]
jmp 0x140037a61
mov qword [rbx + 0x18], rsi
mov ecx, 0x20
mov rax, qword [r8 + 0x2c0]
mov edx, 0x10
cmp qword [r8 + 0x2b8], rax
cmove edx, ecx
lea rcx, [rbx + 0x20]
bts edx, 0xf
cmp qword [rcx + 0x18], 0x10
jb 0x140037a0f
mov rcx, qword [rcx]
mov r8d, 0x100
call fcn.140034fc0
test eax, eax
js 0x140037a71
lea rdx, [0x14014dfb0]
mov ecx, eax
call fcn.1401264b8
jmp 0x140037a6d
cmp qword [rbx + 0x38], 0x10
lea rdi, [rbx + 0x20]
mov rcx, rdi
jb 0x140037a3f
mov rcx, qword [rdi]
lea rdx, [0x1401521c8]
call fcn.140123fac
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140037a71
cmp qword [rdi + 0x18], 0x10
jb 0x140037a5e
mov rdi, qword [rdi]
mov rcx, rdi
lea rdx, [0x14014dfb8]
call fcn.140123fac
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140037d4e
mov rax, qword [rbx + 8]
mov rdx, qword [rax + 0x2b8]
cmp rdx, qword [rax + 0x2c0]
je 0x140037aa7
mov rax, qword [rdx]
mov qword [rbx + 0x10], rax
mov al, 1
mov byte [rbx + 0x2d8], 1
jmp 0x140037d50
mov edx, dword [rbx + 0x2c0]
lea eax, [rdx - 3]
cmp eax, 1
jbe 0x140037d92
cmp edx, 1
jne 0x140037ad0
lea r9d, [rdx + 0x37]
xor r8d, r8d
xor edx, edx
call fcn.1401265e4
mov rcx, qword [rbx + 0x18]
xor edx, edx
lea r8d, [rdx + 2]
call fcn.140124548
mov rcx, qword [rbx + 0x18]
call fcn.140124aa0
mov rcx, qword [rbx + 0x18]
movsxd r14, eax
call fcn.140124d7c
test r14, r14
je 0x140037d71
movzx eax, byte [0x140202c78]
test al, al
jne 0x140037d71
mov r9, qword [rbx + 0x18]
lea rcx, [rbp - 0x31]
mov edx, 1
lea r8d, [rdx + 0xf]
call fcn.140124270
cmp rax, 0x10
jne 0x140037d4e
lea r8d, [rax - 1]
lea rdx, [0x140151a40]
lea rcx, [rbp - 0x31]
call fcn.140118c20
test eax, eax
jne 0x140037d4e
movzx eax, byte [rbp - 0x22]
sub eax, 5
cmp eax, 1
ja 0x140037d4e
mov edi, 0x10
mov r15, r14
cmp rdi, r14
jae 0x140037d2d
nop word [rax + rax]
movzx eax, byte [0x140202c78]
test al, al
jne 0x140037d4e
mov dword [rbp - 0x79], esi
mov r15, rdi
lea rsi, [rdi + 0x38]
cmp rsi, r14
ja 0x140037cf5
mov r9, qword [rbx + 0x18]
lea rcx, [rbp - 0x69]
mov edx, 1
lea r8d, [rdx + 0x37]
call fcn.140124270
cmp rax, 0x38
jne 0x140037d4e
movzx r12d, byte [rbp - 0x3e]
mov rdi, rsi
movzx eax, byte [rbp - 0x3f]
movzx ecx, byte [rbp - 0x3a]
shl ecx, 8
shl r12d, 8
or r12d, eax
movzx eax, byte [rbp - 0x40]
shl r12d, 8
or r12d, eax
movzx eax, byte [rbp - 0x41]
shl r12d, 8
or r12d, eax
movzx eax, byte [rbp - 0x3b]
or ecx, eax
mov dword [rbp - 0x79], r12d
movzx eax, byte [rbp - 0x3c]
shl ecx, 8
or ecx, eax
lea r13, [r12 + rsi]
movzx eax, byte [rbp - 0x3d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x37]
mov dword [rbp - 0x75], ecx
movzx ecx, byte [rbp - 0x36]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x39]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x33]
mov dword [rbp - 0x71], ecx
movzx ecx, byte [rbp - 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x35]
shl ecx, 8
or ecx, eax
mov dword [rbp - 0x6d], ecx
cmp r13, r14
ja 0x140037cf5
movups xmm0, xmmword [rbp - 0x61]
xor edx, edx
lea rcx, [rbp - 0x21]
movups xmm1, xmmword [rbp - 0x51]
mov byte [rbp - 0x11], 0
mov byte [rbp + 7], 0
lea r8d, [rdx + 0x10]
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 9], xmm1
call fcn.1401212b4
mov esi, eax
cmp eax, 0xa
jae 0x140037ccc
xor edx, edx
lea rcx, [rbp - 9]
lea r8d, [rdx + 0x10]
call fcn.1401212e0
movups xmm0, xmmword [rbp - 0x79]
mov r8, rax
mov qword [rbp + 0x67], rax
mov edx, esi
mov qword [rbp + 0xf], rdi
mov rcx, rbx
movups xmmword [rbp + 0x17], xmm0
call fcn.140039230
test al, al
je 0x140037ccc
lea rcx, [rsi + 1]
shl rcx, 6
lea r9, [rbp + 0xf]
add rcx, rbx
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x27]
call fcn.140032bf0
mov rcx, qword [rbx + 0x18]
mov r8d, 1
mov edx, r12d
call fcn.140124548
test eax, eax
js 0x140037d4e
mov rdi, r13
mov esi, 0
cmp r13, r14
jb 0x140037b70
jmp 0x140037d2d
call fcn.14001bd20
cmp eax, 1
jg 0x140037d2d
lea rdx, str.Detected_sliced_file._Dropping_entries_from_here._n
mov ecx, 1
call fcn.14001c3a0
test al, al
jne 0x140037d2d
mov ecx, 2
call fcn.140121458
lea rdx, str.Fossilize_WARN:_Detected_sliced_file._Dropping_entries_from_here._n
mov rcx, rax
call fcn.1400020d0
cmp dword [rbx + 0x2c0], 0
jne 0x140037db0
cmp rdi, r14
je 0x140037db0
mov rcx, qword [rbx + 0x18]
xor r8d, r8d
mov edx, r15d
call fcn.140124548
test eax, eax
jns 0x140037db0
xor al, al
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r9, qword [rbx + 0x18]
lea rcx, [0x140151a40]
mov edx, 1
lea r8d, [rdx + 0xf]
call fcn.140124cf8
cmp rax, 0x10
je 0x140037db0
jmp 0x140037d4e
mov edx, 1
mov r9, rcx
lea rcx, [0x140151a40]
lea r8d, [rdx + 0xf]
call fcn.140124cf8
cmp rax, 0x10
jne 0x140037d4e
mov byte [rbx + 0x2d8], 1
mov al, 1
jmp 0x140037d50