Function at 0x1400abd60
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
sub rsp, 0x38
mov r9, qword [rcx + 0x18]
mov rbx, rcx
mov r10, qword [rcx + 0x28]
mov eax, dword [rcx + 0x34]
mov rbp, qword [rcx + 0x40]
inc eax
mov rdx, qword [rcx + 0x80]
mov r11, qword [r10 + r9*8]
movsxd rcx, eax
mov r8, qword [r11 + 8]
add rcx, r8
cmp rbp, rcx
ja 0x1400ac125
cmp dword [r11 + 0x34], 0
mov qword [rsp + 0x50], rsi
jne 0x1400abdc1
xor esi, esi
sub rbp, rdx
cmp rbp, 1
setne sil
lea eax, [rsi + 1]
mov rsi, qword [rsp + 0x50]
add rsp, 0x38
pop rbp
pop rbx
ret
sub ebp, edx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
lea r13d, [rbp - 1]
test r13d, r13d
jle 0x1400abdfc
mov ecx, r13d
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8], al
lea r8, [r8 + 1]
sub rcx, 1
jne 0x1400abde0
mov r9, qword [rbx + 0x18]
mov r10, qword [rbx + 0x28]
mov rcx, qword [r10 + r9*8]
lea rax, [r10 + r9*8]
mov qword [rsp + 0x58], rdi
mov r14d, 1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r15
cmp dword [rcx + 0x38], 2
jne 0x1400abe2f
xor esi, esi
mov dword [rbx + 0x34], esi
mov rax, qword [rax]
mov dword [rax + 0x1c], esi
jmp 0x1400abf66
mov eax, dword [rcx + 0x18]
sub eax, r13d
dec eax
test eax, eax
jg 0x1400abeaa
mov esi, dword [rbx + 0x40]
nop
mov rdi, qword [r10 + r9*8]
sub esi, dword [rdi + 8]
cmp dword [rdi + 0x20], 0
je 0x1400ac135
mov ecx, dword [rdi + 0x18]
lea eax, [rcx + rcx]
test eax, eax
jg 0x1400abe68
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
mov dword [rdi + 0x18], eax
add eax, 2
mov rcx, qword [rdi + 8]
movsxd rdx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov qword [rdi + 8], rax
test rax, rax
je 0x1400ac13b
mov r9, qword [rbx + 0x18]
mov r10, qword [rbx + 0x28]
movsxd rsi, esi
add rsi, rax
mov qword [rbx + 0x40], rsi
mov rax, qword [r10 + r9*8]
mov eax, dword [rax + 0x18]
sub eax, r13d
dec eax
test eax, eax
jle 0x1400abe40
mov ecx, 0x2000
cmp eax, ecx
cmovg eax, ecx
movsxd r15, eax
mov rax, qword [r10 + r9*8]
cmp dword [rax + 0x24], 0
je 0x1400abf8e
xor esi, esi
mov edi, esi
test r15, r15
jle 0x1400abf51
movsxd r12, ebp
mov r14d, esi
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movsxd rbp, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getc]
cmp eax, 0xffffffff
je 0x1400abf37
lea edi, [rbp + 1]
cmp eax, 0xa
je 0x1400abf1c
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x28]
mov rdx, qword [rcx + rdx*8]
mov rdx, qword [rdx + 8]
add rdx, r14
inc r14
mov byte [rdx + r12 - 1], al
cmp r14, r15
jl 0x1400abee0
jmp 0x1400abf4b
mov rax, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rax + rcx*8]
mov rax, rbp
add rax, qword [rdx + 8]
mov byte [rax + r12 - 1], 0xa
jmp 0x1400abf4b
mov rcx, qword [rbx + 8]
mov edi, ebp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
jne 0x1400ac14b
mov r14d, 1
mov dword [rbx + 0x34], edi
mov rax, qword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rax + rcx*8]
mov eax, dword [rbx + 0x34]
mov dword [rdx + 0x1c], eax
mov ecx, dword [rbx + 0x34]
test ecx, ecx
jne 0x1400ac050
test r13d, r13d
jne 0x1400ac035
mov rcx, qword [rbx + 8]
mov rdx, rbx
call fcn.1400ab9b0
mov ecx, dword [rbx + 0x34]
jmp 0x1400ac053
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor esi, esi
movsxd rdi, ebp
mov r8, r15
mov rdx, r14
mov dword [rax], esi
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov r9, qword [rbx + 8]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 8]
dec rcx
add rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [rbx + 0x34], eax
test eax, eax
jne 0x1400abf54
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x1400abf54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
jne 0x1400ac14b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], esi
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_clearerr]
mov rcx, qword [rbx + 0x18]
mov r8, r15
mov rax, qword [rbx + 0x28]
mov rdx, r14
mov r9, qword [rbx + 8]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 8]
dec rcx
add rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [rbx + 0x34], eax
test eax, eax
je 0x1400abfd0
jmp 0x1400abf54
mov rcx, qword [rbx + 0x18]
mov r14d, 2
mov rax, qword [rbx + 0x28]
mov rcx, qword [rax + rcx*8]
mov dword [rcx + 0x38], r14d
mov ecx, dword [rbx + 0x34]
jmp 0x1400ac053
mov r14d, esi
mov r8, qword [rbx + 0x18]
lea eax, [rcx + r13]
mov r9, qword [rbx + 0x28]
mov r10, qword [r9 + r8*8]
cmp eax, dword [r10 + 0x18]
jle 0x1400ac0b7
mov edi, ecx
sar edi, 1
add edi, ecx
mov rcx, qword [r10 + 8]
add edi, r13d
movsxd rdx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rcx, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x18]
mov rdx, qword [rcx + rdx*8]
mov qword [rdx + 8], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x28]
mov rdx, qword [rax + rcx*8]
cmp qword [rdx + 8], 0
je 0x1400ac15b
lea eax, [rdi - 2]
mov dword [rdx + 0x18], eax
mov ecx, dword [rbx + 0x34]
mov r8, qword [rbx + 0x18]
mov r9, qword [rbx + 0x28]
mov rdi, qword [rsp + 0x58]
lea edx, [rcx + r13]
mov r12, qword [rsp + 0x60]
mov eax, r14d
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x50]
mov dword [rbx + 0x34], edx
mov rcx, qword [r9 + r8*8]
movsxd rdx, edx
mov rcx, qword [rcx + 8]
mov byte [rdx + rcx], 0
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x28]
mov rcx, qword [rcx + rdx*8]
movsxd rdx, dword [rbx + 0x34]
mov rcx, qword [rcx + 8]
mov byte [rcx + rdx + 1], 0
mov rcx, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x18]
mov rdx, qword [rcx + rdx*8]
mov rcx, qword [rdx + 8]
mov qword [rbx + 0x80], rcx
add rsp, 0x38
pop rbp
pop rbx
ret
lea rdx, str.fatal_flex_scanner_internal_error__end_of_buffer_missed
mov rcx, rbx
call fcn.1400ab2f0
int3
xor esi, esi
mov qword [rdi + 8], rsi
lea rdx, str.fatal_error___scanner_input_buffer_overflow
mov rcx, rbx
call fcn.1400ab2f0
int3
lea rdx, str.input_in_flex_scanner_failed
mov rcx, rbx
call fcn.1400ab2f0
int3
lea rdx, str.out_of_dynamic_memory_in_yy_get_next_buffer__
mov rcx, rbx
call fcn.1400ab2f0
int3