Function at 0x140028050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rsi, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
test byte [rbp + 0x38], 1
jne 0x1400282db
cmp dword [rcx + 0x30], 1
jne 0x1400282db
mov rax, qword [rcx]
call qword [rax + 0x20]
test al, al
je 0x1400282db
test rsi, rsi
je 0x1400282db
mov r9, rdi
mov r8d, r14d
lea rdx, str._02x._016llx.json
lea rcx, [rbp - 0x60]
call fcn.1400215e0
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], dil
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400280e0
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.140001b50
nop
lea rdx, [rbx + 0x10]
lea r8, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140030c20
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140028144
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002813f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028300
call fcn.1400ec648
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
lea rdx, [0x140122eb0]
call fcn.1400f981c
mov rbx, rax
test rax, rax
jne 0x1400281da
call fcn.1400111b0
cmp eax, 2
jg 0x14002828e
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r8, qword [rbp - 0x40]
lea rdx, str.Failed_to_open_file:__s_n
lea ecx, [rbx + 2]
call fcn.1400112d0
test al, al
jne 0x14002828e
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
mov ecx, 2
call fcn.1400f6cc8
mov r8, rbx
lea rdx, str.Fossilize_ERROR:_Failed_to_open_file:__s_n
mov rcx, rax
call fcn.140002150
xor bl, bl
jmp 0x14002829f
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rbx
call fcn.1400f9db8
mov rcx, rbx
test eax, eax
jns 0x140028253
call fcn.1400f96fc
call fcn.1400111b0
cmp eax, 2
jg 0x14002828e
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae r8, qword [rbp - 0x40]
lea rdx, str.Failed_to_seek_in_file:__s_n
mov ecx, 2
call fcn.1400112d0
test al, al
jne 0x14002828e
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
mov ecx, 2
call fcn.1400f6cc8
mov r8, rbx
lea rdx, str.Fossilize_ERROR:_Failed_to_seek_in_file:__s_n
mov rcx, rax
call fcn.140002150
xor bl, bl
jmp 0x14002829f
call fcn.1400fa310
movsxd rdi, eax
mov rcx, rbx
call fcn.1400fa5ec
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140028292
cmp qword [rsi], rdi
jne 0x140028286
mov r9, rbx
mov r8, rdi
mov edx, 1
call fcn.1400f9ae0
cmp rax, rdi
je 0x140028295
mov rcx, rbx
call fcn.1400f96fc
xor bl, bl
jmp 0x14002829f
mov qword [rsi], rdi
mov rcx, rbx
call fcn.1400f96fc
mov bl, 1
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1400282d6
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400282d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400282fa
call fcn.1400ec648
movzx eax, bl
jmp 0x1400282dd
xor al, al
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400f2c0c
nop
call fcn.1400f2c0c
nop
int3