Function at 0x4087b0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
cmp dword [0x42f2bc], esi
push edi
je 0x4083e0
cmp dword [0x430888], esi
mov dword [0x42f2bc], esi
jne 0x4083a2
mov dword [0x430888], 1
cmp dword [0x43088c], esi
jne 0x4083b4
call fcn.00410ea9
mov dword [0x43088c], eax
cmp dword [0x430890], esi
jne 0x4083c9
call fcn.00410ea9
add eax, 0x20
mov dword [0x430890], eax
cmp dword [0x430880], esi
jne 0x4083db
call fcn.00408b33
mov dword [0x430880], eax
call fcn.00408b07
mov ecx, dword [0x430884]
mov al, byte [0x4307f0]
mov ebp, dword [0x430888]
mov edi, ecx
mov byte [ecx], al
mov ebx, ecx
movzx eax, byte [edi]
mov dl, byte [eax*4 + 0x425648]
lea eax, [ebp + ebp]
cmp word [eax + 0x425600], 0
je 0x408434
mov dword [0x43081c], ebp
mov dword [0x4307f4], edi
jmp 0x408434
movsx ebp, word [eax + 0x425ac0]
cmp ebp, 0x23
jl 0x408430
mov dl, byte [ecx*4 + 0x425a48]
lea eax, [ebp + ebp]
movsx esi, word [eax + 0x425a68]
movzx ecx, dl
add esi, ecx
movsx esi, word [esi*2 + 0x425b98]
cmp esi, ebp
jne 0x40841d
movsx eax, word [ebp*2 + 0x425a68]
movzx ecx, dl
add eax, ecx
movsx ebp, word [eax*2 + 0x425b18]
inc edi
cmp word [ebp*2 + 0x425a68], 0x36
jne 0x4083f7
movsx eax, word [ebp*2 + 0x425600]
test eax, eax
jne 0x40848c
mov eax, dword [0x43081c]
mov edi, dword [0x4307f4]
movsx eax, word [eax*2 + 0x425600]
mov ecx, edi
sub ecx, ebx
mov dword [0x430804], ecx
mov cl, byte [edi]
mov esi, ebx
mov byte [0x4307f0], cl
mov dword [0x4307fc], esi
mov byte [edi], 0
mov ecx, edi
cmp eax, 0xd
mov dword [0x430884], ecx
ja case.default.0x4084ba
jmp dword [eax*4 + 0x408778]
mov al, byte [0x4307f0]
mov ebp, edi
sub ebp, esi
mov byte [edi], al
mov eax, dword [0x430880]
dec ebp
cmp dword [eax + 0x24], 0
jne 0x4084f0
mov edx, dword [eax + 0x10]
mov dword [0x43080c], edx
mov edx, dword [0x43088c]
mov dword [eax], edx
mov dword [eax + 0x24], 1
mov eax, dword [eax + 4]
add eax, dword [0x43080c]
cmp ecx, eax
jbe 0x408575
call 0x4087b0
sub eax, 0
je 0x40859e
dec eax
jne 0x408548
and dword [0x430818], 0
mov eax, dword [0x430888]
mov esi, dword [0x4307fc]
dec eax
cdq
sub eax, edx
sar eax, 1
mov ecx, esi
add eax, 0xc
jmp 0x4084ab
mov al, byte [0x4307f0]
mov ebp, dword [0x43081c]
mov byte [edi], al
mov edi, dword [0x4307f4]
jmp 0x40846d
dec eax
jne 0x4083e0
mov eax, dword [0x430880]
mov edi, dword [eax + 4]
add edi, dword [0x43080c]
mov dword [0x430884], edi
call fcn.00408982
mov ebx, dword [0x4307fc]
mov ebp, eax
jmp 0x40846d
lea edi, [esi + ebp]
mov dword [0x430884], edi
call fcn.00408982
mov ebp, eax
mov ecx, ebp
call fcn.00408a16
test eax, eax
mov ebx, esi
je 0x40846d
inc edi
mov ebp, eax
jmp 0x4083f7
mov esi, dword [0x4307fc]
lea edi, [esi + ebp]
mov dword [0x430884], edi
call fcn.00408982
mov ebp, eax
mov ebx, esi
jmp 0x4083f7
mov al, byte [esi + 1]
cmp al, byte [0x4307f1]
jne case.0x4084ba.6
mov edx, dword [0x430880]
mov eax, ecx
sub eax, dword [edx + 4]
mov dword [0x430800], 1
sub eax, dword [0x430804]
cmp dword [0x430814], 0
mov dword [0x430810], eax
jle 0x408734
mov dword [0x430888], 3
jmp case.0x4084ba.6
mov dl, byte [esi + 1]
xor eax, eax
inc eax
jmp 0x40861e
cmp dl, byte [0x4307f1]
je 0x408743
inc eax
mov dl, byte [esi + eax]
test dl, dl
jne 0x40860e
jmp case.0x4084ba.6
mov edi, dword [0x430820]
inc esi
shl edi, 4
mov ebx, 0x4308f8
push esi
add edi, ebx
call fcn.004058e7
mov esi, dword [0x430820]
mov eax, esi
shl eax, 4
add eax, ebx
call fcn.00405b24
inc esi
cmp esi, dword [0x430814]
mov dword [0x430820], esi
jne 0x4083e0
mov eax, dword [0x430884]
mov ecx, dword [0x430880]
sub eax, dword [ecx + 4]
jmp 0x408737
mov edi, dword [0x430820]
shl edi, 4
push esi
add edi, 0x4308f8
call fcn.004058e7
inc dword [0x430820]
mov eax, dword [0x430820]
cmp eax, dword [0x430814]
jmp 0x40865d
mov edi, dword [0x430824]
inc esi
push esi
shl edi, 4
mov esi, 0x4308f8
add edi, esi
call fcn.004058e7
mov eax, dword [0x430824]
shl eax, 4
add eax, esi
call fcn.00405b24
mov ecx, dword [0x430884]
mov edx, dword [0x430880]
mov eax, ecx
sub eax, dword [edx + 4]
mov edx, eax
sub edx, dword [0x430804]
mov dword [0x430808], eax
mov eax, dword [0x430824]
inc dword [0x430824]
cmp eax, dword [0x4307f8]
mov dword [0x430810], edx
jne case.0x4084ba.6
jmp 0x408761
mov edi, dword [0x430824]
shl edi, 4
push esi
add edi, 0x4308f8
call fcn.004058e7
jmp 0x4086c4
invalid
push dword [0x430890]
push 1
push dword [0x430804]
push esi
call fcn.0040f091
add esp, 0x10
jmp 0x4083e0
add eax, 2
mov dword [0x430808], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [0x430880]
sub ecx, dword [edx + 4]
sub ecx, dword [0x430804]
add ecx, eax
mov dword [0x430810], ecx
inc ecx
mov dword [0x430808], ecx
mov dword [0x430800], 1
jmp case.0x4084ba.3
push str.fatal_flex_scanner_internal_error__no_action_found
call fcn.00408c9a
nop
xor byte [ebp - 0x7a44ffc0], al
inc eax
add byte [esi], al
xchg byte [eax], al
cmp al, 0x87
inc eax
add byte [edi], ah
xchg byte [eax], al
jbe 0x408714
inc eax
add dh, ah
add dword [eax], 0xffffff9e
xchg byte [eax], al
add dword [edi - 0x7c19ffc0], eax
inc eax
add byte [eax], bl
xchg dword [eax], eax
rol dword [eax + eax*2 + 0x40873c00], 0
cmp al, 135
inc eax
add byte [ecx + 0x43080c], ah
mov edx, dword [0x4307fc]
push ebx
push esi
mov esi, dword [0x430880]
mov ecx, dword [esi + 4]
lea ebx, [ecx + eax + 1]
mov eax, dword [0x430884]
cmp eax, ebx
push edi
mov edi, edx
jbe 0x4087e0
push str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call fcn.00408c9a
cmp dword [esi + 0x20], 0
jne 0x4087f8
sub eax, edx
xor ecx, ecx
cmp eax, 1
setne cl
inc ecx
mov eax, ecx
jmp 0x40897e
push ebp
mov ebp, eax
sub ebp, edx
dec ebp
test ebp, ebp
jle 0x40880d
mov edx, ebp
mov bl, byte [edi]
mov byte [ecx], bl
inc ecx
inc edi
dec edx
jne 0x408804
cmp dword [esi + 0x24], 2
jne 0x408822
xor eax, eax
and dword [esi + 0x10], eax
mov dword [0x43080c], eax
jmp 0x40893a
mov ecx, dword [esi + 0xc]
mov edi, ecx
sub edi, ebp
dec edi
xor ebx, ebx
jmp 0x408874
mov edx, dword [esi + 4]
sub eax, edx
cmp dword [esi + 0x14], ebx
mov edi, eax
je 0x40885b
lea eax, [ecx + ecx]
cmp eax, ebx
jg 0x408848
mov eax, ecx
shr eax, 3
add eax, ecx
mov dword [esi + 0xc], eax
inc eax
inc eax
push eax
push edx
call fcn.00411299
pop ecx
pop ecx
mov dword [esi + 4], eax
jmp 0x40885e
mov dword [esi + 4], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4088df
mov ecx, dword [esi + 0xc]
add eax, edi
mov edi, ecx
sub edi, ebp
mov dword [0x430884], eax
dec edi
cmp edi, ebx
jle 0x40882e
mov eax, 0x2000
cmp edi, eax
jle 0x408883
mov edi, eax
cmp dword [esi + 0x18], ebx
je 0x4088f8
test edi, edi
jle 0x4088ef
push dword [0x43088c]
call fcn.004104fc
cmp eax, 0xffffffff
mov esi, dword [0x430880]
pop ecx
je 0x4088b5
cmp eax, 0xa
je 0x4088ba
mov ecx, dword [esi + 4]
add ecx, ebx
inc ebx
cmp ebx, edi
mov byte [ecx + ebp], al
jl 0x40888c
cmp eax, 0xa
jne 0x4088c3
mov ecx, dword [esi + 4]
add ecx, ebx
mov byte [ecx + ebp], al
inc ebx
cmp eax, 0xffffffff
jne 0x4088ef
push dword [0x43088c]
call fcn.0040e3be
test eax, eax
pop ecx
je 0x4088e9
push str.input_in_flex_scanner_failed
jmp 0x4088e4
push str.fatal_error___scanner_input_buffer_overflow
call fcn.00408c9a
mov esi, dword [0x430880]
mov eax, ebx
mov dword [0x43080c], eax
jmp 0x408933
push dword [0x43088c]
mov eax, dword [esi + 4]
push edi
add eax, ebp
push 1
push eax
call fcn.0040ee54
add esp, 0x10
cmp eax, ebx
mov dword [0x43080c], eax
jne 0x40892d
push dword [0x43088c]
call fcn.0040e3be
test eax, eax
pop ecx
jne 0x4088d8
mov eax, dword [0x43080c]
mov esi, dword [0x430880]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x40895b
test ebp, ebp
jne 0x408953
xor edi, edi
inc edi
call fcn.00408aa0
mov esi, dword [0x430880]
mov eax, dword [0x43080c]
jmp 0x40895d
push 2
pop edi
mov dword [esi + 0x24], edi
jmp 0x40895d
xor edi, edi
mov ecx, dword [esi + 4]
add eax, ebp
mov byte [eax + ecx], 0
mov ecx, dword [esi + 4]
mov dword [0x43080c], eax
mov byte [eax + ecx + 1], 0
mov eax, dword [esi + 4]
mov dword [0x4307fc], eax
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x430cfc]
mov dword [0x430888], 1
call fcn.00408c2c
jmp 0x40837c