Function at 0x41efb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x631e0c]
mov eax, dword [0x631e08]
mov edx, dword [0x6345a8]
inc eax
push ebx
mov ebx, dword [0x631e10]
push esi
push edi
mov edi, dword [ebx + ecx*4]
mov esi, dword [edi + 4]
add eax, esi
mov dword [ebp - 8], esi
mov esi, dword [0x631df8]
cmp esi, eax
ja 0x41f305
cmp dword [edi + 0x28], 0
jne 0x41f003
sub esi, edx
dec esi
neg esi
sbb esi, esi
neg esi
lea eax, [esi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
sub edi, edx
dec edi
mov dword [ebp - 4], edi
test edi, edi
jle 0x41f030
mov ebx, dword [ebp - 8]
mov ecx, edi
mov al, byte [edx]
lea ebx, [ebx + 1]
mov byte [ebx - 1], al
lea edx, [edx + 1]
sub ecx, 1
jne 0x41f014
mov ebx, dword [0x631e10]
mov ecx, dword [0x631e0c]
mov eax, dword [ebx + ecx*4]
cmp dword [eax + 0x2c], 2
jne 0x41f049
xor esi, esi
mov dword [0x631e08], esi
mov dword [eax + 0x10], esi
jmp 0x41f23e
mov edi, dword [eax + 0xc]
sub edi, dword [ebp - 4]
dec edi
test edi, edi
jg 0x41f0b7
mov edi, dword [ebx + ecx*4]
mov ebx, dword [edi + 4]
sub esi, ebx
cmp dword [edi + 0x14], 0
je 0x41f30f
mov ecx, dword [edi + 0xc]
lea eax, [ecx + ecx]
test eax, eax
jg 0x41f07d
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
lea edx, [eax + 2]
mov dword [edi + 0xc], eax
mov ecx, ebx
call fcn.0041f970
mov dword [edi + 4], eax
test eax, eax
je 0x41f316
mov ebx, dword [0x631e10]
add esi, eax
mov ecx, dword [0x631e0c]
mov dword [0x631df8], esi
mov eax, dword [ebx + ecx*4]
mov edi, dword [eax + 0xc]
sub edi, dword [ebp - 4]
dec edi
test edi, edi
jle 0x41f054
mov eax, 0x2000
cmp edi, eax
cmovg edi, eax
mov eax, dword [ebx + ecx*4]
cmp dword [eax + 0x18], 0
je 0x41f174
xor esi, esi
test edi, edi
jle 0x41f169
nop dword [eax + eax]
push dword [0x61c020]
call fcn.00499ce5
mov ebx, dword [0x631e10]
mov edx, eax
mov ecx, dword [0x631e0c]
add esp, 4
cmp edx, 0xffffffff
je 0x41f11f
cmp edx, 0xa
je 0x41f11f
mov eax, dword [ebx + ecx*4]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, esi
inc esi
mov byte [eax + ebx], dl
mov ebx, dword [0x631e10]
cmp esi, edi
jl 0x41f0e0
mov eax, esi
cmp edx, 0xa
jne 0x41f140
mov eax, dword [ebx + ecx*4]
mov edi, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, esi
inc esi
mov dword [0x631e08], esi
mov byte [eax + edi], dl
jmp 0x41f231
mov esi, eax
cmp edx, 0xffffffff
jne 0x41f169
push dword [0x61c020]
call fcn.00498778
add esp, 4
test eax, eax
jne 0x41f320
mov ebx, dword [0x631e10]
mov ecx, dword [0x631e0c]
mov dword [0x631e08], esi
jmp 0x41f231
call fcn.00495b25
mov ecx, dword [0x631e10]
push dword [0x61c020]
mov ebx, dword [ebp - 4]
mov dword [eax], 0
mov eax, dword [0x631e0c]
push edi
push 1
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 4]
add eax, ebx
push eax
call fcn.0049a1c8
mov esi, eax
add esp, 0x10
mov dword [0x631e08], esi
test esi, esi
jne 0x41f225
push dword [0x61c020]
call fcn.00498778
add esp, 4
test eax, eax
je 0x41f21f
call fcn.00495b25
cmp dword [eax], 4
jne 0x41f320
call fcn.00495b25
push dword [0x61c020]
mov dword [eax], 0
call fcn.0049982a
mov ecx, dword [0x631e10]
add esp, 4
mov eax, dword [0x631e0c]
push dword [0x61c020]
mov eax, dword [ecx + eax*4]
push edi
push 1
mov eax, dword [eax + 4]
add eax, ebx
push eax
call fcn.0049a1c8
mov esi, eax
add esp, 0x10
mov dword [0x631e08], esi
test esi, esi
je 0x41f1b3
jmp 0x41f225
mov esi, dword [0x631e08]
mov ebx, dword [0x631e10]
mov ecx, dword [0x631e0c]
mov eax, dword [ebx + ecx*4]
mov edi, dword [ebp - 4]
mov dword [eax + 0x10], esi
test esi, esi
jne 0x41f275
test edi, edi
jne 0x41f262
mov dword [ebp - 8], 1
call fcn.0041f570
mov ebx, dword [0x631e10]
mov esi, dword [0x631e08]
mov ecx, dword [0x631e0c]
jmp 0x41f27c
mov eax, dword [ebx + ecx*4]
mov dword [ebp - 8], 2
mov dword [eax + 0x2c], 2
jmp 0x41f27c
mov dword [ebp - 8], 0
mov edx, dword [ebx + ecx*4]
lea eax, [esi + edi]
cmp eax, dword [edx + 0xc]
jle 0x41f2cb
mov ecx, dword [ebx + ecx*4]
mov eax, esi
sar eax, 1
add eax, esi
add eax, edi
mov ecx, dword [ecx + 4]
mov edx, eax
mov dword [ebp - 0xc], eax
call fcn.0041f970
mov ebx, dword [0x631e10]
mov esi, dword [0x631e0c]
mov ecx, dword [ebx + esi*4]
mov dword [ecx + 4], eax
mov ecx, esi
mov edx, dword [ebx + ecx*4]
cmp dword [edx + 4], 0
je 0x41f32a
mov eax, dword [ebp - 0xc]
mov esi, dword [0x631e08]
add eax, 0xfffffffe
mov dword [edx + 0xc], eax
mov ecx, dword [ebx + ecx*4]
lea edx, [esi + edi]
mov esi, dword [0x631e0c]
mov eax, dword [ebp - 8]
pop edi
mov ecx, dword [ecx + 4]
mov dword [0x631e08], edx
mov byte [edx + ecx], 0
mov ecx, dword [ebx + esi*4]
mov ecx, dword [ecx + 4]
mov byte [ecx + edx + 1], 0
mov ecx, dword [ebx + esi*4]
pop esi
pop ebx
mov ecx, dword [ecx + 4]
mov dword [0x6345a8], ecx
mov esp, ebp
pop ebp
ret
mov ecx, str.fatal_flex_scanner_internal_error__end_of_buffer_missed
call fcn.0041f880
mov dword [edi + 4], 0
mov ecx, str.fatal_error___scanner_input_buffer_overflow
call fcn.0041f880
mov ecx, str.input_in_flex_scanner_failed
call fcn.0041f880
mov ecx, str.out_of_dynamic_memory_in_yy_get_next_buffer__
call fcn.0041f880
int3