Function at 0x14000a6e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x40
call fcn.1400100f0
sub rsp, rax
mov r13, rdx
xor ebp, ebp
mov dword [rsp + 0x24], ebp
lea rdx, [0x140015f50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14000abc8
xor edx, edx
lea r8d, [rbp + 2]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000abc8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
test eax, eax
jle 0x14000abc8
movsxd rdi, eax
lea rcx, [rdi + 1]
call fcn.14000ef7c
mov rsi, rax
mov qword [rsp + 0x30], rax
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000abb9
mov r9, rbx
mov r8, rdi
lea edx, [rbp + 1]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
jne 0x14000abb9
mov byte [rsi + rdi], bpl
mov r12, rsi
xor r15b, r15b
mov r8d, ebp
mov dword [rsp + 0x20], ebp
lea rdi, [0x1400135c8]
lea rsi, [0x1400135c4]
mov r10, qword [rsp + 0xa0]
mov ebx, dword [rsp + 0x90]
jmp 0x14000a7d5
mov r10, qword [rsp + 0xa0]
xor ebp, ebp
lea r14, str.Strings
test r12, r12
je 0x14000aba2
mov r11, r12
nop dword [rax + rax]
lea rax, [0x1400135cc]
movzx edx, byte [r11]
mov cl, 0xd
nop dword [rax]
cmp dl, cl
je 0x14000a810
inc rax
movzx ecx, byte [rax]
test cl, cl
je 0x14000a818
jmp 0x14000a800
inc r11
cmp byte [rax], 0
jne 0x14000a7f0
movzx edx, byte [r11]
test dl, dl
je 0x14000aba2
mov r8, r11
nop word [rax + rax]
lea rcx, [0x1400135cc]
mov al, 0xd
nop dword [rax]
cmp dl, al
je 0x14000a85e
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x14000a840
inc r8
movzx edx, byte [r8]
test dl, dl
jne 0x14000a830
mov r12, rbp
jmp 0x14000a866
mov byte [r8], 0
lea r12, [r8 + 1]
movzx edx, byte [r11]
cmp dl, 0x23
mov r8d, dword [rsp + 0x20]
je 0x14000a7dc
cmp dl, 0x3b
je 0x14000a7dc
mov rax, rdi
mov cl, 0x20
cmp dl, cl
je 0x14000a8e0
inc rax
movzx ecx, byte [rax]
test cl, cl
jne 0x14000a886
movzx edx, byte [r11]
test dl, dl
je 0x14000a7dc
cmp dl, 0x5b
jne 0x14000a9f8
lea r9, [r11 + 1]
test r9, r9
je 0x14000a9ae
mov r8, r9
nop dword [rax]
mov rax, rsi
movzx edx, byte [r8]
mov cl, 0x5d
nop dword [rax]
cmp dl, cl
je 0x14000a8ee
inc rax
movzx ecx, byte [rax]
test cl, cl
je 0x14000a8f6
jmp 0x14000a8d0
inc r11
cmp byte [rax], 0
je 0x14000a894
movzx edx, byte [r11]
jmp 0x14000a881
inc r8
cmp byte [rax], 0
jne 0x14000a8c0
movzx edx, byte [r8]
test dl, dl
je 0x14000a9ae
mov rcx, rsi
mov al, 0x5d
cmp dl, al
je 0x14000a954
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x14000a907
inc r8
movzx edx, byte [r8]
test dl, dl
jne 0x14000a902
test r10, r10
je 0x14000a9cc
mov rdx, r10
sub rdx, r9
nop
movzx ecx, byte [r9]
movzx eax, byte [r9 + rdx]
sub ecx, eax
jne 0x14000a944
inc r9
test eax, eax
jne 0x14000a930
test ecx, ecx
sete r15b
mov r8d, dword [rsp + 0x20]
jmp 0x14000a7dc
mov byte [r8], 0
add r8, 1
je 0x14000a920
nop
mov rax, rdi
movzx edx, byte [r8]
mov cl, 0x20
nop dword [rax]
cmp dl, cl
je 0x14000a980
inc rax
movzx ecx, byte [rax]
test cl, cl
je 0x14000a988
jmp 0x14000a970
inc r8
cmp byte [rax], 0
jne 0x14000a960
movzx edx, byte [r8]
test dl, dl
je 0x14000a920
mov rcx, rdi
mov al, 0x20
cmp dl, al
je 0x14000a9bb
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x14000a995
inc r8
movzx edx, byte [r8]
test dl, dl
jne 0x14000a990
xor r15b, r15b
mov r8d, dword [rsp + 0x20]
jmp 0x14000a7dc
mov byte [r8], 0
xor r15b, r15b
mov r8d, dword [rsp + 0x20]
jmp 0x14000a7dc
mov rax, rbp
nop
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [r14 + rax - 1]
jne 0x14000a9ea
cmp rax, 8
jne 0x14000a9d0
cmp cl, byte [r14 + rax - 1]
sete r15b
mov r8d, dword [rsp + 0x20]
jmp 0x14000a7dc
test r15b, r15b
je 0x14000a7dc
mov r8, r11
nop dword [rax]
nop dword [rax + rax]
lea rax, [0x1400135d0]
mov cl, 0x3d
nop dword [rax]
cmp dl, cl
je 0x14000aa6e
inc rax
movzx ecx, byte [rax]
test cl, cl
jne 0x14000aa20
movzx edx, byte [r8]
test dl, dl
je 0x14000a9b1
nop word [rax + rax]
lea rcx, [0x1400135d0]
mov al, 0x3d
nop dword [rax]
cmp dl, al
je 0x14000aa7c
inc rcx
movzx eax, byte [rcx]
test al, al
jne 0x14000aa50
inc r8
movzx edx, byte [r8]
test dl, dl
jne 0x14000aa40
mov r14, rbp
jmp 0x14000aa84
inc r8
cmp byte [rax], 0
je 0x14000aa2e
movzx edx, byte [r8]
jmp 0x14000aa10
mov byte [r8], 0
lea r14, [r8 + 1]
test r13, r13
mov r8d, dword [rsp + 0x20]
je 0x14000a7d5
mov r10d, ebp
mov r9, r13
cmp byte [r13], 0
je 0x14000a7cb
mov rax, r11
mov r8, r9
sub r8, r11
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14000aac3
inc rax
test ecx, ecx
jne 0x14000aab0
test edx, edx
je 0x14000aaf6
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r9 + rax], 0
jne 0x14000aad0
inc r9
add r9, rax
inc r10d
inc rbp
cmp byte [r9], 0
jne 0x14000aaa3
mov r8d, dword [rsp + 0x20]
jmp 0x14000a7cb
test rbp, rbp
mov r8d, dword [rsp + 0x20]
js 0x14000a7cb
cmp r10d, ebx
mov r10, qword [rsp + 0xa0]
jae 0x14000a7d3
mov rdi, 0xffffffffffffffff
nop dword [rax]
lea rdi, [rdi + 1]
cmp byte [r14 + rdi], 0
jne 0x14000ab20
lea rcx, [rdi + 1]
call fcn.14000ef7c
mov rsi, rax
lea r8, [rdi + 1]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
or dword [rsp + 0x24], 1
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rdi + rbp*8]
mov qword [rdi + rbp*8], rsi
test rcx, rcx
je 0x14000ab70
call fcn.14000ef74
mov rsi, qword [rdi + rbp*8]
nop dword [rax + rax]
movzx eax, byte [r14]
mov byte [rsi], al
lea r14, [r14 + 1]
lea rsi, [rsi + 1]
test al, al
jne 0x14000ab70
mov r8d, dword [rsp + 0x20]
inc r8d
mov dword [rsp + 0x20], r8d
lea rdi, [0x1400135c8]
lea rsi, [0x1400135c4]
jmp 0x14000a7cb
mov edi, 5
cmp r8d, ebx
cmove edi, ebp
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
jmp 0x14000abbe
mov edi, 6
mov rcx, rsi
call fcn.14000ef74
jmp 0x14000abcd
mov edi, 6
test rbx, rbx
je 0x14000abdc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret