Function at 0x1400af600
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x50
call fcn.140134aa4
mov rdx, rdi
mov ecx, 0x4b
call fcn.140134aa4
mov rdx, rdi
mov ecx, 1
call fcn.140134aa4
mov rdx, rdi
mov ecx, 2
call fcn.140134aa4
movsx ecx, byte [rbx]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 1]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 2]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 3]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 4]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 5]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 6]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 7]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 8]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 8]
mov rdx, rdi
shr eax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0xa]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0xb]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0xc]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0xc]
mov rdx, rdi
shr eax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0xe]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0xf]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x10]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x10]
mov rdx, rdi
shr eax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x12]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x13]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x14]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x14]
mov rdx, rdi
shr eax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x16]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x17]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x18]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x18]
mov rdx, rdi
shr rax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x28]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x28]
mov rdx, rdi
shr rax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x30]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x30]
mov rdx, rdi
shr rax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x38]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x39]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x3a]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x3b]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x40]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x40]
mov rdx, rdi
shr eax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x42]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x43]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x44]
mov rdx, rdi
call fcn.140134aa4
mov eax, dword [rbx + 0x44]
mov rdx, rdi
shr eax, 8
movsx ecx, al
call fcn.140134aa4
movsx ecx, byte [rbx + 0x46]
mov rdx, rdi
call fcn.140134aa4
movsx ecx, byte [rbx + 0x47]
mov rdx, rdi
call fcn.140134aa4
mov r8, qword [rbx + 0x18]
mov r9, rdi
mov rcx, qword [rbx + 0x68]
mov edx, 1
call fcn.140137014
cmp rax, qword [rbx + 0x18]
jne 0x1400af8d0
mov r8, qword [rbx + 0x28]
test r8, r8
je 0x1400af8a3
mov rcx, qword [rbx + 0x58]
mov r9, rdi
mov edx, 1
call fcn.140137014
cmp rax, qword [rbx + 0x28]
jne 0x1400af8d0
mov r8, qword [rbx + 0x30]
test r8, r8
je 0x1400af8c3
mov rcx, qword [rbx + 0x60]
mov r9, rdi
mov edx, 1
call fcn.140137014
cmp rax, qword [rbx + 0x30]
jne 0x1400af8d0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov eax, 0xa
add rsp, 0x20
pop rdi
ret