Function at 0x47f110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x62dd44]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [0x634a60]
mov dword [ebp - 0x14], edx
mov eax, dword [0x62dd44]
mov ecx, dword [eax + 4]
mov edx, dword [0x62dd38]
lea eax, [edx + ecx + 1]
cmp dword [0x62dd48], eax
jbe 0x47f151
push str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call fcn.0047fa40
add esp, 4
mov ecx, dword [0x62dd44]
cmp dword [ecx + 0x20], 0
jne 0x47f184
mov edx, dword [0x62dd48]
sub edx, dword [0x634a60]
cmp edx, 1
jne 0x47f17a
mov eax, 1
jmp 0x47f455
mov eax, 2
jmp 0x47f455
mov eax, dword [0x62dd48]
sub eax, dword [0x634a60]
sub eax, 1
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x47f1a7
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jge 0x47f1cd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x47f19e
mov edx, dword [0x62dd44]
cmp dword [edx + 0x24], 2
jne 0x47f1f6
mov dword [0x62dd38], 0
mov eax, dword [0x62dd44]
mov ecx, dword [0x62dd38]
mov dword [eax + 0x10], ecx
jmp 0x47f3cb
mov edx, dword [0x62dd44]
mov eax, dword [edx + 0xc]
sub eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x47f2ce
mov ecx, dword [0x62dd44]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x62dd48]
sub eax, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x14], 0
je 0x47f289
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
shl eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x47f25a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
shr edx, 3
mov eax, dword [ebp - 0x1c]
add edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], edx
jmp 0x47f268
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
shl eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
add eax, 2
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
push edx
call fcn.0047fa90
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
jmp 0x47f293
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x47f2a9
push str.fatal_error___scanner_input_buffer_overflow
call fcn.0047fa40
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x20]
mov dword [0x62dd48], edx
mov eax, dword [0x62dd44]
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x47f208
cmp dword [ebp - 0x18], 0x2000
jle 0x47f2de
mov dword [ebp - 0x18], 0x2000
mov edx, 1
test edx, edx
je 0x47f36e
mov dword [ebp - 0x2c], 0x2a
mov dword [ebp - 0x28], 0
jmp 0x47f304
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x18]
jge 0x47f340
mov edx, dword [0x62dd50]
push edx
call fcn.0047eb70
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x47f340
cmp dword [ebp - 0x2c], 0xa
je 0x47f340
mov eax, dword [0x62dd44]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
mov al, byte [ebp - 0x2c]
mov byte [ecx + edx], al
jmp 0x47f2fb
cmp dword [ebp - 0x2c], 0xa
jne 0x47f364
mov ecx, dword [0x62dd44]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x2c]
mov byte [edx + eax], cl
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [0x62dd38], eax
jmp 0x47f3bd
mov ecx, dword [0x62dd50]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 1
mov eax, dword [0x62dd44]
mov ecx, dword [eax + 4]
add ecx, dword [ebp - 8]
push ecx
call fcn.00586695
add esp, 0x10
mov dword [0x62dd38], eax
cmp dword [0x62dd38], 0
jne 0x47f3bd
mov edx, dword [0x62dd50]
push edx
call fcn.0058634e
add esp, 4
test eax, eax
je 0x47f3bd
push str.input_in_flex_scanner_failed
call fcn.0047fa40
add esp, 4
mov eax, dword [0x62dd44]
mov ecx, dword [0x62dd38]
mov dword [eax + 0x10], ecx
cmp dword [0x62dd38], 0
jne 0x47f407
cmp dword [ebp - 8], 0
jne 0x47f3f2
mov dword [ebp - 0x10], 1
mov edx, dword [0x62dd50]
push edx
call fcn.0047f600
add esp, 4
jmp 0x47f405
mov dword [ebp - 0x10], 2
mov eax, dword [0x62dd44]
mov dword [eax + 0x24], 2
jmp 0x47f40e
mov dword [ebp - 0x10], 0
mov ecx, dword [0x62dd38]
add ecx, dword [ebp - 8]
mov dword [0x62dd38], ecx
mov edx, dword [0x62dd44]
mov eax, dword [edx + 4]
mov ecx, dword [0x62dd38]
mov byte [eax + ecx], 0
mov edx, dword [0x62dd44]
mov eax, dword [edx + 4]
mov ecx, dword [0x62dd38]
mov byte [ecx + eax + 1], 0
mov edx, dword [0x62dd44]
mov eax, dword [edx + 4]
mov dword [0x634a60], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret