Function at 0x401460
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x22d0
call fcn.00402490
sub esp, eax
call sym.___main
fldz
fstp dword [esp + 0x22cc]
fldz
fstp dword [esp + 0x22c8]
mov dword [esp], str.e_2J
call sym._printf
mov dword [esp + 8], 0x6e0
mov dword [esp + 4], 0x20
lea eax, [esp + 0x20]
mov dword [esp], eax
call sym._memset
mov dword [esp + 8], 0x1b80
mov dword [esp + 4], 0
lea eax, [esp + 0x700]
mov dword [esp], eax
call sym._memset
fldz
fstp dword [esp + 0x22c0]
jmp 0x40182a
fldz
fstp dword [esp + 0x22c4]
jmp 0x4017fc
fld dword [esp + 0x22c4]
fstp qword [esp]
call sym._sin
fstp dword [esp + 0x22b8]
fld dword [esp + 0x22c0]
fstp qword [esp]
call sym._cos
fstp dword [esp + 0x22b4]
fld dword [esp + 0x22cc]
fstp qword [esp]
call sym._sin
fstp dword [esp + 0x22b0]
fld dword [esp + 0x22c0]
fstp qword [esp]
call sym._sin
fstp dword [esp + 0x22ac]
fld dword [esp + 0x22cc]
fstp qword [esp]
call sym._cos
fstp dword [esp + 0x22a8]
fld dword [esp + 0x22b4]
fld dword [0x406084]
faddp st(1)
fstp dword [esp + 0x22a4]
fld dword [esp + 0x22b8]
fmul dword [esp + 0x22a4]
fmul dword [esp + 0x22b0]
fld dword [esp + 0x22ac]
fmul dword [esp + 0x22a8]
faddp st(1)
fld dword [0x406088]
faddp st(1)
fld1
fdivrp st(1)
fstp dword [esp + 0x22a0]
fld dword [esp + 0x22c4]
fstp qword [esp]
call sym._cos
fstp dword [esp + 0x229c]
fld dword [esp + 0x22c8]
fstp qword [esp]
call sym._cos
fstp dword [esp + 0x2298]
fld dword [esp + 0x22c8]
fstp qword [esp]
call sym._sin
fstp dword [esp + 0x2294]
fld dword [esp + 0x22b8]
fmul dword [esp + 0x22a4]
fmul dword [esp + 0x22a8]
fld dword [esp + 0x22ac]
fmul dword [esp + 0x22b0]
fsubp st(1)
fstp dword [esp + 0x2290]
fld dword [esp + 0x22a0]
fld dword [0x40608c]
fmulp st(1)
fld dword [esp + 0x229c]
fmul dword [esp + 0x22a4]
fmul dword [esp + 0x2298]
fld dword [esp + 0x2290]
fmul dword [esp + 0x2294]
fsubp st(1)
fmulp st(1)
fld dword [0x406090]
faddp st(1)
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
mov ah, 0xc
mov word [esp + 0x18], ax
fldcw word [esp + 0x18]
fistp dword [esp + 0x228c]
fldcw word [esp + 0x1a]
fld dword [esp + 0x22a0]
fld dword [0x406094]
fmulp st(1)
fld dword [esp + 0x229c]
fmul dword [esp + 0x22a4]
fmul dword [esp + 0x2294]
fld dword [esp + 0x2290]
fmul dword [esp + 0x2298]
faddp st(1)
fmulp st(1)
fld dword [0x406098]
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x2288]
fldcw word [esp + 0x1a]
mov edx, dword [esp + 0x2288]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 4
mov edx, eax
mov eax, dword [esp + 0x228c]
add eax, edx
mov dword [esp + 0x2284], eax
fld dword [esp + 0x22ac]
fmul dword [esp + 0x22b0]
fld dword [esp + 0x22b8]
fmul dword [esp + 0x22b4]
fmul dword [esp + 0x22a8]
fsubp st(1)
fmul dword [esp + 0x2298]
fld dword [esp + 0x22b8]
fmul dword [esp + 0x22b4]
fmul dword [esp + 0x22b0]
fsubp st(1)
fld dword [esp + 0x22ac]
fmul dword [esp + 0x22a8]
fsubp st(1)
fld dword [esp + 0x229c]
fmul dword [esp + 0x22b4]
fmul dword [esp + 0x2294]
fsubp st(1)
fld dword [0x40609c]
fmulp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x2280]
fldcw word [esp + 0x1a]
cmp dword [esp + 0x2288], 0x15
jg 0x4017e6
cmp dword [esp + 0x2288], 0
jle 0x4017e6
cmp dword [esp + 0x228c], 0
jle 0x4017e6
cmp dword [esp + 0x228c], 0x4f
jg 0x4017e6
mov eax, dword [esp + 0x2284]
fld dword [esp + eax*4 + 0x700]
fld dword [esp + 0x22a0]
fucompp
fnstsw ax
sahf
jbe 0x4017e6
mov eax, dword [esp + 0x2284]
fld dword [esp + 0x22a0]
fstp dword [esp + eax*4 + 0x700]
mov eax, dword [esp + 0x2280]
sar eax, 0x1f
not eax
and eax, dword [esp + 0x2280]
movzx eax, byte [eax + str..__:____]
lea ecx, [esp + 0x20]
mov edx, dword [esp + 0x2284]
add edx, ecx
mov byte [edx], al
fld dword [esp + 0x22c4]
fld qword [0x4060a0]
faddp st(1)
fstp dword [esp + 0x22c4]
fld dword [esp + 0x22c4]
fld qword [0x4060a8]
fucompp
fnstsw ax
sahf
ja 0x4014ec
fld dword [esp + 0x22c0]
fld qword [0x4060b0]
faddp st(1)
fstp dword [esp + 0x22c0]
fld dword [esp + 0x22c0]
fld qword [0x4060a8]
fucompp
fnstsw ax
sahf
ja 0x4014de
mov dword [esp], 0x40606d
call sym._printf
mov dword [esp + 0x22bc], 0
jmp 0x4018e0
mov ecx, dword [esp + 0x22bc]
mov edx, 0x66666667
mov eax, ecx
imul edx
sar edx, 5
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 4
sub ecx, eax
mov edx, ecx
test edx, edx
je 0x40189f
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x22bc]
add eax, edx
movzx eax, byte [eax]
movsx eax, al
jmp 0x4018a4
mov eax, 0xa
mov dword [esp], eax
call sym._putchar
fld dword [esp + 0x22cc]
fld qword [0x4060b8]
faddp st(1)
fstp dword [esp + 0x22cc]
fld dword [esp + 0x22c8]
fld qword [0x4060c0]
faddp st(1)
fstp dword [esp + 0x22c8]
add dword [esp + 0x22bc], 1
cmp dword [esp + 0x22bc], 0x6e0
jle 0x40185e
mov dword [esp], 0x406071
call sym._system
jmp 0x401495