Function at 0x40ade0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4e44
call fcn.004100c0
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov esi, str.T_TableA1.txt
je 0x40ae03
mov esi, str.T_TableA2.txt
push 0x64
push 0
push 0x436f38
call fcn.0040ee00
push 0x437008
push 0x64
push 0x436f38
call fcn.0040e9ca
push str.program_
push 0x64
push 0x436f38
call fcn.0040ea2f
push esi
push 0x64
push 0x436f38
call fcn.0040ea2f
push 0x424584
lea eax, [esp + 0x58]
push 0x436f38
push eax
call fcn.0040edad
add esp, 0x3c
test eax, eax
je 0x40ae76
push 0x40
push 0x424574
push 0x4252e0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e6ae
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push edx
push str._lf__lf
push eax
call fcn.0040eccc
fld qword [esp + 0x38]
fcomp qword [0x424308]
add esp, 0x10
mov dword [esp + 0x14], 0
fnstsw ax
test ah, 0x41
jne 0x40af12
fld qword [esp + 0x18]
lea ebx, [esp + 0x30]
fcom qword [0x424308]
xor edi, edi
fnstsw ax
test ah, 0x41
jne 0x40aef6
mov esi, ebx
mov ecx, dword [esp + 0x24]
fstp st(0)
push esi
push 0x4252d8
push ecx
call fcn.0040eccc
add edi, 1
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
add esp, 0xc
fld qword [esp + 0x18]
add esi, 8
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x40aec4
add dword [esp + 0x14], 1
fild dword [esp + 0x14]
add ebx, 0x190
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x40aeb3
fstp st(0)
mov edx, dword [esp + 0x24]
push edx
call fcn.0040eb13
fld qword [esp + 0x2c]
fld1
add esp, 4
fcom st(1)
mov ecx, 1
fnstsw ax
fld qword [ebp + 0x14]
test ah, 5
jp 0x40af8d
fldz
lea edx, [esp + 0x1c0]
fld st(1)
fsub qword [edx]
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x40af6e
add ecx, 1
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
add edx, 0x190
fcomp st(4)
fnstsw ax
test ah, 5
jnp 0x40af3f
fstp st(3)
fld qword [esp + 0x18]
jmp 0x40af99
mov eax, ecx
fstp st(3)
imul eax, eax, 0x190
fld qword [esp + eax + 0x30]
fstp qword [esp + 0x28]
fld qword [esp + eax - 0x160]
lea eax, [esp + eax + 0x30]
jmp 0x40af9d
fstp st(2)
fld qword [esp + 0x18]
fldz
fxch st(3)
fxch st(1)
mov ecx, dword [esp + 0x10]
fld qword [esp + 0x18]
mov edx, 1
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 0x41
fld qword [ebp + 0xc]
jne 0x40afd7
fld st(0)
fsub qword [esp + edx*8 + 0x30]
fcomp st(5)
fnstsw ax
test ah, 0x41
jnp 0x40b039
add edx, 1
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fcomp st(4)
fnstsw ax
test ah, 5
jnp 0x40afb4
fstp st(3)
fstp st(3)
fld qword [esp + 0x18]
mov edx, dword [esp + 0x10]
imul ecx, ecx, 0x32
lea eax, [ecx + edx]
pop edi
pop esi
fld qword [esp + eax*8 - 0x170]
pop ebx
fld qword [esp + eax*8 - 0x16c]
lea eax, [esp + eax*8 + 0x24]
fld qword [esp + 0x1c]
fsub st(6)
fxch st(4)
fsubrp st(6)
fld qword [eax - 8]
fsub st(2)
fdiv st(4)
fmul st(6)
faddp st(2)
fld qword [eax]
fsub st(1)
fdivrp st(4)
fxch st(3)
fmulp st(5)
fxch st(4)
faddp st(2)
fxch st(1)
fsub st(3)
fld qword [esp + 0xc]
fsub st(2)
fdivp st(1)
fxch st(2)
fsubrp st(1)
fmulp st(1)
faddp st(1)
mov esp, ebp
pop ebp
ret
fstp st(3)
mov dword [esp + 0x10], edx
fstp st(3)
fld qword [esp + edx*8 + 0x30]
fstp qword [esp + 0x18]
fld qword [esp + edx*8 + 0x28]
jmp 0x40afdf