Function at 0x1400af350
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, rdx
mov rbx, rcx
mov rcx, rax
mov edx, 0xae
call fcn.1400a82e0
mov rdx, qword [rax]
cmp byte [rdx], 0
je 0x1400740fe
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x1400af350
add rsp, 0x20
pop rbx
ret
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x14013b4f8]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r14b, r14b
mov rbx, rdx
mov rsi, rcx
cmp byte [rcx], r14b
jne 0x1400af394
mov rcx, qword [rcx + 0x20]
call fcn.14006c3e0
test al, al
je 0x1400af394
mov r13b, 1
jmp 0x1400af397
xor r13b, r13b
lea rdx, [0x1400b38c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rsp + 0x50], rax
mov r15, rax
test rax, rax
je 0x1400af73a
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x120], r12
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm7
call fcn.14006ba80
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov ecx, 0x8000c
lea edx, [r8 + 1]
call fcn.1400a64d0
mov r9, r15
mov qword [rsp + 0x58], rax
mov edx, 1
mov r8d, 0x8000c
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
movsxd rcx, eax
mov r12, rax
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x48], rax
cmp rcx, 0x40006
jb 0x1400af497
sub r12d, dword [rsp + 0x30]
lea rdx, [rcx + rdi]
movsxd rbx, r12d
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x8000c
lea rcx, [rbx + rdi]
sub r8, rbx
mov r9, r15
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r12d, eax
mov qword [rsp + 0x28], rdi
movsxd rax, r12d
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1400a2b20
mov rbx, qword [rsp + 0x48]
mov r15d, eax
mov rcx, qword [rbx + 0x20]
call fcn.1400a2b20
mov rdx, qword [rbx + 0x20]
lea rcx, [rbp - 0x60]
mov r8d, eax
call fcn.1400a2920
mov rbx, qword [rsp + 0x48]
movups xmm7, xmmword [rax]
mov rcx, qword [rbx + 0x20]
movaps xmmword [rsp + 0x70], xmm7
call fcn.1400a2b20
mov rdx, qword [rbx + 0x20]
lea rcx, [rbp - 0x50]
mov r8d, eax
call fcn.1400a2920
lea rcx, [rbp - 0x80]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x80], xmm0
call fcn.1400a6fd0
mov rbx, rax
cmp byte [rax], 0
je 0x1400af50d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
jmp 0x1400af512
mov edi, 0xffffffff
mov rcx, rbx
call fcn.1400a62e0
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbx + 0x20]
call fcn.1400a2b20
mov rdx, qword [rbx + 0x20]
lea rcx, [rbp - 0x40]
mov r8d, eax
call fcn.1400a2920
mov rbx, qword [rsp + 0x48]
movups xmm6, xmmword [rax]
mov rcx, qword [rbx + 0x20]
call fcn.1400a2b20
mov rdx, qword [rbx + 0x20]
lea rcx, [rbp - 0x30]
mov r8d, eax
call fcn.1400a2920
movups xmm0, xmmword [rax]
mov rax, qword [rsp + 0x48]
movups xmmword [rbp - 0x80], xmm0
cmp dword [rax + 0x18], 0
jne 0x1400af6ec
mov eax, dword [rsi + 0x10]
test eax, eax
js 0x1400af6d3
test edi, edi
js 0x1400af586
cmp eax, edi
jne 0x1400af6d3
mov ebx, 1
lea rdi, str.MIT_MAGIC_COOKIE_1
mov rdx, qword [rdi]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm6
call fcn.1400a7180
test al, al
jne 0x1400af5b2
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x1400af592
cmp ebx, 3
je 0x1400af6d3
test r15d, r15d
je 0x1400af660
cmp r15d, 6
je 0x1400af614
cmp r15d, 0x100
jne 0x1400af6d3
cmp byte [rsi], 0
jne 0x1400af5e5
test r13b, r13b
je 0x1400af6d3
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400af6d3
mov rdx, rax
movdqa xmmword [rbp - 0x70], xmm7
lea rcx, [rbp - 0x70]
call fcn.1400a7180
test al, al
je 0x1400af6d3
mov r14b, 1
jmp 0x1400af69e
cmp byte [rsi], 0
jne 0x1400af6d3
mov rcx, qword [rsi + 0x20]
call fcn.14006c4f0
cmp eax, 2
jne 0x1400af6d3
mov rcx, qword [rsi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.14006c2e0
cmp qword [rsp + 0x78], 0x10
jne 0x1400af6d3
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
cmp rax, qword [rbp - 0x20]
jne 0x1400af6d3
mov rax, qword [rcx + 8]
cmp rax, qword [rbp - 0x18]
jmp 0x1400af694
cmp byte [rsi], 0
jne 0x1400af6d3
mov rcx, qword [rsi + 0x20]
call fcn.14006c4f0
cmp eax, 1
jne 0x1400af6d3
mov rcx, qword [rsi + 0x20]
lea rdx, [rsp + 0x20]
call fcn.14006c2e0
cmp qword [rsp + 0x78], 4
jne 0x1400af6d3
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
cmp ecx, dword [rsp + 0x20]
jne 0x1400af6d3
movzx r14d, r13b
xor r14b, 1
mov rcx, qword [rsi + 0x40]
mov dword [rsi + 0x38], ebx
call fcn.1400a62e0
mov rbx, qword [rbp - 0x78]
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 1]
call fcn.1400a64d0
mov rdx, qword [rbp - 0x80]
mov r8, rbx
mov rcx, rax
mov qword [rsi + 0x40], rax
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + 0x48], ebx
test r14b, r14b
jne 0x1400af6ec
mov rcx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
jmp 0x1400af437
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x58]
mov edx, 0x8000c
call fcn.1400abcc0
mov rcx, qword [rsp + 0x58]
call fcn.1400a62e0
mov rcx, qword [rsp + 0x60]
call fcn.1400a62e0
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
mov r12, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x170]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b0530
add rsp, 0x128
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret