Function at 0x40cb40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1388c
call fcn.00410030
push esi
push 0x64
push 0
push 0x436f30
call fcn.0040ed70
push 0x437000
push 0x64
push 0x436f30
call fcn.0040e93a
push str.program
push 0x64
push 0x436f30
call fcn.0040e99f
push str.Middle_Result.txt
push 0x64
push 0x436f30
call fcn.0040e99f
push 0x424584
lea eax, [esp + 0x38]
push 0x436f30
push eax
call fcn.0040ed1d
add esp, 0x3c
test eax, eax
je 0x40cbc8
push 0x40
push 0x424574
push 0x425b04
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.0040e61c
mov esi, 1
lea ecx, [ecx]
mov ecx, dword [esp + 4]
push ecx
call fcn.004102bd
add esp, 4
test eax, eax
jne 0x40cca9
mov eax, dword [esp + 4]
lea edx, [esp + esi*8 + 0x10]
push edx
push str.__lf
push eax
call fcn.0040ec3c
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + esi*8 + 0x11964]
push eax
push str.__lf__lf__lf_n
push ecx
call fcn.0040ec3c
lea edx, [esp + esi*8 + 0x1f70]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + esi*8 + 0xbbb4]
push eax
lea ecx, [esp + esi*8 + 0x7d38]
push ecx
push str.__lf__lf__lf_n
push edx
call fcn.0040ec3c
mov edx, dword [esp + 0x38]
lea eax, [esp + esi*8 + 0x3ec4]
push eax
lea ecx, [esp + esi*8 + 0xfa48]
push ecx
push 0x425ae0
push edx
call fcn.0040ec3c
mov ecx, dword [esp + 0x48]
add esp, 0x44
lea eax, [esp + esi*8 + 0x5dd0]
push eax
push str.__lf
push ecx
call fcn.0040ec3c
mov ecx, dword [esp + 0x10]
lea edx, [esp + esi*8 + 0xdadc]
push edx
lea eax, [esp + esi*8 + 0x9c60]
push eax
push 0x425ae0
push ecx
call fcn.0040ec3c
add esi, 1
add esp, 0x1c
cmp esi, 0x3e9
jl 0x40cbd0
mov edx, dword [esp + 4]
push edx
add esi, 0xffffffff
call fcn.0040ea83
fld qword [esp + 0x1c]
lea eax, [esi - 2]
add esp, 4
cmp eax, 4
mov ecx, 2
jl 0x40cd20
lea edx, [esi - 3]
fld qword [esp + ecx*8 + 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40ccde
fstp st(1)
jmp 0x40cce0
fstp st(0)
fld qword [esp + ecx*8 + 0x18]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40ccf1
fstp st(1)
jmp 0x40ccf3
fstp st(0)
fld qword [esp + ecx*8 + 0x20]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd04
fstp st(1)
jmp 0x40cd06
fstp st(0)
fld qword [esp + ecx*8 + 0x28]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd17
fstp st(1)
jmp 0x40cd19
fstp st(0)
add ecx, 4
cmp ecx, edx
jl 0x40cccd
cmp ecx, esi
jge 0x40cd3e
fld qword [esp + ecx*8 + 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40cd35
fstp st(1)
jmp 0x40cd37
fstp st(0)
add ecx, 1
cmp ecx, esi
jl 0x40cd24
mov ecx, 1
cmp esi, ecx
jl 0x40cdd2
fld qword [esp + ecx*8 + 0x10]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x40cd6a
add ecx, 1
cmp ecx, esi
jle 0x40cd4b
fstp qword [0x437708]
pop esi
mov esp, ebp
pop ebp
ret
fld qword [esp + ecx*8 + 0x7d10]
fstp qword [0x437390]
fld qword [esp + ecx*8 + 0xbb90]
fstp qword [0x4373c0]
fld qword [esp + ecx*8 + 0x1f50]
fstp qword [0x4374e0]
fld qword [esp + ecx*8 + 0xfa10]
fstp qword [0x4371d8]
fld qword [esp + ecx*8 + 0x3e90]
fstp qword [0x4371a8]
fld qword [esp + ecx*8 + 0x5dd0]
fstp qword [0x437178]
fld qword [esp + ecx*8 + 0x9c50]
fstp qword [0x437358]
fld qword [esp + ecx*8 + 0xdad0]
fstp qword [0x437500]
fstp qword [0x437708]
pop esi
mov esp, ebp
pop ebp
ret