Function at 0x633d831f
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x634049bc]
mov edx, dword [0x63402278]
push ebx
push esi
mov esi, dword [0x634049c8]
mov ecx, dword [esi + 4]
lea ebx, [ecx + eax + 1]
mov eax, dword [0x634049cc]
push edi
mov edi, edx
cmp eax, ebx
jbe 0x633d834f
push str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call fcn.633d79ea
cmp dword [esi + 0x20], 0
jne 0x633d8367
sub eax, edx
xor ecx, ecx
cmp eax, 1
setne cl
inc ecx
mov eax, ecx
jmp 0x633d8542
push ebp
mov ebp, eax
sub ebp, edx
dec ebp
test ebp, ebp
jle 0x633d837c
mov edx, ebp
mov bl, byte [edi]
mov byte [ecx], bl
inc ecx
inc edi
dec edx
jne 0x633d8373
cmp dword [esi + 0x24], 2
jne 0x633d8391
xor eax, eax
mov dword [0x634049bc], eax
mov dword [esi + 0x10], eax
jmp 0x633d84f7
mov ecx, dword [esi + 0xc]
mov edi, ecx
sub edi, ebp
dec edi
xor ebx, ebx
jmp 0x633d83e4
mov edx, dword [esi + 4]
sub eax, edx
mov edi, eax
cmp dword [esi + 0x14], ebx
je 0x633d83cb
lea eax, [ecx + ecx]
cmp eax, ebx
jg 0x633d83b7
mov eax, ecx
shr eax, 3
add eax, ecx
mov dword [esi + 0xc], eax
inc eax
inc eax
push eax
push edx
call dword [sym.imp.MSVCR90.dll_realloc]
pop ecx
pop ecx
mov dword [esi + 4], eax
jmp 0x633d83ce
mov dword [esi + 4], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x633d8451
mov ecx, dword [esi + 0xc]
add eax, edi
mov edi, ecx
sub edi, ebp
mov dword [0x634049cc], eax
dec edi
cmp edi, ebx
jle 0x633d839d
mov eax, 0x2000
cmp edi, eax
jle 0x633d83f3
mov edi, eax
cmp dword [esi + 0x18], ebx
je 0x633d846d
test edi, edi
jle 0x633d8461
push dword [0x634049d4]
call dword [sym.imp.MSVCR90.dll_getc]
mov esi, dword [0x634049c8]
pop ecx
cmp eax, 0xffffffff
je 0x633d8426
cmp eax, 0xa
je 0x633d842b
mov ecx, dword [esi + 4]
add ecx, ebx
inc ebx
cmp ebx, edi
mov byte [ecx + ebp], al
jl 0x633d83fc
cmp eax, 0xa
jne 0x633d8434
mov ecx, dword [esi + 4]
add ecx, ebx
mov byte [ecx + ebp], al
inc ebx
cmp eax, 0xffffffff
jne 0x633d8461
push dword [0x634049d4]
call dword [sym.imp.MSVCR90.dll_ferror]
pop ecx
test eax, eax
je 0x633d845b
push str.input_in_flex_scanner_failed
jmp 0x633d8456
push str.fatal_error___scanner_input_buffer_overflow
call fcn.633d79ea
mov esi, dword [0x634049c8]
mov eax, ebx
mov dword [0x634049bc], eax
jmp 0x633d84f0
mov esi, dword [sym.imp.MSVCR90.dll__errno]
call esi
mov dword [eax], ebx
push dword [0x634049d4]
mov eax, dword [0x634049c8]
mov eax, dword [eax + 4]
mov ebx, dword [sym.imp.MSVCR90.dll_fread]
push edi
add eax, ebp
push 1
push eax
call ebx
add esp, 0x10
jmp 0x633d84da
push dword [0x634049d4]
call dword [sym.imp.MSVCR90.dll_ferror]
pop ecx
test eax, eax
je 0x633d84e5
call esi
cmp dword [eax], 4
jne 0x633d844a
call esi
and dword [eax], 0
push dword [0x634049d4]
call dword [sym.imp.MSVCR90.dll_clearerr]
push dword [0x634049d4]
mov eax, dword [0x634049c8]
mov eax, dword [eax + 4]
push edi
add eax, ebp
push 1
push eax
call ebx
add esp, 0x14
mov dword [0x634049bc], eax
test eax, eax
je 0x633d8498
jmp 0x633d84ea
mov eax, dword [0x634049bc]
mov esi, dword [0x634049c8]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x633d851f
test ebp, ebp
jne 0x633d8517
push dword [0x634049d4]
xor edi, edi
inc edi
call fcn.633d82ee
mov esi, dword [0x634049c8]
mov eax, dword [0x634049bc]
pop ecx
jmp 0x633d8521
push 2
pop edi
mov dword [esi + 0x24], edi
jmp 0x633d8521
xor edi, edi
mov ecx, dword [esi + 4]
add eax, ebp
mov byte [eax + ecx], 0
mov ecx, dword [esi + 4]
mov byte [eax + ecx + 1], 0
mov dword [0x634049bc], eax
mov eax, dword [esi + 4]
mov dword [0x63402278], eax
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret