Function at 0x407573
Capabilities:
Terminate process

Disassembly:
xor eax, eax
cmp dword [0x41d038], eax
je 0x406aa2
cmp dword [0x41f75c], eax
mov dword [0x41d038], eax
jne 0x406a5f
mov dword [0x41f75c], 1
mov ecx, dword [0x41f760]
cmp ecx, eax
jne 0x406a74
mov ecx, 0x41e370
mov dword [0x41f760], ecx
cmp dword [0x41f764], eax
jne 0x406a86
mov dword [0x41f764], 0x41e390
cmp dword [0x41f754], eax
jne 0x406a9d
mov edx, 0x4000
call fcn.0040733e
mov dword [0x41f754], eax
call fcn.00407312
push ebx
push ebp
push esi
push edi
mov ecx, dword [0x41f758]
mov al, byte [0x41f425]
mov edi, ecx
mov byte [ecx], al
mov esi, dword [0x41f75c]
mov ebx, edi
movzx eax, byte [edi]
mov dl, byte [eax*4 + 0x41778c]
lea eax, [esi + esi]
cmp word [eax + 0x417744], 0
je 0x406ae0
mov dword [0x41f750], esi
mov dword [0x41f734], edi
movsx ebp, word [eax + 0x417ba8]
xor ecx, ecx
mov cl, dl
add ebp, ecx
movsx ebp, word [ebp*2 + 0x417cd4]
cmp ebp, esi
je 0x406b11
movsx esi, word [eax + 0x417c00]
cmp esi, 0x23
jl 0x406b0c
mov dl, byte [ecx*4 + 0x417b8c]
lea eax, [esi + esi]
jmp 0x406ae0
movsx eax, word [esi*2 + 0x417ba8]
xor ecx, ecx
mov cl, dl
add eax, ecx
movsx esi, word [eax*2 + 0x417c58]
inc edi
cmp word [esi*2 + 0x417ba8], 0x36
jne 0x406abd
movsx eax, word [esi*2 + 0x417744]
test eax, eax
jne 0x406b52
mov eax, dword [0x41f750]
mov edi, dword [0x41f734]
movsx eax, word [eax*2 + 0x417744]
mov ecx, edi
sub ecx, ebx
mov dword [0x41f738], ebx
mov dword [0x41f410], ecx
mov cl, byte [edi]
mov byte [0x41f425], cl
and byte [edi], 0
mov esi, dword [0x41f738]
mov ecx, edi
mov dword [0x41f758], ecx
cmp eax, 0xd
ja case.default.0x406b84
jmp dword [eax*4 + 0x406edc]
mov al, byte [0x41f425]
mov ebp, edi
sub ebp, esi
mov byte [edi], al
mov eax, dword [0x41f754]
xor esi, esi
dec ebp
cmp dword [eax + 0x24], esi
jne 0x406bc5
mov ecx, dword [eax + 0x10]
mov dword [0x41f730], ecx
mov ecx, dword [0x41f760]
mov dword [eax], ecx
mov eax, dword [0x41f754]
mov dword [eax + 0x24], 1
mov eax, dword [0x41f754]
mov eax, dword [eax + 4]
add eax, dword [0x41f730]
cmp dword [0x41f758], eax
jbe 0x406c5b
call 0x406f14
sub eax, esi
je 0x406c9d
dec eax
jne 0x406c11
mov eax, dword [0x41f75c]
dec eax
cdq
mov dword [0x41f41c], esi
mov esi, dword [0x41f738]
sub eax, edx
mov ecx, esi
sar eax, 1
mov dword [0x41f758], ecx
add eax, 0xc
jmp 0x406b7b
dec eax
jne 0x406aa6
mov eax, dword [0x41f754]
mov eax, dword [eax + 4]
add eax, dword [0x41f730]
mov dword [0x41f758], eax
call fcn.00407165
mov edi, dword [0x41f758]
mov ebx, dword [0x41f738]
mov esi, eax
jmp 0x406b33
mov al, byte [0x41f425]
mov byte [edi], al
mov edi, dword [0x41f734]
mov esi, dword [0x41f750]
jmp 0x406b33
mov eax, dword [0x41f738]
add eax, ebp
mov dword [0x41f758], eax
call fcn.00407165
mov esi, eax
mov ecx, esi
call fcn.004071fb
test eax, eax
mov ebx, dword [0x41f738]
jne 0x406c8a
mov edi, dword [0x41f758]
jmp 0x406b33
inc dword [0x41f758]
mov edi, dword [0x41f758]
mov esi, eax
jmp 0x406abd
mov eax, dword [0x41f738]
add eax, ebp
mov dword [0x41f758], eax
call fcn.00407165
mov edi, dword [0x41f758]
mov ebx, dword [0x41f738]
mov esi, eax
jmp 0x406abd
mov al, byte [esi + 1]
cmp al, byte [0x41f424]
jne case.0x406b84.6
mov edx, dword [0x41f754]
mov eax, ecx
mov dword [0x41f73c], 1
sub eax, dword [edx + 4]
sub eax, dword [0x41f410]
cmp dword [0x41f420], 0
mov dword [0x41f74c], eax
jle 0x406e6d
mov dword [0x41f75c], 3
jmp case.0x406b84.6
mov dl, byte [esi + 1]
push 1
pop eax
test dl, dl
je case.0x406b84.6
cmp dl, byte [0x41f424]
je 0x406e7c
mov dl, byte [esi + eax + 1]
inc eax
jmp 0x406d12
mov eax, dword [0x41f414]
lea eax, [eax + eax*2]
inc esi
push esi
lea ecx, [eax*4 + 0x41f428]
call fcn.00402f05
mov eax, dword [0x41f414]
lea eax, [eax + eax*2]
push 1
lea ecx, [eax*4 + 0x41f428]
call fcn.00403138
jmp 0x406d70
mov eax, dword [0x41f414]
lea eax, [eax + eax*2]
push esi
lea ecx, [eax*4 + 0x41f428]
call fcn.00402f05
inc dword [0x41f414]
mov eax, dword [0x41f414]
cmp eax, dword [0x41f420]
je 0x406ea6
jmp 0x406aa6
mov eax, dword [0x41f72c]
lea eax, [eax + eax*2]
inc esi
push esi
lea ecx, [eax*4 + 0x41f428]
call fcn.00402f05
mov eax, dword [0x41f72c]
push 1
pop esi
lea eax, [eax + eax*2]
push esi
lea ecx, [eax*4 + 0x41f428]
call fcn.00403138
mov ecx, dword [0x41f758]
mov eax, dword [0x41f754]
mov edx, ecx
sub edx, dword [0x41f410]
sub edx, dword [eax + 4]
mov dword [0x41f74c], edx
mov edx, ecx
sub edx, dword [eax + 4]
mov eax, dword [0x41f72c]
inc dword [0x41f72c]
cmp eax, dword [0x41f728]
mov dword [0x41f418], edx
je 0x406eb6
jmp case.0x406b84.6
mov eax, dword [0x41f72c]
lea eax, [eax + eax*2]
push esi
lea ecx, [eax*4 + 0x41f428]
call fcn.00402f05
mov ecx, dword [0x41f758]
mov eax, dword [0x41f754]
mov edx, ecx
sub edx, dword [0x41f410]
sub edx, dword [eax + 4]
mov dword [0x41f74c], edx
mov edx, ecx
sub edx, dword [eax + 4]
mov eax, dword [0x41f72c]
inc dword [0x41f72c]
cmp eax, dword [0x41f728]
mov dword [0x41f418], edx
je 0x406e9a
jmp case.0x406b84.6
push dword [0x41f764]
push 1
push dword [0x41f410]
push esi
call fcn.0040d736
add esp, 0x10
jmp 0x406aa6
add eax, 2
mov dword [0x41f418], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [0x41f754]
sub ecx, dword [edx + 4]
sub ecx, dword [0x41f410]
add ecx, eax
mov dword [0x41f74c], ecx
inc ecx
mov dword [0x41f418], ecx
mov dword [0x41f73c], 1
jmp case.0x406b84.3
mov eax, dword [0x41f758]
mov ecx, dword [0x41f754]
sub eax, dword [ecx + 4]
jmp 0x406e70
mov dword [0x41f73c], esi
jmp case.0x406b84.3
push str.fatal_flex_scanner_internal_error__no_action_found
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
inc ebx
insb byte es:[edi], dx
inc eax
add cl, al
insb byte es:[edi], dx
inc eax
add byte [ebp*2 + 0x6e750040], cl
inc eax
add byte [0x5b00406d], ch
insd dword es:[edi], dx
inc eax
add byte [edx + ebp*2 + 0x6d8c0040], ch
inc eax
add ch, bh
insd dword es:[edi], dx
inc eax
add byte [edx + ebp*2 + 0x6e510040], ch
inc eax
add byte [ebx + 0x7500406b], cl
outsb dx, byte [esi]
inc eax
add byte [ebp + 0x6e], dh
inc eax
add byte [ebx + 0x41f7540d], cl
add byte [ecx + 0x41f730], ah
mov edx, dword [0x41f738]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
lea edi, [esi + eax + 1]
mov eax, dword [0x41f758]
cmp eax, edi
jbe 0x406f56
push str.fatal_flex_scanner_internal_error__end_of_buffer_missed
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
cmp dword [ecx + 0x20], 0
jne 0x406f6e
sub eax, edx
xor ecx, ecx
cmp eax, 1
setne cl
inc ecx
mov eax, ecx
jmp 0x407161
mov edi, eax
sub edi, edx
dec edi
test edi, edi
jle 0x406f8d
mov eax, edi
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x406f79
mov ecx, dword [0x41f754]
mov eax, dword [0x41f758]
cmp dword [ecx + 0x24], 2
jne 0x406fa3
and dword [0x41f730], 0
and dword [ecx + 0x10], 0
jmp 0x4070fe
mov esi, dword [ecx + 0xc]
sub esi, edi
dec esi
test esi, esi
jg 0x40701a
sub eax, dword [ecx + 4]
cmp dword [ecx + 0x14], 0
lea esi, [ecx + 4]
mov ebx, eax
je 0x406fe3
mov eax, dword [ecx + 0xc]
lea edx, [eax + eax]
test edx, edx
jg 0x406fcc
mov edx, eax
shr edx, 3
add edx, eax
mov dword [ecx + 0xc], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi]
inc eax
inc eax
push eax
push ecx
call fcn.0040e258
pop ecx
pop ecx
mov dword [esi], eax
jmp 0x406fe6
and dword [esi], 0
mov esi, dword [esi]
test esi, esi
je 0x406ffc
mov ecx, dword [0x41f754]
lea eax, [esi + ebx]
mov dword [0x41f758], eax
jmp 0x406fa3
push str.fatal_error___scanner_input_buffer_overflow
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
mov eax, 0x2000
cmp esi, eax
jle 0x407025
mov esi, eax
xor ebx, ebx
cmp dword [ecx + 0x18], ebx
je 0x4070ab
test esi, esi
jle 0x4070a2
push dword [0x41f760]
call fcn.0040e24d
cmp eax, 0xffffffff
pop ecx
je 0x407059
cmp eax, 0xa
je 0x40705e
mov ecx, dword [0x41f754]
mov ecx, dword [ecx + 4]
add ecx, ebx
inc ebx
cmp ebx, esi
mov byte [ecx + edi], al
jl 0x407030
cmp eax, 0xa
jne 0x40706e
mov ecx, dword [0x41f754]
mov ecx, dword [ecx + 4]
add ecx, ebx
mov byte [ecx + edi], 0xa
inc ebx
cmp eax, 0xffffffff
jne 0x40709c
mov eax, dword [0x41f760]
test byte [eax + 0xc], 0x20
je 0x40709c
push str.input_in_flex_scanner_failed
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
mov ecx, dword [0x41f754]
mov eax, ebx
mov dword [0x41f730], eax
jmp 0x4070fb
push dword [0x41f760]
mov eax, dword [ecx + 4]
push esi
add eax, edi
push 1
push eax
call fcn.0040d61f
add esp, 0x10
cmp eax, ebx
mov dword [0x41f730], eax
jne 0x4070f5
mov ecx, dword [0x41f760]
test byte [ecx + 0xc], 0x20
je 0x4070f5
push str.input_in_flex_scanner_failed
push 0x41d03c
push 0x41e3b0
call fcn.0040e080
add esp, 0xc
push 2
call fcn.0040df8d
mov ecx, dword [0x41f754]
mov dword [ecx + 0x10], eax
xor esi, esi
cmp dword [0x41f730], esi
jne 0x407127
cmp edi, esi
jne 0x40711c
mov ecx, dword [0x41f760]
push 1
pop esi
call fcn.00407287
jmp 0x407127
mov eax, dword [0x41f754]
push 2
pop esi
mov dword [eax + 0x24], esi
add dword [0x41f730], edi
mov eax, dword [0x41f754]
mov eax, dword [eax + 4]
mov ecx, dword [0x41f730]
and byte [eax + ecx], 0
mov eax, dword [0x41f754]
mov eax, dword [eax + 4]
mov ecx, dword [0x41f730]
and byte [eax + ecx + 1], 0
mov eax, dword [0x41f754]
mov eax, dword [eax + 4]
mov dword [0x41f738], eax
mov eax, esi
pop edi
pop esi
pop ebx
ret
mov ecx, 0x41f740
mov dword [0x41f75c], 1
call fcn.0040320c
mov ecx, eax
call fcn.0040746e
jmp 0x406a3e