Function at 0x1400af7c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1401b4a98]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov rax, qword [rcx + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400af825
mov rdx, qword [rdi + 0x50]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x1400af825
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
movzx eax, byte [rdx]
jmp 0x1400afa1b
mov rcx, qword [rdi + 0x80]
test rcx, rcx
jne 0x1400af839
lea eax, [rcx - 1]
jmp 0x1400afa1b
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1400af86d
mov rdx, qword [rdi + 0x90]
mov rcx, qword [rdi + 0x88]
mov qword [r8], rcx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov rcx, qword [rdi + 0x80]
cmp qword [rdi + 0x68], 0
jne 0x1400af8a0
mov r9, rcx
mov edx, 1
mov r8d, edx
lea rcx, [rbp + 0x28]
call fcn.140118ea8
cmp rax, 1
movzx ebx, byte [rbp + 0x28]
je 0x1400afa19
mov ebx, 0xffffffff
jmp 0x1400afa19
xor eax, eax
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x3f], rax
mov qword [rbp + 0x47], 0xf
mov byte [rbp + 0x2f], al
call fcn.14010e988
mov edx, eax
cmp eax, 0xffffffff
je 0x1400af9d9
movzx ebx, byte [rbp + 0x28]
nop dword [rax]
mov rcx, qword [rbp + 0x3f]
mov r8, qword [rbp + 0x47]
cmp rcx, r8
jae 0x1400af8fc
lea rax, [rcx + 1]
mov qword [rbp + 0x3f], rax
lea rax, [rbp + 0x2f]
cmp r8, 0x10
cmovae rax, qword [rbp + 0x2f]
mov byte [rax + rcx], dl
mov byte [rax + rcx + 1], 0
jmp 0x1400af912
movzx r9d, dl
movzx r8d, bl
mov edx, 1
lea rcx, [rbp + 0x2f]
call fcn.14003c2b0
mov rcx, qword [rdi + 0x68]
lea rdx, [rbp + 0x2f]
mov r9, qword [rbp + 0x3f]
cmp qword [rbp + 0x47], 0x10
jb 0x1400af92e
mov r8, qword [rbp + 0x2f]
add r9, r8
jmp 0x1400af935
add r9, rdx
lea r8, [rbp + 0x2f]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1f]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp + 0x28]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp + 0x27]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea rdx, [rdi + 0x74]
mov rax, qword [rax + 0x30]
call qword [case.0x14000cca5.0]
test eax, eax
je 0x1400af977
sub eax, 1
jne 0x1400afa40
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x1f], rax
jne 0x1400afa58
lea rcx, [rbp + 0x2f]
mov rax, qword [rbp + 0x17]
mov r8, qword [rbp + 0x3f]
cmp qword [rbp + 0x47], 0x10
jb 0x1400af9a1
mov rcx, qword [rbp + 0x2f]
sub rax, rcx
jmp 0x1400af9a8
sub rax, rcx
lea rcx, [rbp + 0x2f]
cmp r8, rax
cmovb rax, r8
sub r8, rax
mov qword [rbp + 0x3f], r8
inc r8
lea rdx, [rcx + rax]
call fcn.1400fe220
mov rcx, qword [rdi + 0x80]
call fcn.14010e988
mov edx, eax
cmp eax, 0xffffffff
jne 0x1400af8d0
mov ebx, 0xffffffff
mov rdx, qword [rbp + 0x47]
cmp rdx, 0x10
jb 0x1400afa19
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400afa14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400afaa7
call fcn.140074f80
mov eax, ebx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400fb890
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
cmp eax, 2
jne 0x1400af9d9
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rax, qword [rbp + 0x2f]
movsx ebx, byte [rax]
jmp 0x1400af9de
lea rax, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0x10
cmovae rax, qword [rbp + 0x2f]
mov rbx, qword [rbp + 0x3f]
mov rcx, qword [rbp + 0x17]
sub rbx, rcx
add rbx, rax
test rbx, rbx
jle 0x1400afa9e
nop dword [rax]
dec rbx
movsx ecx, byte [rbx + rcx]
mov rdx, qword [rdi + 0x80]
call fcn.14010f6a0
test rbx, rbx
jle 0x1400afa9e
mov rcx, qword [rbp + 0x17]
jmp 0x1400afa80
movzx ebx, byte [rbp + 0x27]
jmp 0x1400af9de
call fcn.140103230
int3