Function at 0x40a210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x43d25c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x43214c
lea eax, [ebp - 0x410]
push 2
push eax
call fcn.0041e9d0
push 0x40
lea ecx, [ebp - 0x410]
push 0x43215c
push ecx
call dword [sym.imp.MSVCR100.dll__fsopen]
mov edi, eax
add esp, 0x18
mov dword [ebp - 0x624], edi
test edi, edi
je 0x40a5c5
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
push esi
push edi
mov esi, 1
push esi
lea edx, [ebp - 0x614]
push 0x204
push edx
call ebx
add esp, 0x10
test eax, eax
je 0x40a29b
push edi
push 1
lea eax, [ebp - 0x614]
push 0x204
push eax
inc esi
call ebx
add esp, 0x10
test eax, eax
jne 0x40a282
imul esi, esi, 0x20c
push esi
call dword [sym.imp.MSVCR100.dll_malloc]
push edi
mov dword [0x44b434], eax
call dword [sym.imp.MSVCR100.dll_rewind]
mov ecx, dword [0x44b434]
push ecx
push 1
push 0x204
push edi
mov dword [ebp - 0x61c], 1
mov dword [0x4318b0], 0
call fcn.004200b0
add esp, 0x18
test eax, eax
je 0x40a5b9
jmp 0x40a2f0
mov edx, dword [0x4318b0]
imul edx, edx, 0x20c
add edx, dword [0x44b434]
push 4
push edx
call fcn.0041cbd0
add esp, 8
test eax, eax
jne 0x40a583
mov eax, dword [0x4318b0]
mov ecx, dword [0x44b434]
imul eax, eax, 0x20c
lea edx, [eax + ecx + 4]
push 0x200
push edx
call fcn.0041cbd0
add esp, 8
test eax, eax
jne 0x40a583
mov eax, dword [0x4318b0]
mov ecx, dword [0x44b434]
imul eax, eax, 0x20c
lea edx, [eax + ecx + 4]
push edx
push 0x200
lea eax, [ebp - 0x210]
push 0x432160
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [ebp - 0x210]
push 1
push ecx
call fcn.00420030
mov edx, dword [0x4318b0]
imul edx, edx, 0x20c
add edx, dword [0x44b434]
push 4
push edx
call fcn.00420180
add esp, 0x20
cmp dword [0x44b934], 0
je 0x40a3dc
lea ecx, [eax - 1]
cmp ecx, 0x270e
ja 0x40a583
mov ecx, eax
and ecx, 0x8000001f
jns 0x40a3bf
dec ecx
or ecx, 0xffffffe0
inc ecx
cdq
mov esi, 1
and edx, 0x1f
shl esi, cl
add eax, edx
sar eax, 5
and esi, dword [eax*4 + 0x44b450]
je 0x40a583
mov edx, dword [0x4318b0]
mov eax, dword [0x44b434]
imul edx, edx, 0x20c
lea ecx, [edx + eax + 0x204]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00409e50
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a4bd
mov eax, dword [0x4318b0]
mov ecx, dword [0x44b434]
imul eax, eax, 0x20c
mov edx, dword [eax + ecx + 0x204]
push edx
call fcn.00404aa0
push 0xc
mov dword [ebp - 0x618], eax
call dword [sym.imp.MSVCR100.dll_malloc]
push 0x20
mov ebx, eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov dword [ebx], eax
mov edx, dword [ebp - 0x618]
mov esi, dword [edx]
mov edi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x618]
push eax
call fcn.0041f160
lea ecx, [ebp - 0x618]
mov dword [ebp - 0x618], eax
mov edx, dword [ebx + 8]
push ecx
push edx
call fcn.00403e80
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x618]
push eax
push ecx
call fcn.00403e80
mov ecx, dword [0x44b434]
mov edi, dword [ebp - 0x624]
mov dword [ebx + 4], eax
mov eax, dword [0x4318b0]
mov edx, eax
imul edx, edx, 0x20c
add esp, 0x20
inc eax
mov dword [edx + ecx + 0x208], ebx
mov dword [0x4318b0], eax
jmp 0x40a588
mov edi, dword [sym.imp.MSVCR100.dll___iob_func]
push str.Encountered_equation_with_invalid_syntax__equation_ignored._n
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_fprintf]
add eax, 0x40
push eax
call ebx
lea edx, [ebp - 0x210]
push esi
push edx
call fcn.00404790
add esp, 0x10
push str.___Parameters_using_this_equation:_n
call edi
add eax, 0x40
push eax
call ebx
xor esi, esi
add esp, 8
mov dword [ebp - 0x620], esi
cmp dword [0x4318b4], esi
jle 0x40a573
jmp 0x40a510
mov eax, dword [0x4318b0]
mov ecx, dword [0x44b440]
imul eax, eax, 0x20c
add eax, dword [0x44b434]
push 4
push eax
lea edx, [esi + ecx + 0x24]
push edx
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40a558
mov eax, dword [0x44b440]
add eax, esi
lea ecx, [eax + 8]
push ecx
push eax
push str.________8.8s:__8.8s_n
call edi
add eax, 0x40
push eax
call ebx
add esp, 0x10
mov eax, dword [ebp - 0x620]
inc eax
add esi, 0xc9
mov dword [ebp - 0x620], eax
cmp eax, dword [0x4318b4]
jl 0x40a510
push 0x6e
call fcn.0040c090
mov edi, dword [ebp - 0x624]
add esp, 4
mov eax, dword [0x4318b0]
mov ecx, dword [ebp - 0x61c]
imul eax, eax, 0x20c
add eax, dword [0x44b434]
inc ecx
push eax
push ecx
push 0x204
push edi
mov dword [ebp - 0x61c], ecx
call fcn.004200b0
add esp, 0x10
test eax, eax
jne 0x40a2f0
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004248f0
mov esp, ebp
pop ebp
ret