Function at 0x1400056a2
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rbp - 8], rax
mov rax, qword [0x140014050]
mov qword [rbp - 0x10], rax
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rdx, qword [rax + 8]
mov eax, dword [0x140014074]
cdqe
add rax, 1
add rdx, rax
mov rax, qword [0x140014078]
cmp rdx, rax
jae 0x14000571b
lea rcx, str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call sym.yy_fatal_error
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov eax, dword [rax + 0x34]
test eax, eax
jne 0x140005765
mov rax, qword [0x140014078]
mov rdx, qword [0x140014050]
sub rax, rdx
cmp rax, 1
jne 0x14000575b
mov eax, 1
jmp 0x140005ce6
mov eax, 2
jmp 0x140005ce6
mov rax, qword [0x140014078]
mov rdx, qword [0x140014050]
sub rax, rdx
sub eax, 1
mov dword [rbp - 0x28], eax
mov dword [rbp - 0x14], 0
jmp 0x1400057a6
mov rdx, qword [rbp - 0x10]
lea rax, [rdx + 1]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
lea rcx, [rax + 1]
mov qword [rbp - 8], rcx
movzx edx, byte [rdx]
mov byte [rax], dl
add dword [rbp - 0x14], 1
mov eax, dword [rbp - 0x14]
cmp eax, dword [rbp - 0x28]
jl 0x140005785
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov eax, dword [rax + 0x38]
cmp eax, 2
jne 0x1400057fe
mov dword [0x140014074], 0
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov edx, dword [0x140014074]
mov dword [rax + 0x1c], edx
jmp 0x140005b26
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
sub eax, dword [rbp - 0x28]
sub eax, 1
mov dword [rbp - 0x1c], eax
jmp 0x140005935
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
mov rdx, qword [0x140014078]
mov rax, qword [rbp - 0x30]
mov rcx, qword [rax + 8]
mov rax, rdx
sub rax, rcx
mov dword [rbp - 0x34], eax
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x20]
test eax, eax
je 0x1400058d5
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x18]
add eax, eax
mov dword [rbp - 0x38], eax
cmp dword [rbp - 0x38], 0
jg 0x14000589d
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax + 0x18]
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x18]
lea edx, [rax + 7]
test eax, eax
cmovs eax, edx
sar eax, 3
lea edx, [rcx + rax]
mov rax, qword [rbp - 0x30]
mov dword [rax + 0x18], edx
jmp 0x1400058ae
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x18]
lea edx, [rax + rax]
mov rax, qword [rbp - 0x30]
mov dword [rax + 0x18], edx
mov rax, qword [rbp - 0x30]
mov eax, dword [rax + 0x18]
add eax, 2
movsxd rdx, eax
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 8]
mov rcx, rax
call sym.yyrealloc
mov rdx, qword [rbp - 0x30]
mov qword [rdx + 8], rax
jmp 0x1400058e1
mov rax, qword [rbp - 0x30]
mov qword [rax + 8], 0
mov rax, qword [rbp - 0x30]
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400058fa
lea rcx, str.fatal_error___scanner_input_buffer_overflow
call sym.yy_fatal_error
mov rax, qword [rbp - 0x30]
mov rdx, qword [rax + 8]
mov eax, dword [rbp - 0x34]
cdqe
add rax, rdx
mov qword [0x140014078], rax
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
sub eax, dword [rbp - 0x28]
sub eax, 1
mov dword [rbp - 0x1c], eax
cmp dword [rbp - 0x1c], 0
jle 0x140005827
cmp dword [rbp - 0x1c], 0x2000
jle 0x14000594f
mov dword [rbp - 0x1c], 0x2000
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov eax, dword [rax + 0x24]
test eax, eax
je 0x140005a4f
mov dword [rbp - 0x20], 0x2a
mov dword [rbp - 0x24], 0
jmp 0x1400059b8
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rdx, qword [rax + 8]
mov eax, dword [rbp - 0x28]
movsxd rcx, eax
mov eax, dword [rbp - 0x24]
cdqe
add rax, rcx
add rax, rdx
mov edx, dword [rbp - 0x20]
mov byte [rax], dl
add dword [rbp - 0x24], 1
mov eax, dword [rbp - 0x24]
cmp eax, dword [rbp - 0x1c]
jge 0x1400059de
mov rax, qword [0x140014038]
mov rcx, rax
call sym.getc
mov dword [rbp - 0x20], eax
cmp dword [rbp - 0x20], 0xffffffff
je 0x1400059de
cmp dword [rbp - 0x20], 0xa
jne 0x140005982
cmp dword [rbp - 0x20], 0xa
jne 0x140005a1c
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rcx, qword [rax + 8]
mov eax, dword [rbp - 0x28]
movsxd r8, eax
mov eax, dword [rbp - 0x24]
lea edx, [rax + 1]
mov dword [rbp - 0x24], edx
cdqe
add rax, r8
add rax, rcx
mov edx, dword [rbp - 0x20]
mov byte [rax], dl
cmp dword [rbp - 0x20], 0xffffffff
jne 0x140005a41
mov rax, qword [0x140014038]
mov rcx, rax
call sym.ferror
test eax, eax
je 0x140005a41
lea rcx, str.input_in_flex_scanner_failed
call sym.yy_fatal_error
mov eax, dword [rbp - 0x24]
mov dword [0x140014074], eax
jmp 0x140005b05
mov rax, qword [sym.imp.msvcrt.dll__errno]
call rax
mov dword [rax], 0
jmp 0x140005a9a
mov rax, qword [sym.imp.msvcrt.dll__errno]
call rax
mov eax, dword [rax]
cmp eax, 4
je 0x140005a7c
lea rcx, str.input_in_flex_scanner_failed
call sym.yy_fatal_error
mov rax, qword [sym.imp.msvcrt.dll__errno]
call rax
mov dword [rax], 0
mov rax, qword [0x140014038]
mov rcx, rax
call sym.clearerr
mov rcx, qword [0x140014038]
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
mov r8, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, r8
mov rax, qword [rax]
mov r8, qword [rax + 8]
mov eax, dword [rbp - 0x28]
cdqe
add rax, r8
mov r9, rcx
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fread
mov dword [0x140014074], eax
mov eax, dword [0x140014074]
test eax, eax
jne 0x140005b05
mov rax, qword [0x140014038]
mov rcx, rax
call sym.ferror
test eax, eax
jne 0x140005a60
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov edx, dword [0x140014074]
mov dword [rax + 0x1c], edx
mov eax, dword [0x140014074]
test eax, eax
jne 0x140005b76
cmp dword [rbp - 0x28], 0
jne 0x140005b4e
mov dword [rbp - 0x18], 1
mov rax, qword [0x140014038]
mov rcx, rax
call sym.yyrestart
jmp 0x140005b7d
mov dword [rbp - 0x18], 2
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov dword [rax + 0x38], 2
jmp 0x140005b7d
mov dword [rbp - 0x18], 0
mov edx, dword [0x140014074]
mov eax, dword [rbp - 0x28]
add edx, eax
mov rcx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rcx
mov rax, qword [rax]
mov eax, dword [rax + 0x18]
cmp edx, eax
jle 0x140005c57
mov edx, dword [0x140014074]
mov eax, dword [rbp - 0x28]
add edx, eax
mov eax, dword [0x140014074]
sar eax, 1
add eax, edx
mov dword [rbp - 0x3c], eax
mov eax, dword [rbp - 0x3c]
movsxd rdx, eax
mov rcx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rcx
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov r8, qword [0x140014068]
mov rcx, qword [0x140014058]
shl rcx, 3
add rcx, r8
mov rbx, qword [rcx]
mov rcx, rax
call sym.yyrealloc
mov qword [rbx + 8], rax
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rax, qword [rax + 8]
test rax, rax
jne 0x140005c36
lea rcx, str.out_of_dynamic_memory_in_yy_get_next_buffer__
call sym.yy_fatal_error
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov edx, dword [rbp - 0x3c]
sub edx, 2
mov dword [rax + 0x18], edx
mov edx, dword [0x140014074]
mov eax, dword [rbp - 0x28]
add eax, edx
mov dword [0x140014074], eax
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rdx, qword [rax + 8]
mov eax, dword [0x140014074]
cdqe
add rax, rdx
mov byte [rax], 0
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rdx, qword [rax + 8]
mov eax, dword [0x140014074]
cdqe
add rax, 1
add rax, rdx
mov byte [rax], 0
mov rdx, qword [0x140014068]
mov rax, qword [0x140014058]
shl rax, 3
add rax, rdx
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [0x140014050], rax
mov eax, dword [rbp - 0x18]
add rsp, 0x68
pop rbx
pop rbp
ret