Function at 0x40cb90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2710c
call fcn.004100c0
push esi
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 str.Middle_Result.txt
push 0x64
push 0x436f38
call fcn.0040ea2f
push 0x424584
lea eax, [esp + 0x38]
push 0x436f38
push eax
call fcn.0040edad
add esp, 0x3c
test eax, eax
je 0x40cc18
push 0x40
push 0x424574
push 0x425b04
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e6ae
mov ecx, dword [esp + 4]
push ecx
mov esi, 1
call fcn.0041034d
add esp, 4
test eax, eax
jne 0x40cd07
mov eax, dword [esp + 4]
lea edx, [esp + esi*8 + 0xfa10]
push edx
push str.__lf
push eax
call fcn.0040eccc
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + esi*8 + 0x232a4]
push eax
push str.__lf__lf__lf_n
push ecx
call fcn.0040eccc
lea edx, [esp + esi*8 + 0x30]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + esi*8 + 0x17734]
push eax
lea ecx, [esp + esi*8 + 0x7d38]
push ecx
push str.__lf__lf__lf_n
push edx
call fcn.0040eccc
mov edx, dword [esp + 0x38]
lea eax, [esp + esi*8 + 0x3ec4]
push eax
lea ecx, [esp + esi*8 + 0x1f448]
push ecx
push 0x425ae0
push edx
call fcn.0040eccc
mov ecx, dword [esp + 0x48]
add esp, 0x44
lea eax, [esp + esi*8 + 0xbb90]
push eax
push str.__lf
push ecx
call fcn.0040eccc
mov ecx, dword [esp + 0x10]
lea edx, [esp + esi*8 + 0x1b59c]
push edx
lea eax, [esp + esi*8 + 0x138a0]
push eax
push 0x425ae0
push ecx
call fcn.0040eccc
add esi, 1
add esp, 0x1c
cmp esi, 0x7d0
jge 0x40cd07
mov edx, dword [esp + 4]
push edx
call fcn.0041034d
add esp, 4
test eax, eax
je 0x40cc32
mov eax, dword [esp + 4]
push eax
add esi, 0xffffffff
call fcn.0040eb13
fld qword [esp + 0xfa1c]
lea edx, [esi - 2]
add esp, 4
cmp edx, 4
mov ecx, 2
jl 0x40cd8d
lea edx, [esi - 3]
fld qword [esp + ecx*8 + 0xfa10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd42
fstp st(1)
jmp 0x40cd44
fstp st(0)
fld qword [esp + ecx*8 + 0xfa18]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd58
fstp st(1)
jmp 0x40cd5a
fstp st(0)
fld qword [esp + ecx*8 + 0xfa20]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd6e
fstp st(1)
jmp 0x40cd70
fstp st(0)
fld qword [esp + ecx*8 + 0xfa28]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd84
fstp st(1)
jmp 0x40cd86
fstp st(0)
add ecx, 4
cmp ecx, edx
jl 0x40cd2e
cmp ecx, esi
jge 0x40cdae
fld qword [esp + ecx*8 + 0xfa10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cda5
fstp st(1)
jmp 0x40cda7
fstp st(0)
add ecx, 1
cmp ecx, esi
jl 0x40cd91
mov ecx, 1
cmp esi, ecx
jl 0x40ce42
fld qword [esp + ecx*8 + 0xfa10]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x40cddd
add ecx, 1
cmp ecx, esi
jle 0x40cdbb
fstp qword [0x437710]
pop esi
mov esp, ebp
pop ebp
ret
fld qword [esp + ecx*8 + 0x7d10]
fstp qword [0x437398]
fld qword [esp + ecx*8 + 0x17710]
fstp qword [0x4373c8]
fld qword [esp + ecx*8 + 0x10]
fstp qword [0x4374e8]
fld qword [esp + ecx*8 + 0x1f410]
fstp qword [0x4371e0]
fld qword [esp + ecx*8 + 0x3e90]
fstp qword [0x4371b0]
fld qword [esp + ecx*8 + 0xbb90]
fstp qword [0x437180]
fld qword [esp + ecx*8 + 0x13890]
fstp qword [0x437360]
fld qword [esp + ecx*8 + 0x1b590]
fstp qword [0x437508]
fstp qword [0x437710]
pop esi
mov esp, ebp
pop ebp
ret