Function at 0x4a4350
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x24]
mov edi, dword [esi + 0x50]
mov edx, dword [eax + ecx*4]
mov eax, dword [esi + 0x1c]
inc eax
mov ecx, dword [edx + 4]
add eax, ecx
cmp ebx, eax
ja 0x4a463a
sub ebx, edi
cmp dword [edx + 0x28], 0
jne 0x4a4395
dec ebx
neg ebx
pop edi
sbb ebx, ebx
neg ebx
pop esi
lea eax, [ebx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
dec ebx
je 0x4a43ac
sub edi, ecx
mov edx, ebx
lea esp, [esp]
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edx
jne 0x4a43a0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov edi, dword [eax + ecx*4]
cmp dword [edi + 0x2c], 2
jne 0x4a43d1
mov dword [esi + 0x1c], 0
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x10], 0
jmp 0x4a4583
mov edx, dword [edi + 0xc]
sub edx, ebx
dec edx
jne 0x4a4442
lea esp, [esp]
mov ecx, dword [esi + 0x24]
mov edx, dword [edi + 4]
sub ecx, edx
cmp dword [edi + 0x14], 0
mov dword [ebp - 8], ecx
je 0x4a441a
mov ecx, dword [edi + 0xc]
lea eax, [ecx + ecx]
test eax, eax
jne 0x4a4402
mov eax, ecx
shr eax, 3
add eax, ecx
mov dword [edi + 0xc], eax
add eax, 2
push eax
push edx
call fcn.004bb52a
mov ecx, dword [ebp - 8]
add esp, 8
mov dword [edi + 4], eax
jmp 0x4a4421
mov dword [edi + 4], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x4a4645
add eax, ecx
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi + 0xc]
sub edx, ebx
dec edx
je 0x4a43e0
mov ecx, dword [esi + 0xc]
mov eax, 0x2000
cmp edx, eax
cmova edx, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 8], edx
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x18], 0
je 0x4a44ee
xor ecx, ecx
mov dword [ebp - 4], ecx
test edx, edx
je 0x4a44e6
mov edi, edx
lea ecx, [ecx]
push dword [esi + 4]
call fcn.004bb0e6
mov edx, eax
add esp, 4
mov dword [ebp - 8], edx
cmp edx, 0xffffffff
je 0x4a44ab
cmp edx, 0xa
je 0x4a44b3
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 4]
add eax, ecx
inc ecx
mov dword [ebp - 4], ecx
mov byte [eax + ebx], dl
cmp ecx, edi
jb 0x4a4470
jmp 0x4a44ae
mov ecx, dword [ebp - 4]
cmp edx, 0xa
jne 0x4a44cb
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 4]
add eax, ecx
inc ecx
mov dword [ebp - 4], ecx
mov byte [eax + ebx], dl
cmp edx, 0xffffffff
jne 0x4a44e6
push dword [esi + 4]
call fcn.004c2a09
add esp, 4
test eax, eax
jne 0x4a4650
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], ecx
jmp 0x4a4574
call fcn.004bf304
mov edi, dword [ebp - 8]
mov dword [eax], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
push dword [esi + 4]
push edi
mov eax, dword [eax + ecx*4]
push 1
mov eax, dword [eax + 4]
add eax, ebx
push eax
call fcn.004c1dfb
add esp, 0x10
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x4a4574
push dword [esi + 4]
call fcn.004c2a09
add esp, 4
test eax, eax
je 0x4a4574
call fcn.004bf304
cmp dword [eax], 4
jne 0x4a4650
call fcn.004bf304
mov dword [eax], 0
push dword [esi + 4]
call fcn.004c2939
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
push dword [esi + 4]
push edi
mov eax, dword [eax + ecx*4]
push 1
mov eax, dword [eax + 4]
add eax, ebx
push eax
call fcn.004c1dfb
add esp, 0x14
mov dword [esi + 0x1c], eax
test eax, eax
je 0x4a4520
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x10], eax
cmp dword [esi + 0x1c], 0
jne 0x4a45b1
test ebx, ebx
jne 0x4a459e
push esi
push dword [esi + 4]
lea edi, [ebx + 1]
call fcn.004a40d0
add esp, 8
jmp 0x4a45b3
mov ecx, dword [esi + 0xc]
mov edi, 2
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ecx*4]
mov dword [eax + 0x2c], edi
jmp 0x4a45b3
xor edi, edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea edx, [eax + ecx*4]
mov ecx, dword [esi + 0x1c]
mov esi, dword [edx]
lea eax, [ecx + ebx]
cmp eax, dword [esi + 0xc]
mov esi, dword [ebp + 8]
jbe 0x4a45ff
mov eax, ecx
shr eax, 1
add eax, ecx
add eax, ebx
push eax
mov eax, dword [edx]
push dword [eax + 4]
call fcn.004bb52a
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0xc]
lea edx, [eax + ecx*4]
mov eax, dword [edx]
cmp dword [eax + 4], 0
je 0x4a465b
add dword [esi + 0x1c], ebx
mov eax, dword [edx]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax + 4]
mov byte [ecx + eax], 0
mov eax, edi
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
pop edi
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0x1c]
mov byte [edx + ecx + 1], 0
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edx*4]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x50], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.fatal_flex_scanner_internal_error__end_of_buffer_missed
push esi
call fcn.004a2d00
push str.fatal_error___scanner_input_buffer_overflow
push esi
call fcn.004a2d00
push str.input_in_flex_scanner_failed
push esi
call fcn.004a2d00
push str.out_of_dynamic_memory_in_yy_get_next_buffer__
push esi
call fcn.004a2d00
int3